[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.96 and 1.97

version 1.96, 2006/02/16 16:43:45 version 1.97, 2006/02/16 17:30:46
Line 582 
Line 582 
         }          }
         rcs_desc_set(pb->file, rcs_desc);          rcs_desc_set(pb->file, rcs_desc);
   
           /*
            * Set the date of the revision to be the last modification
            * time of the working file if -d has no argument.
            */
           if (pb->date == DATE_MTIME
               && (checkin_mtimedate(pb) < 0))
                   return (-1);
   
         /* Now add our new revision */          /* Now add our new revision */
         if (rcs_rev_add(pb->file,          if (rcs_rev_add(pb->file,
             (pb->newrev == NULL ? RCS_HEAD_REV : pb->newrev),              (pb->newrev == NULL ? RCS_HEAD_REV : pb->newrev),
             LOG_INIT, -1, pb->author) != 0) {              LOG_INIT, pb->date, pb->author) != 0) {
                 cvs_log(LP_ERR, "failed to add new revision");                  cvs_log(LP_ERR, "failed to add new revision");
                 return (-1);                  return (-1);
         }          }

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