the () around isspace actually matters

This commit is contained in:
Mike Frysinger 2005-08-16 05:39:07 +00:00
parent 1eef0c4571
commit 6ebbc7414e

View File

@ -21,8 +21,10 @@ extern long bb_xgetlarg(const char *arg, int base, long lower, long upper)
assert(arg!=NULL); assert(arg!=NULL);
/* Don't allow leading whitespace. */ /* Don't allow leading whitespace.
if (isspace(*arg)) { /* Use an actual function call for minimal size. */ * Wrap isspace in () to make sure we call the
* function rather than the macro. */
if ((isspace)(*arg)) {
bb_show_usage(); bb_show_usage();
} }