mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03:00
Big warnings cleanup for Solaris/GCC. Down to about 40 now, but
we'll get there one day. Use `cat' to create aclocal.m4, not `aclocal'. Some people don't have automake installed. Only run the autoconf rule in the top-level GNUmakefile if the invoker specified `make configure', don't run it automatically because of CVS timestamp skew.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.36 2000/06/09 01:44:03 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.37 2000/06/14 18:17:25 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -96,7 +96,7 @@ get_token(char **tok, char **val, char *str)
|
||||
return NULL;
|
||||
|
||||
/* skip leading white space */
|
||||
while (isspace(*str))
|
||||
while (isspace((int) *str))
|
||||
str++;
|
||||
|
||||
/* end of string? then return NULL */
|
||||
@@ -110,7 +110,7 @@ get_token(char **tok, char **val, char *str)
|
||||
*tok = str;
|
||||
|
||||
/* Advance to end of word */
|
||||
while (*str && !isspace(*str) && *str != ',' && *str != '=')
|
||||
while (*str && !isspace((int) *str) && *str != ',' && *str != '=')
|
||||
str++;
|
||||
|
||||
/* Terminate word string for caller */
|
||||
@@ -118,7 +118,7 @@ get_token(char **tok, char **val, char *str)
|
||||
*str = '\0';
|
||||
|
||||
/* Skip any whitespace */
|
||||
while (isspace(ch))
|
||||
while (isspace((int) ch))
|
||||
ch = *(++str);
|
||||
|
||||
/* end of string? */
|
||||
@@ -136,7 +136,7 @@ get_token(char **tok, char **val, char *str)
|
||||
str++;
|
||||
|
||||
/* skip whitespace after '=' */
|
||||
while (isspace(*str))
|
||||
while (isspace((int) *str))
|
||||
str++;
|
||||
|
||||
if (*str == ',' || *str == '\0')
|
||||
@@ -146,7 +146,7 @@ get_token(char **tok, char **val, char *str)
|
||||
*val = str;
|
||||
|
||||
/* Advance to end of word */
|
||||
while (*str && !isspace(*str) && *str != ',')
|
||||
while (*str && !isspace((int) *str) && *str != ',')
|
||||
str++;
|
||||
|
||||
/* Terminate word string for caller */
|
||||
@@ -154,7 +154,7 @@ get_token(char **tok, char **val, char *str)
|
||||
*str = '\0';
|
||||
|
||||
/* Skip any whitespace */
|
||||
while (isspace(ch))
|
||||
while (isspace((int) ch))
|
||||
ch = *(++str);
|
||||
|
||||
/* end of string? */
|
||||
|
Reference in New Issue
Block a user