[BACK]Return to getcap.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/getcap.c between version 1.17 and 1.18

version 1.17, 1998/02/26 02:40:11 version 1.18, 1998/03/02 23:39:49
Line 85  static char *toprec; /* Additional recor
Line 85  static char *toprec; /* Additional recor
 static int       gottoprec;     /* Flag indicating retrieval of toprecord */  static int       gottoprec;     /* Flag indicating retrieval of toprecord */
   
 static int      cdbget __P((DB *, char **, char *));  static int      cdbget __P((DB *, char **, char *));
 static int      getent __P((char **, u_int *, char **, int, char *, int, char *));  static int      getent __P((char **, size_t *, char **, int, char *, int, char *));
 static int      nfcmp __P((char *, char *));  static int      nfcmp __P((char *, char *));
   
 /*  /*
Line 182  int
Line 182  int
 cgetent(buf, db_array, name)  cgetent(buf, db_array, name)
         char **buf, **db_array, *name;          char **buf, **db_array, *name;
 {  {
         u_int dummy;          size_t dummy;
   
         return (getent(buf, &dummy, db_array, -1, name, 0, NULL));          return (getent(buf, &dummy, db_array, -1, name, 0, NULL));
 }  }
Line 665  cgetnext(bp, db_array)
Line 665  cgetnext(bp, db_array)
         size_t len;          size_t len;
         int status, done;          int status, done;
         char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];          char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
         u_int dummy;          size_t dummy;
   
         if (dbp == NULL)          if (dbp == NULL)
                 dbp = db_array;                  dbp = db_array;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

CVSweb <webmaster@jp.NetBSD.org>