]> granicus.if.org Git - postgresql/commit
Modify int8 to not depend on sscanf(), and fix configure's test
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Feb 1999 00:18:53 +0000 (00:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Feb 1999 00:18:53 +0000 (00:18 +0000)
commit724119a979f8f28c9e2acf92b95ef0c476768e65
tree34e63bc02d5b8764ce311c0c0a61cbb9e360dccc
parent4090d17fee7f6028e6e969d1a32d84fed67803e4
Modify int8 to not depend on sscanf(), and fix configure's test
for int8 support.  configure now checks only snprintf() for int8 support,
not sprintf and sscanf as it used to.  The reason for doing this is that
if we are supplying our own snprintf code (which does handle long long int),
we now only need working long long support in the compiler not in the
platform's C library.  I have verified that int8 now passes regression test
on HPUX 9, and I think it should work on SunOS 4.1.* and other older
platforms if gcc is used.
src/backend/utils/adt/int8.c
src/configure
src/configure.in