aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-01-12 19:24:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-01-12 19:24:02 +0000
commit01e2a15adac9e437ac16fd0a6aef427f4eb78aad (patch)
treeac6f796e89002e9923aad1407e7f7ccb0c125f40 /src/tutorial/basics.source
parent2946ccf35f3a2ba1f3eb78bdc24433ad2d472192 (diff)
downloadpostgresql-01e2a15adac9e437ac16fd0a6aef427f4eb78aad.tar.gz
postgresql-01e2a15adac9e437ac16fd0a6aef427f4eb78aad.zip
Use a more bulletproof test for whether finite() and isinf() are present.
It seems that recent gcc versions can optimize away calls to these functions even when the functions do not exist on the platform, resulting in a bogus positive result. Avoid this by using a non-constant argument and ensuring that the function result is not simply discarded. Per report from François Laupretre.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions