[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.40 and 1.41

version 1.40, 2005/11/12 21:34:48 version 1.41, 2005/11/12 22:49:59
Line 286 
Line 286 
                 case 'A':                  case 'A':
                         if (rcs_statfile(rcs_optarg, ofpath, sizeof(ofpath)) < 0)                          if (rcs_statfile(rcs_optarg, ofpath, sizeof(ofpath)) < 0)
                                 exit(1);                                  exit(1);
                           flags |= CO_ACLAPPEND;
                         break;                          break;
                 case 'a':                  case 'a':
                         alist = rcs_optarg;                          alist = rcs_optarg;
Line 388 
Line 389 
                 }                  }
   
                 /* entries to add from <oldfile> */                  /* entries to add from <oldfile> */
                 if (ofpath != NULL) {                  if (flags & CO_ACLAPPEND) {
                         /* XXX */                          /* XXX */
                         if ((oldfile = rcs_open(ofpath, RCS_READ)) == NULL)                          if ((oldfile = rcs_open(ofpath, RCS_READ)) == NULL)
                                 exit(1);                                  exit(1);

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41