svn 14077 was completely broken and apparently never tested.
[oweals/busybox.git] / libbb / xgetlarg.c
index ed5d3eb4f52e33ae9799bdd743e1e14bc0fe24d6..f332bb37e7664a79f36cc4abaac3a40ee96fa504 100644 (file)
@@ -1,6 +1,6 @@
 /* vi: set sw=4 ts=4: */
 /*
- * Copyright (C) 2003 Erik Andersen <andersen@codepoet.org>
+ * Copyright (C) 2003-2004 Erik Andersen <andersen@codepoet.org>
  */
 
 
@@ -21,8 +21,10 @@ extern long bb_xgetlarg(const char *arg, int base, long lower, long upper)
 
        assert(arg!=NULL);
 
-       /* Don't allow leading whitespace. */
-       if ((isspace)(*arg)) {  /* Use an actual funciton call for minimal size. */
+       /* 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();
        }