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

Diff for /src/usr.bin/mg/fileio.c between version 1.42 and 1.43

version 1.42, 2004/07/09 13:50:40 version 1.43, 2005/01/11 17:19:16
Line 226 
Line 226 
 char *  char *
 adjustname(const char *fn)  adjustname(const char *fn)
 {  {
         static char fnb[MAXPATHLEN];          static char path[MAXPATHLEN];
         const char *cp;          const char *cp;
         char user[LOGIN_NAME_MAX + 1], path[MAXPATHLEN];          char user[LOGIN_NAME_MAX + 1];
         int len;          int len;
   
         path[0] = '\0';          path[0] = '\0';
Line 265 
Line 265 
         }          }
         strlcat(path, fn, sizeof path);          strlcat(path, fn, sizeof path);
   
         return (realpath(path, fnb));          return (path);
 }  }
   
 #ifndef NO_STARTUP  #ifndef NO_STARTUP

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43