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

Diff for /src/usr.bin/newsyslog/newsyslog.c between version 1.5 and 1.6

version 1.5, 1996/08/31 14:20:36 version 1.6, 1996/09/02 18:47:16
Line 380 
Line 380 
         char    zfile1[128], zfile2[128];          char    zfile1[128], zfile2[128];
         int     fd;          int     fd;
         struct  stat st;          struct  stat st;
           int     days = numdays;
   
 #ifdef _IBMR2  #ifdef _IBMR2
 /* AIX 3.1 has a broken fchown- if the owner_uid is -1, it will actually */  /* AIX 3.1 has a broken fchown- if the owner_uid is -1, it will actually */
Line 427 
Line 428 
         if (!noaction && !(flags & CE_BINARY))          if (!noaction && !(flags & CE_BINARY))
                 (void) log_trim(log);  /* Report the trimming to the old log */                  (void) log_trim(log);  /* Report the trimming to the old log */
   
         if (numdays == -1) {          if (days == 0) {
                 if (noaction)                  if (noaction)
                         printf("rm %s\n",log);                          printf("rm %s\n",log);
                 else                  else

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6