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

Diff for /src/usr.bin/compress/main.c between version 1.3 and 1.4

version 1.3, 1997/07/06 22:03:34 version 1.4, 1997/07/08 03:13:19
Line 278 
Line 278 
                         }                          }
                 }                  }
   
                 if (error && isreg && unlink(outfile) && verbose >= 0)                  if (error && oreg && unlink(outfile) && verbose >= 0)
                         warn("%s", outfile);                          warn("%s", outfile);
                 else if (!error && verbose > 0)                  else if (!error && verbose > 0)
                         fputs("OK\n", stderr);                          fputs("OK\n", stderr);
Line 315 
Line 315 
                 return -1;                  return -1;
         }          }
   
         if (!force && isatty(ofd)) {          if (method != M_COMPRESS && !force && isatty(ofd)) {
                 if (verbose >= 0)                  if (verbose >= 0)
                         warnx("%s: won't write compressed data to terminal",                          warnx("%s: won't write compressed data to terminal",
                               out);                                out);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4