[BACK]Return to fstab.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/fstab.c between version 1.29 and 1.29.2.1

version 1.29, 2011/10/15 23:00:01 version 1.29.2.1, 2012/04/17 00:05:18
Line 63  static size_t _fs_lineno = 0;
Line 63  static size_t _fs_lineno = 0;
 static const char *_fs_file = _PATH_FSTAB;  static const char *_fs_file = _PATH_FSTAB;
 static struct fstab _fs_fstab;  static struct fstab _fs_fstab;
   
 static int fstabscan __P((void));  
   
 static char *nextfld(char **, const char *);  static char *nextfld(char **, const char *);
 static int fstabscan(void);  static int fstabscan(void);
   
Line 98  fstabscan(void)
Line 96  fstabscan(void)
   
         (void)memset(&_fs_fstab, 0, sizeof(_fs_fstab));          (void)memset(&_fs_fstab, 0, sizeof(_fs_fstab));
         for (;;) {          for (;;) {
                 if (!(lp = fgets(line, sizeof(line), _fs_fp)))                  if (!(lp = fgets(line, (int)sizeof(line), _fs_fp)))
                         return 0;                          return 0;
                 _fs_lineno++;                  _fs_lineno++;
 /* OLD_STYLE_FSTAB */  /* OLD_STYLE_FSTAB */

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.29.2.1

CVSweb <webmaster@jp.NetBSD.org>