[BACK]Return to filesys.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rdistd

Diff for /src/usr.bin/rdistd/filesys.c between version 1.6 and 1.7

version 1.6, 1999/11/26 21:32:38 version 1.7, 2001/11/19 19:02:15
Line 71 
Line 71 
         static char last_pathname[MAXPATHLEN];          static char last_pathname[MAXPATHLEN];
         static char file[MAXPATHLEN + 3];          static char file[MAXPATHLEN + 3];
         static struct stat filestat;          static struct stat filestat;
         register char *p;          char *p;
   
         /*          /*
          * Mark the statbuf as invalid to start with.           * Mark the statbuf as invalid to start with.
Line 186 
Line 186 
         struct stat *filest;          struct stat *filest;
         struct mntinfo *mntinfo;          struct mntinfo *mntinfo;
 {  {
         register struct mntinfo *mi;          struct mntinfo *mi;
   
         for (mi = mntinfo; mi; mi = mi->mi_nxt) {          for (mi = mntinfo; mi; mi = mi->mi_nxt) {
                 if (mi->mi_mnt->me_flags & MEFLAG_IGNORE)                  if (mi->mi_mnt->me_flags & MEFLAG_IGNORE)
Line 205 
Line 205 
         mntent_t *mnt;          mntent_t *mnt;
         struct mntinfo *mntinfo;          struct mntinfo *mntinfo;
 {  {
         register struct mntinfo *m;          struct mntinfo *m;
   
         for (m = mntinfo; m; m = m->mi_nxt)          for (m = mntinfo; m; m = m->mi_nxt)
                 if (strcmp(m->mi_mnt->me_path, mnt->me_path) == 0)                  if (strcmp(m->mi_mnt->me_path, mnt->me_path) == 0)
Line 312 
Line 312 
         static struct stat filestat;          static struct stat filestat;
         struct stat *pstat;          struct stat *pstat;
         struct mntinfo *tmpmi;          struct mntinfo *tmpmi;
         register mntent_t *mnt;          mntent_t *mnt;
   
         /*          /*
          * Use the supplied stat buffer if not NULL or our own.           * Use the supplied stat buffer if not NULL or our own.

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