sys-file-reader: Don't skip "too many value labels" test anymore. 20140221030518/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 20 Feb 2014 16:33:21 +0000 (08:33 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 20 Feb 2014 16:33:31 +0000 (08:33 -0800)
Previously the maximum number of value labels depended on the size of
size_t, so that it was impossible to have too many on 64-bit systems, but
a recent change made the maximum number of value labels depend on the
size of unsigned int instead, so now 32- and 64-bit systems are the same.
This commit reverts the code that skips the test.

configure.ac
tests/atlocal.in
tests/data/sys-file-reader.at

index 7ec5a0231a4c250c433a00d918f59cd86d4fe5a8..4b91e730980b0a614102da9004721925524cf43c 100644 (file)
@@ -305,10 +305,6 @@ gl_INIT
 
 AC_C_INLINE
 
-AC_CHECK_SIZEOF([size_t])
-SIZEOF_SIZE_T=$ac_cv_sizeof_size_t
-AC_SUBST([SIZEOF_SIZE_T])
-
 AC_C_BIGENDIAN
 
 AC_CHECK_FUNCS([__setfpucw fork execl isinf isnan finite getpid feholdexcept fpsetmask popen round])
index 7c23b79662ff3e9dcecb6047fb91ba66219a5458..fae659ae3d076f7230cb945e2cd19211fa267818 100644 (file)
@@ -7,7 +7,6 @@ ODF_READ_SUPPORT='@ODF_READ_SUPPORT@'
 PERL='@PERL@'
 WITH_PERL_MODULE='@WITH_PERL_MODULE@'
 host='@host@'
-SIZEOF_SIZE_T='@SIZEOF_SIZE_T@'
 
 PSQL_SUPPORT='@PSQL_SUPPORT@'
 if test "$PSQL_SUPPORT" = yes; then
index c63e751f230d1f7b4c84001950e18dd9065891d7..7291e836e6a398bc0f41578cc93e472906da28fa 100644 (file)
@@ -3124,9 +3124,6 @@ done
 AT_CLEANUP
 
 AT_SETUP([too many value labels])
-dnl Skip the test if multiplying a small number by INT32_MAX would not
-dnl cause an overflow in size_t.
-AT_SKIP_IF([test $SIZEOF_SIZE_T -gt 4])
 AT_KEYWORDS([sack synthetic system file negative])
 AT_DATA([sys-file.sack], [dnl
 dnl File header.