aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-08-16 05:39:07 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-08-16 05:39:07 +0000
commitaf3972d258a10f5ce1a31748e219a6d22f083efb (patch)
tree36a6b7ba8423c0e3d88aed9bf4d493e1d584b009 /libbb
parenta97a244cee07da5b102b411ee9f2f97a084e81c2 (diff)
downloadbusybox-w32-af3972d258a10f5ce1a31748e219a6d22f083efb.tar.gz
busybox-w32-af3972d258a10f5ce1a31748e219a6d22f083efb.tar.bz2
busybox-w32-af3972d258a10f5ce1a31748e219a6d22f083efb.zip
the () around isspace actually matters
git-svn-id: svn://busybox.net/trunk/busybox@11169 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-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