More minor tweaks.
This commit is contained in:
parent
58dda84ecc
commit
1f9145c5c3
1
Makefile
1
Makefile
@ -483,6 +483,7 @@ distclean: clean
|
|||||||
rm -f scripts/bb_mkdep scripts/usage
|
rm -f scripts/bb_mkdep scripts/usage
|
||||||
rm -r -f include/config include/config.h $(DEP_INCLUDES)
|
rm -r -f include/config include/config.h $(DEP_INCLUDES)
|
||||||
find . -name .depend'*' -print0 | xargs -0 rm -f
|
find . -name .depend'*' -print0 | xargs -0 rm -f
|
||||||
|
find . -name '*.rej' -print0 | xargs -0 rm -f
|
||||||
rm -f .hdepend
|
rm -f .hdepend
|
||||||
rm -f .config .config.old .config.cmd
|
rm -f .config .config.old .config.cmd
|
||||||
|
|
||||||
|
@ -20,14 +20,8 @@ long bb_xgetlarg(const char *arg, int base, long lower, long upper)
|
|||||||
char *endptr;
|
char *endptr;
|
||||||
int errno_save = errno;
|
int errno_save = errno;
|
||||||
|
|
||||||
assert(arg!=NULL);
|
if (ENABLE_DEBUG && arg==NULL)
|
||||||
|
bb_error_msg_and_die("Null in xgetlarg.");
|
||||||
/* Don't allow leading whitespace.
|
|
||||||
* Wrap isspace in () to make sure we call the
|
|
||||||
* function rather than the macro. */
|
|
||||||
if ((isspace)(*arg)) {
|
|
||||||
bb_show_usage();
|
|
||||||
}
|
|
||||||
|
|
||||||
errno = 0;
|
errno = 0;
|
||||||
result = strtol(arg, &endptr, base);
|
result = strtol(arg, &endptr, base);
|
||||||
|
@ -89,9 +89,7 @@ long bb_xgetlarg_bnd_sfx(const char *arg, int base,
|
|||||||
|
|
||||||
if ((*p == '-') && (p[1] != '+')) {
|
if ((*p == '-') && (p[1] != '+')) {
|
||||||
++p;
|
++p;
|
||||||
#if LONG_MAX == (-(LONG_MIN + 1))
|
|
||||||
++u; /* two's complement */
|
++u; /* two's complement */
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
r = bb_xgetularg_bnd_sfx(p, base, 0, u, suffixes);
|
r = bb_xgetularg_bnd_sfx(p, base, 0, u, suffixes);
|
||||||
|
@ -67,7 +67,7 @@ config CONFIG_DEVFSD
|
|||||||
bool "devfsd (obsolete)"
|
bool "devfsd (obsolete)"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This is deprecated, and will be going away in a future release.
|
This is deprecated, and will be removed at the end of 2008.
|
||||||
|
|
||||||
Provides compatibility with old device names on a devfs systems.
|
Provides compatibility with old device names on a devfs systems.
|
||||||
You should set it to true if you have devfs enabled.
|
You should set it to true if you have devfs enabled.
|
||||||
@ -105,13 +105,12 @@ config CONFIG_FEATURE_DEVFS
|
|||||||
bool " Use devfs names for all devices (obsolete)"
|
bool " Use devfs names for all devices (obsolete)"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
|
This is obsolete and will be going away at the end of 2008..
|
||||||
|
|
||||||
This tells busybox to look for names like /dev/loop/0 instead of
|
This tells busybox to look for names like /dev/loop/0 instead of
|
||||||
/dev/loop0. If your /dev directory has normal names instead of
|
/dev/loop0. If your /dev directory has normal names instead of
|
||||||
devfs names, you don't want this.
|
devfs names, you don't want this.
|
||||||
|
|
||||||
This is obsolete and will be going away someday. Consider it
|
|
||||||
deprecated.
|
|
||||||
|
|
||||||
config CONFIG_EJECT
|
config CONFIG_EJECT
|
||||||
bool "eject"
|
bool "eject"
|
||||||
default n
|
default n
|
||||||
|
Loading…
Reference in New Issue
Block a user