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

Diff for /src/usr.bin/rcs/rcsprog.c between version 1.95 and 1.96

version 1.95, 2006/04/10 08:08:00 version 1.96, 2006/04/11 08:07:35
Line 669 
Line 669 
                         /* Make sure revision exists. */                          /* Make sure revision exists. */
                         if (rcs_findrev(file, rev) == NULL)                          if (rcs_findrev(file, rev) == NULL)
                                 fatal("revision does not exist");                                  fatal("revision does not exist");
                         if (rcs_lock_add(file, username, rev) == -1) {                          if (rcs_lock_add(file, username, rev) == -1)
                                 rcs_close(file);  
                                 fatal("unable to lock file");                                  fatal("unable to lock file");
                         }  
                         rcsnum_free(rev);                          rcsnum_free(rev);
                 }                  }
   
Line 693 
Line 691 
                         /* Make sure revision exists. */                          /* Make sure revision exists. */
                         if (rcs_findrev(file, rev) == NULL)                          if (rcs_findrev(file, rev) == NULL)
                                 fatal("revision does not exist");                                  fatal("revision does not exist");
                         if (rcs_lock_remove(file, username, rev) == -1) {                          if (rcs_lock_remove(file, username, rev) == -1)
                                 rcs_close(file);  
                                 fatal("unable to unlock file");                                  fatal("unable to unlock file");
                         }  
                         rcsnum_free(rev);                          rcsnum_free(rev);
                 }                  }
   

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96