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

Diff for /src/usr.bin/cvs/util.c between version 1.5 and 1.6

version 1.5, 2004/07/30 16:52:13 version 1.6, 2004/08/05 13:50:12
Line 259 
Line 259 
         const char *sp;          const char *sp;
         struct stat st;          struct stat st;
   
           rlen = strlen(path);
           while ((rlen > 0) && (path[rlen - 1] == '/'))
                   path[--rlen] = '\0';
   
         sp = strrchr(path, '/');          sp = strrchr(path, '/');
         if (sp == NULL) {          if (sp == NULL) {
                 if (stat(path, &st) == -1)                  if (stat(path, &st) == -1)

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