diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1999-05-27 08:26:28 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-05-27 16:57:19 +0000 |
commit | d2201af29f5816f4d8147ff7af9b9a71b084ce41 (patch) | |
tree | c21f9da1c1f3aa7a97178942592c94e7e8eadb26 /hints | |
parent | ce72088916dcda8278192dacefb0dcaf01be131c (diff) | |
download | perl-d2201af29f5816f4d8147ff7af9b9a71b084ce41.tar.gz |
Re: 5.005_57 NOT OK on SunOS 4.1.3
To: Perl Porters <perl5-porters@perl.org>
Message-Id: <Pine.GSU.4.05.9905271120230.22115-100000@newton.phys>
p4raw-id: //depot/cfgperl@3488
Diffstat (limited to 'hints')
-rw-r--r-- | hints/sunos_4_1.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hints/sunos_4_1.sh b/hints/sunos_4_1.sh index 6d94bdbd1f..af0bca1398 100644 --- a/hints/sunos_4_1.sh +++ b/hints/sunos_4_1.sh @@ -30,7 +30,15 @@ d_tzname='undef' i_unistd='undef' # See util.c for another: We need _SC_OPEN_MAX, which is in # <unistd.h>. -util_cflags='ccflags="$ccflags -DI_UNISTD"' + +# fflush(NULL) will core dump on SunOS 4.1.3. In util.c we'll +# try explicitly fflushing all open files. Unfortunately, +# on my SunOS 4.1.3 system, sysconf(_SC_OPEN_MAX) returns +# 64, but only 32 of those file pointers can be accessed +# directly by _iob[i]. The remainder are off in dynamically +# allocated memory somewhere and I don't know to automatically +# fflush() them. -- Andy Dougherty Wed May 26 15:25:22 EDT 1999 +util_cflags='ccflags="$ccflags -DPERL_FFLUSH_ALL_FOPEN_MAX=32"' cat << 'EOM' >&4 |