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

Diff for /src/usr.bin/cvs/edit.c between version 1.16 and 1.17

version 1.16, 2007/01/03 09:49:37 version 1.17, 2007/01/05 07:13:49
Line 177 
Line 177 
                 return;                  return;
         }          }
   
         /* XXX: compare cf->file_path and bfpath */          if (cvs_file_cmp(cf->file_path, bfpath) != 0) {
                   cvs_printf("%s has been modified; revert changes? ",
                       cf->file_name);
   
                   if (cvs_yesno() == -1) {
                           xfree(bfpath);
                           return;
                   }
           }
   
         cvs_rename(bfpath, cf->file_path);          cvs_rename(bfpath, cf->file_path);
         xfree(bfpath);          xfree(bfpath);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17