> > > And, why did you include <ctype.h> in util.c?
> > 
> > isdigit() is in ctyle.h.  Just another way of quieting -Wall during
> > the build.  -sc
> 
> Certainly.
> 
> $ nm -g i686-linux/util.o | grep is
>          U isdigit
>          U isspace
> 
> $ grep -n '\<is[a-z][a-z]*(' util.c
> 751:    while (isspace(*p)) {
> 773:	if (!isdigit(c)) {
> 851:	while (isdigit(*p)) {
> 
> Should be ISDIGIT() and ISSPACE()?

Yes.  ctype.h still needs to be included.  I'm a very BSD UNIX centric
guy, so I don't know if that exists on MS or other *NIX's and needs a
special test.  Does the attached look good?  -sc

-- 
Sean Chittenden
Index: util.c
===================================================================
RCS file: /src/ruby/util.c,v
retrieving revision 1.26
diff -u -r1.26 util.c
--- util.c	2002/05/28 18:11:07	1.26
+++ util.c	2002/05/29 04:18:51
@@ -748,7 +748,7 @@
      */
 
     p = string;
-    while (isspace(*p)) {
+    while (ISSPACE(*p)) {
 	p += 1;
     }
     if (*p == '-') {
@@ -770,7 +770,7 @@
     decPt = -1;
     for (mantSize = 0; ; mantSize += 1) {
 	c = *p;
-	if (!isdigit(c)) {
+	if (!ISDIGIT(c)) {
 	    if ((c != '.') || (decPt >= 0)) {
 		break;
 	    }
@@ -848,7 +848,7 @@
 	    }
 	    expSign = FALSE;
 	}
-	while (isdigit(*p)) {
+	while (ISDIGIT(*p)) {
 	    exp = exp * 10 + (*p - '0');
 	    p += 1;
 	}
Index: ruby.h
===================================================================
RCS file: /src/ruby/ruby.h,v
retrieving revision 1.66
diff -u -r1.66 ruby.h
--- ruby.h	2002/05/14 06:22:26	1.66
+++ ruby.h	2002/05/29 04:18:51
@@ -34,6 +34,7 @@
 #include <stddef.h>
 #include <stdio.h>
 
+#include <ctype.h>
 /* need to include <ctype.h> to use these macros */
 #ifndef ISPRINT
 #define ISASCII(c) isascii((unsigned char)(c))