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

Diff for /src/usr.bin/hexdump/odsyntax.c between version 1.25 and 1.26

version 1.25, 2014/04/19 09:28:20 version 1.26, 2015/09/16 08:47:26
Line 299 
Line 299 
         extern char *__progname;          extern char *__progname;
         fprintf(stderr, "usage: %s [-aBbcDdeFfHhIiLlOosvXx] [-A base] "          fprintf(stderr, "usage: %s [-aBbcDdeFfHhIiLlOosvXx] [-A base] "
             "[-j offset] [-N length]\n"              "[-j offset] [-N length]\n"
             "\t[-t type_string] [[+]offset[.][Bb]] [file ...]\n", __progname);              "\t[-t type_string] [file ...]\n", __progname);
         exit(1);          exit(1);
 }  }
   
Line 371 
Line 371 
                 return;                  return;
         }          }
   
           if (*p == '.')
                   ++p;
         if (*p) {          if (*p) {
                 if (*p == 'B') {                  if (*p == 'B') {
                         skip *= 1024;                          skip *= 1024;
Line 397 
Line 399 
         }          }
   
         /* Terminate file list. */          /* Terminate file list. */
         (*argvp)[1] = NULL;          (*argvp)[argc > 1] = NULL;
 }  }
   
 static void  static void

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26