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

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

Diff for /src/lib/libc/gen/getnetgrent.c between version 1.11.2.1 and 1.11.2.2

version 1.11.2.1, 1997/05/24 04:51:54 version 1.11.2.2, 1997/05/26 16:33:34
Line 286  lookup(name, line, bywhat)
Line 286  lookup(name, line, bywhat)
         int             r;          int             r;
         static ns_dtab  dtab;          static ns_dtab  dtab;
   
         NS_FILES_CB(dtab, _local_lookup, NULL);          if (dtab[NS_FILES].cb == NULL) {
         NS_NIS_CB(dtab, _nis_lookup, NULL);                  NS_FILES_CB(dtab, _local_lookup, NULL);
                   NS_NIS_CB(dtab, _nis_lookup, NULL);
           }
   
         r = nsdispatch(NULL, dtab, NSDB_NETGROUP, name, line, bywhat);          r = nsdispatch(NULL, dtab, NSDB_NETGROUP, name, line, bywhat);
         return (r == NS_SUCCESS) ? 1 : 0;          return (r == NS_SUCCESS) ? 1 : 0;

Legend:
Removed from v.1.11.2.1  
changed lines
  Added in v.1.11.2.2

CVSweb <webmaster@jp.NetBSD.org>