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

Diff for /src/usr.bin/mg/dir.c between version 1.23 and 1.24

version 1.23, 2013/05/30 04:17:25 version 1.24, 2013/10/21 19:04:56
Line 107 
Line 107 
         if ((path = adjustname(path, TRUE)) == NULL)          if ((path = adjustname(path, TRUE)) == NULL)
                 return (FALSE);                  return (FALSE);
   
         slash = path;          /* Remove trailing slashes */
           slash = strrchr(path, '\0');
           while (--slash > path && *slash == '/')
                   *slash = '\0';
   
         oumask = umask(0);          oumask = umask(0);
         mode = 0777 & ~oumask;          mode = 0777 & ~oumask;

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24