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

Diff for /src/usr.bin/cvs/repository.c between version 1.8 and 1.9

version 1.8, 2007/01/19 23:23:21 version 1.9, 2007/01/25 18:56:33
Line 93 
Line 93 
         DIR *dirp;          DIR *dirp;
         struct stat st;          struct stat st;
         struct dirent *dp;          struct dirent *dp;
         char *s, *fpath, *rpath;          char *s, fpath[MAXPATHLEN], rpath[MAXPATHLEN];
   
         rpath = xmalloc(MAXPATHLEN);  
         fpath = xmalloc(MAXPATHLEN);  
   
         if ((dirp = opendir(dir)) == NULL)          if ((dirp = opendir(dir)) == NULL)
                 fatal("cvs_repository_getdir: failed to open '%s'", dir);                  fatal("cvs_repository_getdir: failed to open '%s'", dir);
   
Line 167 
Line 164 
                         fatal("type %d unknown, shouldn't happen", type);                          fatal("type %d unknown, shouldn't happen", type);
                 }                  }
         }          }
   
         xfree(rpath);  
         xfree(fpath);  
   
         (void)closedir(dirp);          (void)closedir(dirp);
 }  }

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