*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.101 2004/03/15 03:29:22 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.102 2004/04/01 22:51:31 tgl Exp $
*
*-------------------------------------------------------------------------
*/
}
/* skip leading whitespace */
- while (*num != '\0' && isspace(*num))
+ while (*num != '\0' && isspace((unsigned char) *num))
num++;
errno = 0;
}
/* skip trailing whitespace */
- while (*endptr != '\0' && isspace(*endptr))
+ while (*endptr != '\0' && isspace((unsigned char) *endptr))
endptr++;
/* if there is any junk left at the end of the string, bail out */
}
/* skip leading whitespace */
- while (*num != '\0' && isspace(*num))
+ while (*num != '\0' && isspace((unsigned char) *num))
num++;
errno = 0;
}
/* skip trailing whitespace */
- while (*endptr != '\0' && isspace(*endptr))
+ while (*endptr != '\0' && isspace((unsigned char) *endptr))
endptr++;
/* if there is any junk left at the end of the string, bail out */
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/int8.c,v 1.52 2004/03/11 02:11:13 neilc Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/int8.c,v 1.53 2004/04/01 22:51:31 tgl Exp $
*
*-------------------------------------------------------------------------
*/
}
/* allow trailing whitespace, but not other trailing chars */
- while (*ptr != '\0' && isspace(*ptr))
+ while (*ptr != '\0' && isspace((unsigned char) *ptr))
ptr++;
if (*ptr != '\0')
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/numutils.c,v 1.62 2004/03/11 02:11:13 neilc Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/numutils.c,v 1.63 2004/04/01 22:51:31 tgl Exp $
*
*-------------------------------------------------------------------------
*/
* Skip any trailing whitespace; if anything but whitespace
* remains before the terminating character, bail out
*/
- while (*badp != c && isspace(*badp))
+ while (*badp != c && isspace((unsigned char) *badp))
badp++;
if (*badp != c)