[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.41 and 1.42

version 1.41, 2006/04/14 01:11:07 version 1.42, 2006/04/14 15:02:15
Line 217 
Line 217 
         if (hflag == 0 || tflag == 1)          if (hflag == 0 || tflag == 1)
                 printf("description:\n%s", file->rf_desc);                  printf("description:\n%s", file->rf_desc);
   
         if (hflag == 0 && tflag == 0) {          if (hflag == 0 && tflag == 0 &&
               !(lflag == 1 && TAILQ_EMPTY(&file->rf_locks))) {
                 TAILQ_FOREACH(rdp, &(file->rf_delta), rd_list) {                  TAILQ_FOREACH(rdp, &(file->rf_delta), rd_list) {
                         /*                          /*
                          * if selections are enabled verify that entry is                           * if selections are enabled verify that entry is
Line 244 
Line 245 
   
         /* -l[lockers] */          /* -l[lockers] */
         if (lflag == 1) {          if (lflag == 1) {
                 /* if no locks at all, abort. */                  if (rdp->rd_locker != NULL)
                 if (TAILQ_EMPTY(&(file->rf_locks)))                          found++;
                         return;  
                 else  
                         if (rdp->rd_locker != NULL)  
                                 found++;  
   
                 if (llist != NULL) {                  if (llist != NULL) {
                         /* if locker is empty, no need to go further. */                          /* if locker is empty, no need to go further. */

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