diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-06-14 18:18:01 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-06-14 18:18:01 +0000 |
commit | 44d1abebb48d678ac1b75f6556c68c9634cb235b (patch) | |
tree | fe1efd24fb2fa1565bb69533583bda1e94f13a08 /src/backend/utils/adt/acl.c | |
parent | 4786a808d9f58746ebb77bf78a6ae2d0854cd6b9 (diff) | |
download | postgresql-44d1abebb48d678ac1b75f6556c68c9634cb235b.tar.gz postgresql-44d1abebb48d678ac1b75f6556c68c9634cb235b.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/acl.c')
-rw-r--r-- | src/backend/utils/adt/acl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/acl.c b/src/backend/utils/adt/acl.c index 0a6c664e7dc..4cbaba9b12f 100644 --- a/src/backend/utils/adt/acl.c +++ b/src/backend/utils/adt/acl.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.46 2000/06/05 07:28:51 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.47 2000/06/14 18:17:42 petere Exp $ * *------------------------------------------------------------------------- */ @@ -55,7 +55,7 @@ getid(char *s, char *n) Assert(s && n); - while (isspace(*s)) + while (isspace((int) *s)) ++s; if (*s == '"') @@ -64,7 +64,7 @@ getid(char *s, char *n) s++; } - for (id = s, len = 0; isalnum(*s) || *s == '_' || in_quotes; ++len, ++s) + for (id = s, len = 0; isalnum((int) *s) || *s == '_' || in_quotes; ++len, ++s) { if (in_quotes && *s == '"') { @@ -78,7 +78,7 @@ getid(char *s, char *n) if (len > 0) memmove(n, id, len); n[len] = '\0'; - while (isspace(*s)) + while (isspace((int) *s)) ++s; return s; } @@ -147,7 +147,7 @@ aclparse(char *s, AclItem *aip, unsigned *modechg) } aip->ai_mode = ACL_NO; - while (isalpha(*++s)) + while (isalpha((int) *++s)) { switch (*s) { @@ -244,7 +244,7 @@ aclitemin(char *s) s = aclparse(s, aip, &modechg); if (modechg != ACL_MODECHG_EQL) elog(ERROR, "aclitemin: cannot accept anything but = ACLs"); - while (isspace(*s)) + while (isspace((int) *s)) ++s; if (*s) elog(ERROR, "aclitemin: extra garbage at end of specification"); |