[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.187 and 1.188

version 1.187, 2006/09/21 15:30:07 version 1.188, 2006/09/27 06:26:35
Line 246 
Line 246 
                         if (pb.openflags & RCS_CREATE)                          if (pb.openflags & RCS_CREATE)
                                 pb.flags |= NEWFILE;                                  pb.flags |= NEWFILE;
                         else {                          else {
                                   /* XXX - Check if errno == ENOENT. */
                                 warnx("No existing RCS file");                                  warnx("No existing RCS file");
                                 status = 1;                                  status = 1;
                                 (void)close(workfile_fd);                                  (void)close(workfile_fd);
Line 621 
Line 622 
 skipdesc:  skipdesc:
   
         /*          /*
          * If the user had specified a zero-ending revision number e.g. 4           * If the user had specified a zero-ending revision number e.g. 4.0
          * emulate odd GNU behaviour and fetch log message.           * emulate odd GNU behaviour and fetch log message.
          */           */
         if (fetchlog == 1) {          if (fetchlog == 1) {
Line 663 
Line 664 
         }          }
   
         /* Attach a symbolic name to this revision if specified. */          /* Attach a symbolic name to this revision if specified. */
         if (pb->symbol != NULL &&          if (pb->symbol != NULL && checkin_attach_symbol(pb) < 0)
             (checkin_attach_symbol(pb) < 0))  
                 goto fail;                  goto fail;
   
         /* Set the state of this revision if specified. */          /* Set the state of this revision if specified. */

Legend:
Removed from v.1.187  
changed lines
  Added in v.1.188