diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-21 18:47:51 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-21 18:47:51 +0200 |
| commit | d373355bf82d90b42f37bd25a3e0d73710138ee4 (patch) | |
| tree | 5c76b9b88053bdec3df360e251835b1704ab305a /coreutils | |
| parent | 9d96e274ce1fac0e82d850075acc87cd5e97fc39 (diff) | |
| download | busybox-w32-d373355bf82d90b42f37bd25a3e0d73710138ee4.tar.gz busybox-w32-d373355bf82d90b42f37bd25a3e0d73710138ee4.tar.bz2 busybox-w32-d373355bf82d90b42f37bd25a3e0d73710138ee4.zip | |
od: another fix for --strings
function old new delta
od_main 2139 2147 +8
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/od_bloaty.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c index 8ed8f0be4..bd6c75385 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c | |||
| @@ -1183,12 +1183,15 @@ int od_main(int argc UNUSED_PARAM, char **argv) | |||
| 1183 | "read-bytes\0" Required_argument "N" | 1183 | "read-bytes\0" Required_argument "N" |
| 1184 | "format\0" Required_argument "t" | 1184 | "format\0" Required_argument "t" |
| 1185 | "output-duplicates\0" No_argument "v" | 1185 | "output-duplicates\0" No_argument "v" |
| 1186 | /* Yes, it's true: -S NUM, but --strings[=NUM]! | ||
| 1187 | * that is, NUM is mandatory for -S but optional for --strings! | ||
| 1188 | */ | ||
| 1186 | "strings\0" Optional_argument "S" | 1189 | "strings\0" Optional_argument "S" |
| 1187 | "width\0" Optional_argument "w" | 1190 | "width\0" Optional_argument "w" |
| 1188 | "traditional\0" No_argument "\xff" | 1191 | "traditional\0" No_argument "\xff" |
| 1189 | ; | 1192 | ; |
| 1190 | #endif | 1193 | #endif |
| 1191 | char *str_A, *str_N, *str_j, *str_S; | 1194 | const char *str_A, *str_N, *str_j, *str_S = "3"; |
| 1192 | llist_t *lst_t = NULL; | 1195 | llist_t *lst_t = NULL; |
| 1193 | unsigned opt; | 1196 | unsigned opt; |
| 1194 | int l_c_m; | 1197 | int l_c_m; |
