pgsql: Fix unportable usage of isspace().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix unportable usage of isspace().
Date: 2013-06-01 17:58:45
Message-ID: E1Uiq4j-0008UX-9t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix unportable usage of isspace().

Must cast char argument to unsigned to avoid doing the wrong thing
with high-bit-set characters. Oversight in commit
30b5ede7157e34e77c7914b8ecfd55aa8da6edc3.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a149d8bd56edc2f06643118ed8aac8bce6ebad6d

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2013-06-02 02:08:53 pgsql: Fix whitespace issues in the man pages
Previous Message Thom Brown 2013-06-01 14:32:31 Re: pgsql: Minor spelling fixes