[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.79 and 1.80

version 1.79, 2006/03/20 17:41:37 version 1.80, 2006/03/21 02:45:09
Line 362 
Line 362 
         if ((rcspath = rcs_choosefile(fname)) == NULL)          if ((rcspath = rcs_choosefile(fname)) == NULL)
                 fatal("rcs_statfile: path truncation");                  fatal("rcs_statfile: path truncation");
   
         /* File not found. */          /* Error out if file not found and we are not creating one. */
         if (stat(rcspath, &st) == -1) {          if (stat(rcspath, &st) == -1 && !(rcsflags & RCS_CREATE)) {
                 if ((strcmp(__progname, "rcsclean") != 0)                  if ((strcmp(__progname, "rcsclean") != 0)
                     && (strcmp(__progname, "ci") != 0))                      && (strcmp(__progname, "ci") != 0))
                         cvs_log(LP_ERRNO, "%s", rcspath);                          cvs_log(LP_ERRNO, "%s", rcspath);

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80