[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.8 and 1.9

version 1.8, 1996/04/03 19:48:56 version 1.9, 1997/01/23 14:01:52
Line 108  fstabscan()
Line 108  fstabscan()
                         if ((cp = strtok((char *)NULL, " \t\n")) != NULL)                          if ((cp = strtok((char *)NULL, " \t\n")) != NULL)
                                 _fs_fstab.fs_passno = atoi(cp);                                  _fs_fstab.fs_passno = atoi(cp);
                 }                  }
                 strcpy(subline, _fs_fstab.fs_mntops);                  (void)strncpy(subline, _fs_fstab.fs_mntops, sizeof(subline)-1);
                 for (typexx = 0, cp = strtok(subline, ","); cp;                  for (typexx = 0, cp = strtok(subline, ","); cp;
                      cp = strtok((char *)NULL, ",")) {                       cp = strtok((char *)NULL, ",")) {
                         if (strlen(cp) != 2)                          if (strlen(cp) != 2)

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

CVSweb <webmaster@jp.NetBSD.org>