[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.5 and 1.6

version 1.5, 1997/07/08 10:06:31 version 1.6, 1997/07/19 19:08:28
Line 102 
Line 102 
         char *infile, outfile[MAXPATHLEN], suffix[16];          char *infile, outfile[MAXPATHLEN], suffix[16];
         char *p;          char *p;
   
           bits = cat = decomp = 0;
         p = __progname;          p = __progname;
         if (p[0] == 'g') {          if (p[0] == 'g') {
                 method = M_DEFLATE;                  method = M_DEFLATE;
Line 124 
Line 125 
                         errx(1, "unknown program name");                          errx(1, "unknown program name");
         }          }
   
         bits = cat = decomp = 0;  
         outfile[0] = '\0';          outfile[0] = '\0';
         while ((ch = getopt(argc, argv, "0123456789b:cdfghlnOo:qStv")) != -1)          while ((ch = getopt(argc, argv, "0123456789b:cdfghlnOo:qStv")) != -1)
                 switch(ch) {                  switch(ch) {

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