Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/util-linux/hexdump.c

    r3232 r3621  
    6767static const char hexdump_opts[] ALIGN1 = "bcdoxCe:f:n:s:v" IF_FEATURE_HEXDUMP_REVERSE("R");
    6868
    69 static const struct suffix_mult suffixes[] = {
    70     { "b", 512 },
    71     { "k", 1024 },
    72     { "m", 1024*1024 },
    73     { "", 0 }
    74 };
    75 
    7669int hexdump_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
    7770int hexdump_main(int argc, char **argv)
     
    117110        } /* else */
    118111        if (ch == 's') { /* compat: -s accepts hex numbers too */
    119             dumper->dump_skip = xstrtoul_range_sfx(optarg, /*base:*/ 0, /*lo:*/ 0, /*hi:*/ LONG_MAX, suffixes);
     112            dumper->dump_skip = xstrtoull_range_sfx(
     113                optarg,
     114                /*base:*/ 0,
     115                /*lo:*/ 0, /*hi:*/ OFF_T_MAX,
     116                bkm_suffixes
     117            );
    120118        } /* else */
    121119        if (ch == 'v') {
Note: See TracChangeset for help on using the changeset viewer.