summaryrefslogtreecommitdiff
path: root/epoc
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-15 16:07:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-15 16:07:58 +0000
commit10bc17b68c7666cd045658934ccb75dd788c8972 (patch)
tree0a97f4e9c6e3aa079acc3ca0c75d94be194c1387 /epoc
parent6ab308ee9dcbdd9e40dc1aa7ca450e7f854eb8fe (diff)
downloadperl-10bc17b68c7666cd045658934ccb75dd788c8972.tar.gz
Monster _r patch: try to scan for all known _r variants,
and then use them (under ithreads). May fail in HP-UX, and the op/groups is known to be fickle everywhere. Known to work in Solaris, Linux, Tru64, IRIX, AIX. (Some compiler warnings in AIX since the first arguments of getnetbyaddr and getnetbyadd_r are of different types. Thanks, IBM.) In non-Configure platforms deny the existence of any of the _r thingies. (Also add the recently introduced d_tm_* to places it wasn't already in.) TODO: the suggested glibc buffer growth retry loop in case some entries (at least for: gr*, host*) are big. Forgot win32/config.win64. p4raw-id: //depot/perl@15238
Diffstat (limited to 'epoc')
-rw-r--r--epoc/config.sh103
1 files changed, 101 insertions, 2 deletions
diff --git a/epoc/config.sh b/epoc/config.sh
index 266960fd19..ad19c35f45 100644
--- a/epoc/config.sh
+++ b/epoc/config.sh
@@ -38,6 +38,7 @@ archlibexp='?:/perl/lib/5.7.3/epoc'
archname64=''
archname='epoc'
archobjs='epoc.o epocish.o epoc_stubs.o'
+asctime_r_proto='0'
awk='awk'
baserev='5.0'
bash=''
@@ -76,8 +77,11 @@ cppminus='-'
cpprun='arm-epoc-pe-gcc -E'
cppstdin='arm-epoc-pe-gcc -E'
cppsymbols=''
+crypt_r_proto='0'
cryptlib=''
csh='csh'
+ctermid_r_proto='0'
+ctime_r_proto='0'
d_Gconvert='epoc_gcvt((x),(n),(b))'
d_PRIEUldbl='undef'
d_PRIFUldbl='undef'
@@ -96,6 +100,7 @@ d_access='undef'
d_accessx='undef'
d_alarm='undef'
d_archlib='define'
+d_asctime_r='undef'
d_atolf='undef'
d_atoll='undef'
d_attribut='undef'
@@ -118,7 +123,10 @@ d_cmsghdr_s='undef'
d_cmsghdr_s='undef'
d_const='define'
d_crypt='undef'
+d_crypt_r='undef'
d_csh='undef'
+d_ctermid_r='undef'
+d_ctime_r='undef'
d_cuserid='undef'
d_dbl_dig='undef'
d_dbminitproto='undef'
@@ -129,15 +137,22 @@ d_dlerror='undef'
d_dlopen='undef'
d_dlsymun='undef'
d_dosuid='undef'
+d_drand48_r='undef'
d_drand48proto='define'
d_dup2='undef'
d_eaccess='undef'
d_endgrent='undef'
+d_endgrent_r='undef'
d_endhent='undef'
+d_endhostent_r='undef'
d_endnent='undef'
+d_endnetent_r='undef'
d_endpent='undef'
+d_endprotoent_r='undef'
d_endpwent='undef'
+d_endpwent_r='undef'
d_endsent='undef'
+d_endservent_r='undef'
d_eofnblk='define'
d_eunice='undef'
d_fchdir='undef'
@@ -172,18 +187,28 @@ d_ftime='undef'
d_getespwnam='undef'
d_getfsstat='undef'
d_getgrent='undef'
+d_getgrent_r='undef'
+d_getgrgid_r='undef'
+d_getgrnam_r='undef'
d_getgrps='undef'
d_gethbyaddr='define'
d_gethbyname='define'
d_gethent='undef'
d_gethname='undef'
+d_gethostbyaddr_r='undef'
+d_gethostbyname_r='undef'
+d_gethostent_r='undef'
d_gethostprotos='define'
d_getitimer='undef'
d_getlogin='undef'
+d_getlogin_r='undef'
d_getmntent='undef'
d_getnbyaddr='undef'
d_getnbyname='undef'
d_getnent='undef'
+d_getnetbyaddr_r='undef'
+d_getnetbyname_r='undef'
+d_getnetent_r='undef'
d_getnetprotos='define'
d_getpagsz='undef'
d_getpbyname='define'
@@ -194,15 +219,26 @@ d_getpgrp2='undef'
d_getpgrp='undef'
d_getppid='undef'
d_getprior='undef'
+d_getprotobyname_r='undef'
+d_getprotobynumber_r='undef'
+d_getprotoent_r='undef'
d_getprotoprotos='define'
d_getprpwnam='undef'
d_getpwent='undef'
+d_getpwent_r='undef'
+d_getpwnam_r='undef'
+d_getpwuid_r='undef'
d_getsbyname='undef'
d_getsbyport='undef'
d_getsent='undef'
+d_getservbyname_r='undef'
+d_getservbyport_r='undef'
+d_getservent_r='undef'
d_getservprotos='define'
d_getspnam='undef'
+d_getspnam_r='undef'
d_gettimeod='define'
+d_gmtime_r='undef'
d_gnulibc='undef'
d_grpasswd='undef'
d_hasmntopt='undef'
@@ -221,6 +257,7 @@ d_lchown='undef'
d_ldbl_dig='undef'
d_link='undef'
d_llseek='undef'
+d_localtime_r='undef'
d_locconv='undef'
d_lockf='undef'
d_longdbl='undef'
@@ -284,7 +321,10 @@ d_pwgecos='undef'
d_pwpasswd='undef'
d_pwquota='undef'
d_qgcvt='undef'
+d_random_r='undef'
+d_readdir64_r='undef'
d_readdir='define'
+d_readdir_r='undef'
d_readlink='undef'
d_readv='undef'
d_readv='undef'
@@ -311,19 +351,25 @@ d_sendmsg='undef'
d_setegid='undef'
d_seteuid='undef'
d_setgrent='undef'
+d_setgrent_r='undef'
d_setgrps='undef'
d_sethent='undef'
+d_sethostent_r='undef'
d_setitimer='undef'
d_setlinebuf='undef'
d_setlocale='undef'
+d_setlocale_r='undef'
d_setnent='undef'
+d_setnetent_r='undef'
d_setpent='undef'
d_setpgid='undef'
d_setpgrp2='undef'
d_setpgrp='undef'
d_setprior='undef'
d_setproctitle='undef'
+d_setprotoent_r='undef'
d_setpwent='undef'
+d_setpwent_r='undef'
d_setregid='undef'
d_setresgid='undef'
d_setresuid='undef'
@@ -331,6 +377,7 @@ d_setreuid='undef'
d_setrgid='undef'
d_setruid='undef'
d_setsent='undef'
+d_setservent_r='undef'
d_setsid='undef'
d_setvbuf='undef'
d_sfio='undef'
@@ -348,6 +395,8 @@ d_sockatmarkproto='undef'
d_socket='define'
d_sockpair='undef'
d_socks5_init='undef'
+d_srand48_r='undef'
+d_srandom_r='undef'
d_sresgproto='undef'
d_sresuproto='undef'
d_statblks='define'
@@ -366,6 +415,7 @@ d_strcoll='define'
d_strctcpy='define'
d_strerrm='strerror(e)'
d_strerror='define'
+d_strerror_r='undef'
d_strftime='define'
d_strtod='define'
d_strtol='define'
@@ -388,7 +438,11 @@ d_telldir='define'
d_telldirproto='define'
d_time='undef'
d_times='undef'
+d_tm_tm_gmtoff='undef'
+d_tm_tm_zone='undef'
+d_tmpnam_r='undef'
d_truncate='undef'
+d_ttyname_r='undef'
d_tzname='undef'
d_u32align='define'
d_ualarm='undef'
@@ -419,12 +473,19 @@ dlext='none'
dlsrc='dl_none.xs'
doublesize='8'
drand01='(rand()/(double)(1U<<RANDBITS))'
+drand48_r_proto='0'
dynamic_ext=''
eagain='EAGAIN'
ebcdic='undef'
echo='echo'
egrep='egrep'
emacs=''
+endgrent_r_proto='0'
+endhostent_r_proto='0'
+endnetent_r_proto='0'
+endprotoent_r_proto='0'
+endpwent_r_proto='0'
+endservent_r_proto='0'
eunicefix=':'
exe_ext=''
expr='expr'
@@ -440,8 +501,29 @@ full_ar='arm-epoc-pe-ar'
full_csh=''
full_sed='/usr/bin/sed'
gccversion=''
+getgrent_r_proto='0'
+getgrgid_r_proto='0'
+getgrnam_r_proto='0'
+gethostbyaddr_r_proto='0'
+gethostbyname_r_proto='0'
+gethostent_r_proto='0'
+getlogin_r_proto='0'
+getnetbyaddr_r_proto='0'
+getnetbyname_r_proto='0'
+getnetent_r_proto='0'
+getprotobyname_r_proto='0'
+getprotobynumber_r_proto='0'
+getprotoent_r_proto='0'
+getpwent_r_proto='0'
+getpwnam_r_proto='0'
+getpwuid_r_proto='0'
+getservbyname_r_proto='0'
+getservbyport_r_proto='0'
+getservent_r_proto='0'
+getspnam_r_proto='0'
gidtype='gid_t'
glibpth=''
+gmtime_r_proto='0'
grep='grep'
groupcat=''
groupstype='gid_t'
@@ -452,6 +534,7 @@ hint=''
hostcat=''
i_arpainet='define'
i_bsdioctl='undef'
+i_crypt='undef'
i_db='undef'
i_dbm='undef'
i_dirent='define'
@@ -560,6 +643,7 @@ lint=''
lkflags=''
ln='ln'
lns='/bin/ln -s'
+localtime_r_proto='0'
locincpth=''
loclibpth=''
longdblsize='8'
@@ -646,14 +730,17 @@ prefix=''
prefixexp=''
privlib='?:/perl/lib/5.7.3'
privlibexp='?:/perl/lib/5.7.3'
-prototype='define'
procselfexe=''
+prototype='define'
ptrsize='4'
randbits='31'
randfunc=''
+random_r_proto='0'
randseedtype='unsigned'
ranlib='arm-epoc-pe-ranlib'
rd_nodata='-1'
+readdir64_r_proto='0'
+readdir_r_proto='0'
rm='rm'
rmail=''
runnm='false'
@@ -677,6 +764,13 @@ seedfunc='srand'
selectminbits='32'
selecttype=''
sendmail=''
+setgrent_r_proto='0'
+sethostent_r_proto='0'
+setlocale_r_proto='0'
+setnetent_r_proto='0'
+setprotoent_r_proto='0'
+setpwent_r_proto='0'
+setservent_r_proto='0'
sh='/bin/sh'
shar=''
sharpbang='#!'
@@ -702,12 +796,14 @@ sizetype='size_t'
sleep=''
smail=''
so=''
-socksizetype='size_t'
sockethdr=''
socketlib=''
+socksizetype='size_t'
sort='sort'
spackage=''
spitshell='cat'
+srand48_r_proto='0'
+srandom_r_proto='0'
src='.'
ssizetype='long'
startperl=''
@@ -720,6 +816,7 @@ stdio_cnt=''
stdio_filbuf=''
stdio_ptr=''
stdio_stream_array=''
+strerror_r_proto='0'
strings=''
submit=''
subversion=''
@@ -731,10 +828,12 @@ tee='tee'
test='test'
timeincl=''
timetype='time_t'
+tmpnam_r_proto='0'
touch='touch'
tr='tr'
trnl='\n'
troff=''
+ttyname_r_proto='0'
uidsign='1'
uidtype='uid_t'
uname='uname'