]> granicus.if.org Git - postgresql/commit
Fix unportable usage of isspace().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Jun 2013 17:58:23 +0000 (13:58 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Jun 2013 17:58:23 +0000 (13:58 -0400)
commita149d8bd56edc2f06643118ed8aac8bce6ebad6d
tree57953c246e1f1717faf7f122c93fd828c95c725e
parentc9fc28a7f12e27d530e2657c9dc6080fbfbe8a14
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.
src/bin/pg_basebackup/pg_basebackup.c