[BACK]Return to yp_first.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / yp

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/yp/yp_first.c between version 1.7 and 1.8

version 1.7, 1997/07/13 20:28:11 version 1.8, 1997/07/21 14:09:26
Line 36 
Line 36 
 __RCSID("$NetBSD$");  __RCSID("$NetBSD$");
 #endif  #endif
   
   #include "namespace.h"
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <rpc/rpc.h>  #include <rpc/rpc.h>
Line 46  __RCSID("$NetBSD$");
Line 47  __RCSID("$NetBSD$");
 extern struct timeval _yplib_timeout;  extern struct timeval _yplib_timeout;
 extern int _yplib_nerrs;  extern int _yplib_nerrs;
   
   #ifdef __weak_alias
   __weak_alias(yp_first,_yp_first);
   __weak_alias(yp_next,_yp_next);
   #endif
   
 int  int
 yp_first(indomain, inmap, outkey, outkeylen, outval, outvallen)  yp_first(indomain, inmap, outkey, outkeylen, outval, outvallen)
         const char     *indomain;          const char     *indomain;
Line 106  again:
Line 112  again:
                 }                  }
         }          }
         xdr_free(xdr_ypresp_key_val, (char *) &yprkv);          xdr_free(xdr_ypresp_key_val, (char *) &yprkv);
         _yp_unbind(ysd);          __yp_unbind(ysd);
         if (r != 0) {          if (r != 0) {
                 if (*outkey) {                  if (*outkey) {
                         free(*outkey);                          free(*outkey);
Line 185  again:
Line 191  again:
                 }                  }
         }          }
         xdr_free(xdr_ypresp_key_val, (char *) &yprkv);          xdr_free(xdr_ypresp_key_val, (char *) &yprkv);
         _yp_unbind(ysd);          __yp_unbind(ysd);
         if (r != 0) {          if (r != 0) {
                 if (*outkey) {                  if (*outkey) {
                         free(*outkey);                          free(*outkey);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>