aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-19 12:10:38 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-19 12:10:38 +0200
commitf3b92d385695aecefd93d5f199be1f64270c2687 (patch)
tree5d6b2308ceafea6040bd78ea8401a91eb65d376b /archival
parente2e4cc249dc1bd4b280846f55a36208674eadd55 (diff)
downloadbusybox-w32-f3b92d385695aecefd93d5f199be1f64270c2687.tar.gz
busybox-w32-f3b92d385695aecefd93d5f199be1f64270c2687.tar.bz2
busybox-w32-f3b92d385695aecefd93d5f199be1f64270c2687.zip
getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS
Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/Config.in2
-rw-r--r--archival/cpio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/Config.in b/archival/Config.in
index 1ea6f3d16..cae7f20bb 100644
--- a/archival/Config.in
+++ b/archival/Config.in
@@ -256,7 +256,7 @@ config FEATURE_TAR_GNU_EXTENSIONS
256config FEATURE_TAR_LONG_OPTIONS 256config FEATURE_TAR_LONG_OPTIONS
257 bool "Enable long options" 257 bool "Enable long options"
258 default n 258 default n
259 depends on TAR && GETOPT_LONG 259 depends on TAR && LONG_OPTS
260 help 260 help
261 Enable use of long options, increases size by about 400 Bytes 261 Enable use of long options, increases size by about 400 Bytes
262 262
diff --git a/archival/cpio.c b/archival/cpio.c
index 4cf3c2c50..a6484e5c0 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -273,7 +273,7 @@ int cpio_main(int argc UNUSED_PARAM, char **argv)
273 IF_FEATURE_CPIO_O(const char *cpio_fmt = "";) 273 IF_FEATURE_CPIO_O(const char *cpio_fmt = "";)
274 unsigned opt; 274 unsigned opt;
275 275
276#if ENABLE_GETOPT_LONG 276#if ENABLE_LONG_OPTS
277 applet_long_options = 277 applet_long_options =
278 "extract\0" No_argument "i" 278 "extract\0" No_argument "i"
279 "list\0" No_argument "t" 279 "list\0" No_argument "t"