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

Diff for /src/usr.bin/cvs/admin.c between version 1.45 and 1.46

version 1.45, 2007/01/21 11:20:10 version 1.46, 2007/01/25 18:56:33
Line 213 
Line 213 
                 struct cvs_file *ocf;                  struct cvs_file *ocf;
                 struct rcs_access *acp;                  struct rcs_access *acp;
                 int ofd;                  int ofd;
                 char *d, *f, *fpath, *repo;                  char *d, *f, fpath[MAXPATHLEN], repo[MAXPATHLEN];
   
                 fpath = xmalloc(MAXPATHLEN);  
                 repo = xmalloc(MAXPATHLEN);  
   
                 if ((f = basename(oldfilename)) == NULL)                  if ((f = basename(oldfilename)) == NULL)
                         fatal("cvs_admin_local: basename failed");                          fatal("cvs_admin_local: basename failed");
Line 248 
Line 246 
                 (void)close(ofd);                  (void)close(ofd);
   
                 cvs_file_free(ocf);                  cvs_file_free(ocf);
   
                 xfree(fpath);  
                 xfree(repo);  
         }          }
   
         if (alist != NULL) {          if (alist != NULL) {

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46