aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-03-01 03:26:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-03-01 03:26:44 +0000
commit0b173a6e8df85aa2a924003188520adda3e2d16b (patch)
treea493dc720041d3253d218c53ae69799e78b0ae62 /src/tutorial/basics.source
parent25819aaee3c319088fff39e5efab68b3280d7eaf (diff)
downloadpostgresql-0b173a6e8df85aa2a924003188520adda3e2d16b.tar.gz
postgresql-0b173a6e8df85aa2a924003188520adda3e2d16b.zip
Fix unportable usages of tolower(). On signed-char machines, it is necessary
to explicitly cast the output back to char before comparing it to a char value, else we get the wrong result for high-bit-set characters. Found by Rolf Jentsch. Also, fix several places where <ctype.h> functions were being called without casting the argument to unsigned char; this is likewise unportable, but we keep making that mistake :-(. These found by buildfarm member salamander, which I will desperately miss if it ever goes belly-up.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions