Random speculation about the reason for PPC64 buildfarm failures:

maybe isalnum is returning a value with the low-order byte all zero?
This commit is contained in:
Tom Lane 2008-10-06 05:03:27 +00:00
parent dad4215d0a
commit 557faa4fb3
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
* formatting.c * formatting.c
* *
* $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.148 2008/09/26 15:35:28 tgl Exp $ * $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.149 2008/10/06 05:03:27 tgl Exp $
* *
* *
* Portions Copyright (c) 1999-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1999-2008, PostgreSQL Global Development Group
@ -1549,7 +1549,7 @@ char *
str_initcap(const char *buff, size_t nbytes) str_initcap(const char *buff, size_t nbytes)
{ {
char *result; char *result;
bool wasalnum = false; int wasalnum = false;
if (!buff) if (!buff)
return NULL; return NULL;