summaryrefslogtreecommitdiff
path: root/wince
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 /wince
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 'wince')
-rw-r--r--wince/Makefile.ce2
-rw-r--r--wince/config.ce109
2 files changed, 106 insertions, 5 deletions
diff --git a/wince/Makefile.ce b/wince/Makefile.ce
index f95c49c87d..d45cdbb2f2 100644
--- a/wince/Makefile.ce
+++ b/wince/Makefile.ce
@@ -513,6 +513,7 @@ MICROCORE_SRC = \
..\pp_pack.c \
..\pp_sort.c \
..\pp_sys.c \
+ ..\reentr.c \
..\regcomp.c \
..\regexec.c \
..\run.c \
@@ -960,6 +961,7 @@ $(DLLDIR)\pp_hot.obj \
$(DLLDIR)\pp_pack.obj \
$(DLLDIR)\pp_sort.obj \
$(DLLDIR)\pp_sys.obj \
+$(DLLDIR)\reentr.obj \
$(DLLDIR)\regcomp.obj \
$(DLLDIR)\regexec.obj \
$(DLLDIR)\run.obj \
diff --git a/wince/config.ce b/wince/config.ce
index 755e46903a..86ac886773 100644
--- a/wince/config.ce
+++ b/wince/config.ce
@@ -13,6 +13,7 @@ RCSfile='$RCSfile'
Revision='$Revision'
Source=''
State=''
+# keep this for WinCE, as it is used by some mods...
_a='.lib'
_exe='.exe'
_o='.obj'
@@ -30,6 +31,7 @@ archlibexp='~INST_TOP~~INST_VER~\lib~INST_ARCH~'
archname64=''
archname='wince'
archobjs=''
+asctime_r_proto='0'
awk='awk'
baserev='5'
bash=''
@@ -70,8 +72,11 @@ cpprun='cl -nologo -E'
cppstdin='cl -nologo -E'
cppsymbols=''
crosscompile='undef'
+crypt_r_proto='0'
cryptlib=''
csh='undef'
+ctermid_r_proto='0'
+ctime_r_proto='0'
d_Gconvert='sprintf((b),"%.*g",(n),(x))'
d_PRIEldbl='undef'
d_PRIFldbl='undef'
@@ -89,6 +94,7 @@ d_access='define'
d_accessx='undef'
d_alarm='undef'
d_archlib='define'
+d_asctime_r='undef'
d_atolf='undef'
d_atoll='undef'
d_attribut='undef'
@@ -109,7 +115,10 @@ d_class='undef'
d_closedir='define'
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='define'
d_difftime='define'
@@ -119,15 +128,22 @@ d_dlerror='define'
d_dlopen='define'
d_dlsymun='undef'
d_dosuid='undef'
+d_drand48_r='undef'
d_drand48proto='undef'
d_dup2='define'
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_endspent='undef'
d_eofnblk='define'
d_eunice='undef'
@@ -159,18 +175,28 @@ d_ftime='define'
d_getcwd='define'
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='define'
+d_gethostbyaddr_r='undef'
+d_gethostbyname_r='undef'
+d_gethostent_r='undef'
d_gethostprotos='define'
d_getlogin='define'
+d_getlogin_r='undef'
d_getmnt='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='undef'
d_getpbyname='define'
d_getpbynumber='define'
@@ -180,15 +206,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_getpwent='undef'
+d_getpwent_r='undef'
+d_getpwnam_r='undef'
+d_getpwuid_r='undef'
d_getsbyname='define'
d_getsbyport='define'
d_getsent='undef'
+d_getservbyname_r='undef'
+d_getservbyport_r='undef'
+d_getservent_r='undef'
d_getservprotos='define'
d_getspent='undef'
d_getspnam='undef'
+d_getspnam_r='undef'
d_gettimeod='undef'
+d_gmtime_r='undef'
d_gnulibc='undef'
d_grpasswd='undef'
d_hasmntopt='undef'
@@ -205,6 +242,7 @@ d_killpg='undef'
d_lchown='undef'
d_ldbl_dig='define'
d_link='define'
+d_localtime_r='undef'
d_locconv='define'
d_lockf='undef'
d_longdbl='undef'
@@ -266,7 +304,10 @@ d_pwpasswd='undef'
d_pwquota='undef'
d_qgcvt='undef'
d_quad='undef'
+d_random_r='undef'
+d_readdir64_r='undef'
d_readdir='define'
+d_readdir_r='undef'
d_readlink='undef'
d_rename='define'
d_rewinddir='define'
@@ -287,17 +328,23 @@ d_semop='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_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_setprotoent_r='undef'
d_setpwent='undef'
+d_setpwent_r='undef'
d_setregid='undef'
d_setresgid='undef'
d_setresuid='undef'
@@ -305,6 +352,7 @@ d_setreuid='undef'
d_setrgid='undef'
d_setruid='undef'
d_setsent='undef'
+d_setservent_r='undef'
d_setsid='undef'
d_setspent='undef'
d_setvbuf='undef'
@@ -321,6 +369,8 @@ d_socket='define'
d_socklen_t='undef'
d_sockpair='undef'
d_sqrtl='undef'
+d_srand48_r='undef'
+d_srandom_r='undef'
d_statblks='undef'
d_statfs_f_flags='undef'
d_statfs_s='undef'
@@ -335,6 +385,7 @@ d_strcoll='undef'
d_strctcpy='define'
d_strerrm='strerror(e)'
d_strerror='define'
+d_strerror_r='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
@@ -356,7 +407,11 @@ d_telldir='define'
d_telldirproto='define'
d_time='define'
d_times='define'
+d_tm_tm_gmtoff='undef'
+d_tm_tm_zone='undef'
+d_tmpnam_r='undef'
d_truncate='undef'
+d_ttyname_r='undef'
d_tzname='define'
d_umask='define'
d_uname='define'
@@ -388,12 +443,19 @@ dlext='dll'
dlsrc='dl_win32.xs'
doublesize='8'
drand01='(rand()/(double)((unsigned)1<<RANDBITS))'
+drand48_r_proto='0'
dynamic_ext='Socket IO Fcntl Opcode SDBM_File attrs Thread'
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='.exe'
expr='expr'
@@ -410,11 +472,32 @@ full_ar=''
full_csh=''
full_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'
gidformat='"ld"'
gidsign='-1'
gidsize='4'
gidtype='gid_t'
glibpth='/usr/shlib /lib/pa1.1 /usr/lib/large /lib /usr/lib /usr/lib/386 /lib/386 /lib/large /usr/lib/small /lib/small /usr/ccs/lib /usr/ucblib /usr/shlib '
+gmtime_r_proto='0'
grep='grep'
groupcat=''
groupstype='gid_t'
@@ -434,6 +517,7 @@ i8size='1'
i8type='char'
i_arpainet='define'
i_bsdioctl=''
+i_crypt='undef'
i_db='undef'
i_dbm='undef'
i_dirent='define'
@@ -488,9 +572,9 @@ i_sysresrc='undef'
i_syssecrt='undef'
i_sysselct='undef'
i_syssockio='undef'
+i_sysstat='define'
i_sysstatfs='undef'
i_sysstatvfs='undef'
-i_sysstat='define'
i_systime='undef'
i_systimek='undef'
i_systimes='undef'
@@ -517,12 +601,12 @@ incpath=''
inews=''
installarchlib='~INST_TOP~~INST_VER~\lib~INST_ARCH~'
installbin='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
+installhtmldir='~INST_TOP~~INST_VER~\html'
+installhtmlhelpdir='~INST_TOP~~INST_VER~\htmlhelp'
installman1dir='~INST_TOP~~INST_VER~\man\man1'
installman3dir='~INST_TOP~~INST_VER~\man\man3'
installprefix='~INST_TOP~~INST_VER~'
installprefixexp='~INST_TOP~~INST_VER~'
-installhtmldir='~INST_TOP~~INST_VER~\html'
-installhtmlhelpdir='~INST_TOP~~INST_VER~\htmlhelp'
installprivlib='~INST_TOP~~INST_VER~\lib'
installscript='~INST_TOP~~INST_VER~\bin'
installsitearch='~INST_TOP~\site~INST_VER~\lib~INST_ARCH~'
@@ -560,6 +644,7 @@ lint=''
lkflags=''
ln=''
lns='copy'
+localtime_r_proto='0'
locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
longdblsize='10'
@@ -616,7 +701,6 @@ obj_ext='.obj'
old_pthread_create_joinable=''
optimize='-O'
orderlib='false'
-# keep this for WinCE, as it is used by some mods...
osname='MSWin32'
osvers='4.0'
package='perl5'
@@ -646,14 +730,16 @@ quadkind='5'
quadtype='__int64'
randbits='15'
randfunc='rand'
+random_r_proto='0'
randseedtype='unsigned'
ranlib='rem'
rd_nodata='-1'
+readdir64_r_proto='0'
+readdir_r_proto='0'
revision='5'
rm='del'
rmail=''
runnm='true'
-sig_size='0'
sPRIEldbl='"E"'
sPRIFldbl='"F"'
sPRIGldbl='"G"'
@@ -674,6 +760,13 @@ seedfunc='srand'
selectminbits='32'
selecttype='Perl_fd_set *'
sendmail='blat'
+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='cmd /x /c'
shar=''
sharpbang='#!'
@@ -686,6 +779,7 @@ sig_name='ZERO NUM01 INT QUIT ILL NUM05 NUM06 NUM07 FPE KILL NUM10 SEGV NUM12 PI
sig_name_init='"ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0'
sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 20 0'
sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0'
+sig_size='0'
signal_t='void'
sitearch='~INST_TOP~\site~INST_VER~\lib~INST_ARCH~'
sitearchexp='~INST_TOP~\site~INST_VER~\lib~INST_ARCH~'
@@ -709,6 +803,8 @@ sort='sort'
spackage='Perl5'
spitshell=''
split=''
+srand48_r_proto='0'
+srandom_r_proto='0'
src=''
ssizetype='int'
startperl='#!perl'
@@ -721,6 +817,7 @@ stdio_cnt=''
stdio_filbuf=''
stdio_ptr=''
stdio_stream_array=''
+strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
subversion='~SUBVERSION~'
@@ -732,10 +829,12 @@ tee=''
test=''
timeincl='/usr/include/sys/time.h '
timetype='time_t'
+tmpnam_r_proto='0'
touch='touch'
tr=''
trnl='\012'
troff=''
+ttyname_r_proto='0'
u16size='2'
u16type='unsigned short'
u32size='4'