Modify int8 to not depend on sscanf(), and fix configure's test

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 724119a979f8f28c9e2acf92b95ef0c476768e65
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-02-03T00:18:53Z
Releases: 7.1.1
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.

Files

PathChange+/−
src/backend/utils/adt/int8.c modified +19 −5
src/configure modified +243 −242
src/configure.in modified +82 −75