aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-16 05:39:07 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-16 05:39:07 +0000
commit6ebbc7414e6699c6ee3edb9dff5c8adda81590ed (patch)
tree36a6b7ba8423c0e3d88aed9bf4d493e1d584b009
parent1eef0c4571d6319e67005944b7c20307fb8f5b15 (diff)
downloadbusybox-w32-6ebbc7414e6699c6ee3edb9dff5c8adda81590ed.tar.gz
busybox-w32-6ebbc7414e6699c6ee3edb9dff5c8adda81590ed.tar.bz2
busybox-w32-6ebbc7414e6699c6ee3edb9dff5c8adda81590ed.zip
the () around isspace actually matters
-rw-r--r--libbb/xgetlarg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbb/xgetlarg.c b/libbb/xgetlarg.c
index 0460aad57..f24492bee 100644
--- a/libbb/xgetlarg.c
+++ b/libbb/xgetlarg.c
@@ -21,8 +21,10 @@ extern long bb_xgetlarg(const char *arg, int base, long lower, long upper)
21 21
22 assert(arg!=NULL); 22 assert(arg!=NULL);
23 23
24 /* Don't allow leading whitespace. */ 24 /* Don't allow leading whitespace.
25 if (isspace(*arg)) { /* Use an actual function call for minimal size. */ 25 * Wrap isspace in () to make sure we call the
26 * function rather than the macro. */
27 if ((isspace)(*arg)) {
26 bb_show_usage(); 28 bb_show_usage();
27 } 29 }
28 30