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

Diff for /src/usr.bin/rcs/rlog.c between version 1.49 and 1.50

version 1.49, 2006/04/21 17:17:29 version 1.50, 2006/04/25 13:36:36
Line 179 
Line 179 
                 nrev = file->rf_ndelta;                  nrev = file->rf_ndelta;
   
         if ((workfile = basename(fname)) == NULL)          if ((workfile = basename(fname)) == NULL)
                 fatal("failed to get basename of '%s'", fname);                  err(1, "basename");
   
         /*          /*
          * In case they specified 'foo,v' as argument.           * In case they specified 'foo,v' as argument.
Line 305 
Line 305 
                         cvs_argv_destroy(wargv);                          cvs_argv_destroy(wargv);
                 } else {                  } else {
                         if ((author = getlogin()) == NULL)                          if ((author = getlogin()) == NULL)
                                 fatal("getlogin failed");                                  err(1, "getlogin");
   
                         if (strcmp(rdp->rd_author, author) == 0)                          if (strcmp(rdp->rd_author, author) == 0)
                                 found++;                                  found++;

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50