[BACK]Return to yp_master.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_master.c between version 1.7 and 1.8

version 1.7, 1997/07/13 20:28:13 version 1.8, 1997/07/21 14:09:28
Line 36 
Line 36 
 __RCSID("$NetBSD$");  __RCSID("$NetBSD$");
 #endif  #endif
   
   #include "namespace.h"
 #include <string.h>  #include <string.h>
 #include <stdlib.h>  #include <stdlib.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_master,_yp_master);
   #endif
   
 int  int
 yp_master(indomain, inmap, outname)  yp_master(indomain, inmap, outname)
         const char     *indomain;          const char     *indomain;
Line 92  again:
Line 97  again:
                         r = YPERR_RESRC;                          r = YPERR_RESRC;
         }          }
         xdr_free(xdr_ypresp_master, (char *) &yprm);          xdr_free(xdr_ypresp_master, (char *) &yprm);
         _yp_unbind(ysd);          __yp_unbind(ysd);
         if (r != 0) {          if (r != 0) {
                 if (*outname) {                  if (*outname) {
                         free(*outname);                          free(*outname);

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

CVSweb <webmaster@jp.NetBSD.org>