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

Diff for /src/usr.bin/msgs/Attic/msgs.c between version 1.11 and 1.12

version 1.11, 1997/09/11 19:02:55 version 1.12, 1998/06/23 23:30:19
Line 255 
Line 255 
         snprintf(fname, sizeof(fname), "%s/%s", _PATH_MSGS, BOUNDS);          snprintf(fname, sizeof(fname), "%s/%s", _PATH_MSGS, BOUNDS);
         bounds = fopen(fname, "r");          bounds = fopen(fname, "r");
   
         if (bounds != NULL) {          if (bounds == NULL) {
                 fscanf(bounds, "%d %d\n", &firstmsg, &lastmsg);                  perror(fname);
                 fclose(bounds);                  exit(1);
                 blast = lastmsg;        /* save upper bound */  
         }          }
   
           fscanf(bounds, "%d %d\n", &firstmsg, &lastmsg);
           fclose(bounds);
           blast = lastmsg;        /* save upper bound */
   
         if (clean)          if (clean)
                 keep = t - (rcback? rcback : NDAYS) DAYS;                  keep = t - (rcback? rcback : NDAYS) DAYS;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12