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

Diff for /src/usr.bin/cvs/client.c between version 1.64 and 1.65

version 1.64, 2007/06/26 02:24:10 version 1.65, 2007/06/27 03:58:16
Line 767 
Line 767 
 void  void
 cvs_client_removed(char *data)  cvs_client_removed(char *data)
 {  {
         char *dir;          CVSENTRIES *entlist;
           char *rpath, *filename, fpath[MAXPATHLEN];
   
         dir = cvs_remote_input();          rpath = cvs_remote_input();
         xfree(dir);          if ((filename = strrchr(rpath, '/')) == NULL)
                   fatal("bad rpath in cvs_client_removed: %s", rpath);
           filename++;
   
           entlist = cvs_ent_open(data);
           cvs_ent_remove(entlist, filename);
           cvs_ent_close(entlist, ENT_SYNC);
   
           (void)xsnprintf(fpath, MAXPATHLEN, "%s/%s", data, filename);
           (void)unlink(fpath);
   
           xfree(rpath);
 }  }
   
 void  void

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65