weird code snippet in cpio.c
Robert P. J. Day
rpjday at crashcourse.ca
Wed Jul 16 18:37:00 UTC 2008
from archival/cpio.c:
...
#if ENABLE_GETOPT_LONG && ENABLE_DESKTOP
applet_long_options =
"extract\0" No_argument "i"
"list\0" No_argument "t"
#if ENABLE_FEATURE_CPIO_O
"create\0" No_argument "o"
"format\0" Required_argument "H"
#endif
;
#endif
...
why does defining those long options require the definition of
ENABLE_DESKTOP? the "i" and "t" options will be defined regardless,
so shouldn't that snippet depend solely on ENABLE_GETOPT_LONG?
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
More information about the busybox
mailing list