]> Savannah Git Hosting - gnulib.git/commit
sigsegv, vma-iter: port to Solaris 10
authorPaul Eggert <eggert@trombone>
Sun, 22 Jan 2023 06:49:04 +0000 (00:49 -0600)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Jan 2023 06:49:53 +0000 (00:49 -0600)
commitb5e5591e934caaa561e3b6ab7bcb3f50db93f841
tree204c20ca354c093bfdaab72fe7fa055cff5a1036
parent9041103ed4a5bd4406d05cf12e46330b3dabb33c
sigsegv, vma-iter: port to Solaris 10

On this platform, <sys/types.h> does not define off_t if neither
_LP64 nor _FILE_OFFSET_BITS is defined, which can happen if we
#undef _FILE_OFFSET_BITS.  This became a problem with the new way
of doing stdbool, since config.h now includes <stdbool.h>, and
Solaris 10 <stdbool.h> includes <sys/feature_tests.h> which
arranges for _FILE_OFFSET_BITS to always be defined (if only to 32),
which <sys/types.h> assumes.
* lib/stackvma.c, lib/vma-iter.c (_FILE_OFFSET_BITS) [__sun && !_LP64]:
Define to 32 instead of leaving undefined.
ChangeLog
lib/stackvma.c
lib/vma-iter.c