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

Diff for /src/usr.bin/cvs/Attic/resp.c between version 1.62 and 1.63

version 1.62, 2005/11/28 08:49:25 version 1.63, 2005/12/03 01:02:09
Line 526 
Line 526 
                 ent->ce_mtime = time(&(ent->ce_mtime));                  ent->ce_mtime = time(&(ent->ce_mtime));
   
                 /* replace the current entry with the one we just received */                  /* replace the current entry with the one we just received */
                 (void)cvs_ent_remove(cvs_resp_lastent, ent->ce_name);                  (void)cvs_ent_remove(cvs_resp_lastent, ent->ce_name, 0);
   
                 cvs_ent_add(cvs_resp_lastent, ent);                  cvs_ent_add(cvs_resp_lastent, ent);
         }          }
Line 674 
Line 674 
   
         if ((type == CVS_RESP_UPDEXIST) || (type == CVS_RESP_UPDATED) ||          if ((type == CVS_RESP_UPDEXIST) || (type == CVS_RESP_UPDATED) ||
             (type == CVS_RESP_MERGED) || (type == CVS_RESP_CREATED)) {              (type == CVS_RESP_MERGED) || (type == CVS_RESP_CREATED)) {
                 if ((cvs_ent_remove(cvs_resp_lastent, ent->ce_name) < 0) &&                  if ((cvs_ent_remove(cvs_resp_lastent, ent->ce_name, 0) < 0) &&
                     (type != CVS_RESP_CREATED)) {                      (type != CVS_RESP_CREATED)) {
                         cvs_log(LP_WARN, "failed to remove entry for '%s`",                          cvs_log(LP_WARN, "failed to remove entry for '%s`",
                             ent->ce_name);                              ent->ce_name);
Line 752 
Line 752 
         if (resp_check_dir(root, line) < 0)          if (resp_check_dir(root, line) < 0)
                 return (-1);                  return (-1);
   
         (void)cvs_ent_remove(cvs_resp_lastent, file);          (void)cvs_ent_remove(cvs_resp_lastent, file, 0);
         if ((type == CVS_RESP_REMOVED) && ((unlink(fpath) == -1) &&          if ((type == CVS_RESP_REMOVED) && ((unlink(fpath) == -1) &&
             errno != ENOENT)) {              errno != ENOENT)) {
                 cvs_log(LP_ERRNO, "failed to unlink `%s'", file);                  cvs_log(LP_ERRNO, "failed to unlink `%s'", file);

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63