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

Diff for /src/usr.bin/rcs/ci.c between version 1.16 and 1.17

version 1.16, 2005/10/10 14:21:37 version 1.17, 2005/10/10 14:49:32
Line 143 
Line 143 
                         cvs_log(LP_ERR, "failed to open rcsfile '%s'", fpath);                          cvs_log(LP_ERR, "failed to open rcsfile '%s'", fpath);
                         exit(1);                          exit(1);
                 }                  }
                   /*
                    * If rev is not specified on the command line,
                    * assume HEAD.
                    */
                   frev = file->rf_head;
                   /*
                    * If revision passed on command line is less than HEAD, bail.
                    */
                   if ((newrev != NULL) && (rcsnum_cmp(newrev, frev, 0) > 0)) {
                           cvs_log(LP_ERR, "revision is too low!");
                           status = 1;
                           rcs_close(file);
                           continue;
                   }
   
                 if (dflag) {                  if (dflag) {
                         /* XXX */                          /* XXX */
Line 160 
Line 174 
                         exit(1);                          exit(1);
   
                 filec = cvs_buf_release(bp);                  filec = cvs_buf_release(bp);
   
                 /*  
                  * If rev is not specified on the command line,  
                  * assume HEAD.  
                  */  
                 frev = file->rf_head;  
   
                 /*                  /*
                  * Check for a lock belonging to this user. If none,                   * Check for a lock belonging to this user. If none,

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