diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-15 16:07:58 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-15 16:07:58 +0000 |
commit | 10bc17b68c7666cd045658934ccb75dd788c8972 (patch) | |
tree | 0a97f4e9c6e3aa079acc3ca0c75d94be194c1387 /vos | |
parent | 6ab308ee9dcbdd9e40dc1aa7ca450e7f854eb8fe (diff) | |
download | perl-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 'vos')
-rw-r--r-- | vos/build.cm | 6 | ||||
-rw-r--r-- | vos/config.alpha.def | 121 | ||||
-rw-r--r-- | vos/config.alpha.h | 493 | ||||
-rw-r--r-- | vos/config.ga.def | 121 | ||||
-rw-r--r-- | vos/config.ga.h | 493 | ||||
-rw-r--r-- | vos/perl.bind | 2 |
6 files changed, 1209 insertions, 27 deletions
diff --git a/vos/build.cm b/vos/build.cm index 5eb56a2959..991530f448 100644 --- a/vos/build.cm +++ b/vos/build.cm @@ -182,6 +182,8 @@ &if (command_status) ^= 0 &then &return !&compiler& <<pp_sys.c &diag& &cpu& &cflags& -o pp_sys&s& &if (command_status) ^= 0 &then &return +!&compiler& <<reentr.c &diag& &cpu& &cflags& -o reentr&s& +&if (command_status) ^= 0 &then &return !&compiler& <<regcomp.c &diag& &cpu& &cflags& -o regcomp&s& &if (command_status) ^= 0 &then &return !&compiler& <<regexec.c &diag& &cpu& &cflags& -o regexec&s& @@ -215,8 +217,8 @@ !delete_file perl.a !ar rc perl.a av.o deb.o doio.o doop.o dump.o globals.o gv.o hv.o locale.o &+ mg.o numeric.o op.o perl.o perlapi.o perlio.o perly.o pp.o pp_ctl.o &+ - pp_hot.o pp_pack.o pp_sort.o pp_sys.o regcomp.o regexec.o run.o scope.o &+ - sv.o taint.o toke.o universal.o utf8.o util.o xsutils.o + pp_hot.o pp_pack.o pp_sort.o pp_sys.o reentr.o regcomp.o regexec.o run.o &+ + scope.o sv.o taint.o toke.o universal.o utf8.o util.o xsutils.o !delete_file *.o -no_ask -brief &end &else &do diff --git a/vos/config.alpha.def b/vos/config.alpha.def index 250c5e1b5a..3131ce7449 100644 --- a/vos/config.alpha.def +++ b/vos/config.alpha.def @@ -1,20 +1,25 @@ +$CONFIG_SH='config.sh' +$Id='$Id' $alignbytes='8' $aphostname='' $archlib='' $archlibexp='' $archname='' +$asctime_r_proto='0' $bin='/system/ported/command_library' $binexp='/system/ported/command_library' $byteorder='4321' $castflags='0' $cf_by='Paul.Green@stratus.com' $cf_time='2002-02-15 20:16 UCT' -$CONFIG_SH='config.sh' $cpp_stuff='42' $cpplast='-' $cppminus='-' $cpprun='cc -E -' $cppstdin='cc -E' +$crypt_r_proto='0' +$ctermid_r_proto='0' +$ctime_r_proto='0' $d_Gconvert='sprintf((b),"%.*g",(n),(x))' $d_PRIeldbl='define' $d_PRIfldbl='define' @@ -25,6 +30,7 @@ $d_access='undef' $d_accessx='undef' $d_alarm='define' $d_archlib='undef' +$d_asctime_r='undef' $d_atolf='undef' $d_atoll='undef' $d_attribut='undef' @@ -44,7 +50,10 @@ $d_class='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='define' $d_dbminitproto='undef' @@ -54,15 +63,22 @@ $d_dirnamlen='undef' $d_dlerror='undef' $d_dlsymun='undef' $d_dosuid='undef' +$d_drand48_r='undef' $d_drand48proto='undef' $d_dup2='undef' $d_eaccess='undef' $d_endgrent='undef' +$d_endgrent_r='undef' $d_endhent='define' +$d_endhostent_r='undef' $d_endnent='define' +$d_endnetent_r='undef' $d_endpent='define' +$d_endprotoent_r='undef' $d_endpwent='undef' +$d_endpwent_r='undef' $d_endsent='define' +$d_endservent_r='undef' $d_eofnblk='define' $d_fchdir='undef' $d_fchmod='define' @@ -95,19 +111,29 @@ $d_getcwd='define' $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='define' $d_gethname='define' +$d_gethostbyaddr_r='undef' +$d_gethostbyname_r='undef' +$d_gethostent_r='undef' $d_gethostprotos='define' $d_getitimer='undef' $d_getlogin='define' +$d_getlogin_r='undef' $d_getmnt='undef' $d_getmntent='undef' $d_getnbyaddr='define' $d_getnbyname='define' $d_getnent='define' +$d_getnetbyaddr_r='undef' +$d_getnetbyname_r='undef' +$d_getnetent_r='undef' $d_getnetprotos='define' $d_getpagsz='undef' $d_getpbyname='define' @@ -118,15 +144,26 @@ $d_getpgrp2='undef' $d_getpgrp='define' $d_getppid='define' $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='define' $d_getsbyport='define' $d_getsent='define' +$d_getservbyname_r='undef' +$d_getservbyport_r='undef' +$d_getservent_r='undef' $d_getservprotos='define' $d_getspnam='undef' +$d_getspnam_r='undef' $d_gettimeod='undef' +$d_gmtime_r='undef' $d_gnulibc='undef' $d_grpasswd='undef' $d_hasmntopt='undef' @@ -143,6 +180,7 @@ $d_killpg='undef' $d_lchown='undef' $d_ldbl_dig='define' $d_link='undef' +$d_localtime_r='undef' $d_locconv='define' $d_lockf='define' $d_longdbl='define' @@ -204,7 +242,10 @@ $d_pwgecos='undef' $d_pwpasswd='undef' $d_pwquota='undef' $d_quad='undef' +$d_random_r='undef' +$d_readdir64_r='undef' $d_readdir='define' +$d_readdir_r='undef' $d_readlink='define' $d_readv='undef' $d_recvmsg='undef' @@ -226,19 +267,25 @@ $d_sendmsg='undef' $d_setegid='undef' $d_seteuid='undef' $d_setgrent='undef' +$d_setgrent_r='undef' $d_setgrps='undef' $d_sethent='define' +$d_sethostent_r='undef' $d_setitimer='undef' $d_setlinebuf='undef' $d_setlocale='define' +$d_setlocale_r='undef' $d_setnent='define' +$d_setnetent_r='undef' $d_setpent='define' $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' @@ -246,6 +293,7 @@ $d_setreuid='undef' $d_setrgid='undef' $d_setruid='undef' $d_setsent='define' +$d_setservent_r='undef' $d_setsid='undef' $d_setvbuf='define' $d_sfio='undef' @@ -260,6 +308,8 @@ $d_socket='define' $d_sockpair='undef' $d_socks5_init='undef' $d_sqrtl='undef' +$d_srand48_r='undef' +$d_srandom_r='undef' $d_sresgproto='undef' $d_sresuproto='undef' $d_statblks='undef' @@ -277,6 +327,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' @@ -299,7 +350,11 @@ $d_tcsetpgrp='undef' $d_telldir='undef' $d_telldirproto='undef' $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_u32align='define' $d_ualarm='undef' @@ -330,18 +385,46 @@ $defvoidused='15' $direntrytype='struct dirent' $doublesize='8' $drand01='rand()/(RAND_MAX+1)' +$drand48_r_proto='0' $eagain='EAGAIN' $ebcdic='undef' -$fflushall='undef' +$endgrent_r_proto='0' +$endhostent_r_proto='0' +$endnetent_r_proto='0' +$endprotoent_r_proto='0' +$endpwent_r_proto='0' +$endservent_r_proto='0' $fflushNULL='define' +$fflushall='undef' $fpostype='fpos_t' $freetype='void' $full_csh='' $full_sed='/system/ported/command_library/sed.pm' +$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='"d"' -$gidsize='4' $gidsign='-1' +$gidsize='4' $gidtype='gid_t' +$gmtime_r_proto='0' $groupstype='gid_t' $i16size='2' $i16type='short' @@ -352,6 +435,7 @@ $i64type='_error_' $i8size='1' $i8type='char' $i_arpainet='define' +$i_crypt='undef' $i_dbm='undef' $i_dirent='define' $i_dlfcn='undef' @@ -423,13 +507,13 @@ $i_utime='define' $i_values='define' $i_varargs='undef' $i_vfork='undef' -$Id='$Id' $inc_version_list_init='0' $installusrbinperl='undef' $intsize='4' $ivdformat='"d"' $ivsize='4' $ivtype='int' +$localtime_r_proto='0' $longdblsize='8' $longlongsize='_error_' $longsize='4' @@ -466,12 +550,26 @@ $ptrsize='4' $quadkind='_error_' $quadtype='_error_' $randbits='15' +$random_r_proto='0' $randseedtype='unsigned int' $rd_nodata='-1' +$readdir64_r_proto='0' +$readdir_r_proto='0' +$sPRIeldbl='"Le"' +$sPRIfldbl='"Lf"' +$sPRIgldbl='"Lg"' +$sSCNfldbl='"Lf"' $sched_yield='' $seedfunc='srand' $selectminbits='1' $selecttype='fd_set *' +$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' $shmattype='void *' $shortsize='2' @@ -482,16 +580,14 @@ $signal_t='void' $sitearch='/system/ported/lib/perl5/site_perl/5.8.0/hppa1.1' $sitearchexp='/system/ported/lib/perl5/site_perl/5.8.0/hppa1.1' $sitelib='/system/ported/lib/perl5/site_perl/5.8.0' -$sitelibexp='/system/ported/lib/perl5/site_perl/5.8.0' $sitelib_stem='/system/ported/lib/perl5/site_perl' +$sitelibexp='/system/ported/lib/perl5/site_perl/5.8.0' $sizesize='4' $sizetype='size_t' $socksizetype='int' -$sPRIeldbl='"Le"' -$sPRIfldbl='"Lf"' -$sPRIgldbl='"Lg"' +$srand48_r_proto='0' +$srandom_r_proto='0' $src='/vos_ftp_site/pub/vos/posix/(alpha|ga)/perl' -$sSCNfldbl='"Lf"' $ssizetype='ssize_t' $startperl='!perl.pm' $stdchar='unsigned char' @@ -500,8 +596,11 @@ $stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)' $stdio_cnt='((fp)->_cnt)' $stdio_ptr='((fp)->_ptr)' $stdio_stream_array='_iob' +$strerror_r_proto='0' $targetarch='undef' $timetype='time_t' +$tmpnam_r_proto='0' +$ttyname_r_proto='0' $u16size='2' $u16type='unsigned short' $u32size='4' @@ -511,8 +610,8 @@ $u64type='_error_' $u8size='1' $u8type='unsigned char' $uidformat='"d"' -$uidsize='4' $uidsign='-1' +$uidsize='4' $uidtype='uid_t' $undef='$undef' $uquadtype='_error_' @@ -529,12 +628,12 @@ $usemultiplicity='undef' $useperlio='undef' $usereentrant='undef' $usesocks='undef' +$uvXUformat='"X"' $uvoformat='"o"' $uvsize='4' $uvtype='unsigned int' $uvuformat='"u"' $uvxformat='"x"' -$uvXUformat='"X"' $vendorarch='' $vendorarchexp='' $vendorlib_stem='' diff --git a/vos/config.alpha.h b/vos/config.alpha.h index 7d5145e45a..d2366fc1b4 100644 --- a/vos/config.alpha.h +++ b/vos/config.alpha.h @@ -1132,6 +1132,16 @@ */ /*#define HAS_ACCESS /**/ +/* HAS_ASCTIME_R: + * This symbol, if defined, indicates that the asctime_r routine + * is available to asctime re-entrantly. + */ +/* ASCTIME_R_PROTO: + * This symbol encodes the prototype of asctime_r. + */ +/*#define HAS_ASCTIME_R /**/ +#define ASCTIME_R_PROTO 0 /**/ + /* CASTI32: * This symbol is defined if the C compiler can cast negative * or large floating point numbers to 32-bit ints. @@ -1183,6 +1193,16 @@ */ /*#define HAS_STRUCT_CMSGHDR /**/ +/* HAS_CRYPT_R: + * This symbol, if defined, indicates that the crypt_r routine + * is available to crypt re-entrantly. + */ +/* CRYPT_R_PROTO: + * This symbol encodes the prototype of crypt_r. + */ +/*#define HAS_CRYPT_R /**/ +#define CRYPT_R_PROTO 0 /**/ + /* HAS_CSH: * This symbol, if defined, indicates that the C-shell exists. */ @@ -1194,6 +1214,16 @@ #define CSH "" /**/ #endif +/* HAS_CTIME_R: + * This symbol, if defined, indicates that the ctime_r routine + * is available to ctime re-entrantly. + */ +/* CTIME_R_PROTO: + * This symbol encodes the prototype of ctime_r. + */ +/*#define HAS_CTIME_R /**/ +#define CTIME_R_PROTO 0 /**/ + /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an * underscore to the symbol name before calling dlsym(). This only @@ -1202,6 +1232,16 @@ */ /*#define DLSYM_NEEDS_UNDERSCORE /**/ +/* HAS_DRAND48_R: + * This symbol, if defined, indicates that the drand48_r routine + * is available to drand48 re-entrantly. + */ +/* DRAND48_R_PROTO: + * This symbol encodes the prototype of drand48_r. + */ +/*#define HAS_DRAND48_R /**/ +#define DRAND48_R_PROTO 0 /**/ + /* HAS_DRAND48_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up @@ -1216,6 +1256,16 @@ */ /*#define HAS_ENDGRENT /**/ +/* HAS_ENDGRENT_R: + * This symbol, if defined, indicates that the endgrent_r routine + * is available to endgrent re-entrantly. + */ +/* ENDGRENT_R_PROTO: + * This symbol encodes the prototype of endgrent_r. + */ +/*#define HAS_ENDGRENT_R /**/ +#define ENDGRENT_R_PROTO 0 /**/ + /* HAS_ENDHOSTENT: * This symbol, if defined, indicates that the endhostent() routine is * available to close whatever was being used for host queries. @@ -1240,6 +1290,16 @@ */ /*#define HAS_ENDPWENT /**/ +/* HAS_ENDPWENT_R: + * This symbol, if defined, indicates that the endpwent_r routine + * is available to endpwent re-entrantly. + */ +/* ENDPWENT_R_PROTO: + * This symbol encodes the prototype of endpwent_r. + */ +/*#define HAS_ENDPWENT_R /**/ +#define ENDPWENT_R_PROTO 0 /**/ + /* HAS_ENDSERVENT: * This symbol, if defined, indicates that the endservent() routine is * available to close whatever was being used for service queries. @@ -1386,7 +1446,7 @@ * a macro using sprintf("%g") is used. Arguments for the Gconvert * macro are: value, number of digits, whether trailing zeros should * be retained, and the output buffer. - * Possible values are: + * The usual values are: * d_Gconvert='gconvert((x),(n),(t),(b))' * d_Gconvert='gcvt((x),(n),(b))' * d_Gconvert='sprintf((b),"%.*g",(n),(x))' @@ -1418,6 +1478,36 @@ */ /*#define HAS_GETGRENT /**/ +/* HAS_GETGRENT_R: + * This symbol, if defined, indicates that the getgrent_r routine + * is available to getgrent re-entrantly. + */ +/* GETGRENT_R_PROTO: + * This symbol encodes the prototype of getgrent_r. + */ +/*#define HAS_GETGRENT_R /**/ +#define GETGRENT_R_PROTO 0 /**/ + +/* HAS_GETGRGID_R: + * This symbol, if defined, indicates that the getgrgid_r routine + * is available to getgrgid re-entrantly. + */ +/* GETGRGID_R_PROTO: + * This symbol encodes the prototype of getgrgid_r. + */ +/*#define HAS_GETGRGID_R /**/ +#define GETGRGID_R_PROTO 0 /**/ + +/* HAS_GETGRNAM_R: + * This symbol, if defined, indicates that the getgrnam_r routine + * is available to getgrnam re-entrantly. + */ +/* GETGRNAM_R_PROTO: + * This symbol encodes the prototype of getgrnam_r. + */ +/*#define HAS_GETGRNAM_R /**/ +#define GETGRNAM_R_PROTO 0 /**/ + /* HAS_GETHOSTBYADDR: * This symbol, if defined, indicates that the gethostbyaddr() routine is * available to look up hosts by their IP addresses. @@ -1479,6 +1569,16 @@ */ /*#define HAS_GETITIMER /**/ +/* HAS_GETLOGIN_R: + * This symbol, if defined, indicates that the getlogin_r routine + * is available to getlogin re-entrantly. + */ +/* GETLOGIN_R_PROTO: + * This symbol encodes the prototype of getlogin_r. + */ +/*#define HAS_GETLOGIN_R /**/ +#define GETLOGIN_R_PROTO 0 /**/ + /* HAS_GETMNT: * This symbol, if defined, indicates that the getmnt routine is * available to get filesystem mount info by filename. @@ -1573,6 +1673,36 @@ */ /*#define HAS_GETPWENT /**/ +/* HAS_GETPWENT_R: + * This symbol, if defined, indicates that the getpwent_r routine + * is available to getpwent re-entrantly. + */ +/* GETPWENT_R_PROTO: + * This symbol encodes the prototype of getpwent_r. + */ +/*#define HAS_GETPWENT_R /**/ +#define GETPWENT_R_PROTO 0 /**/ + +/* HAS_GETPWNAM_R: + * This symbol, if defined, indicates that the getpwnam_r routine + * is available to getpwnam re-entrantly. + */ +/* GETPWNAM_R_PROTO: + * This symbol encodes the prototype of getpwnam_r. + */ +/*#define HAS_GETPWNAM_R /**/ +#define GETPWNAM_R_PROTO 0 /**/ + +/* HAS_GETPWUID_R: + * This symbol, if defined, indicates that the getpwuid_r routine + * is available to getpwuid re-entrantly. + */ +/* GETPWUID_R_PROTO: + * This symbol encodes the prototype of getpwuid_r. + */ +/*#define HAS_GETPWUID_R /**/ +#define GETPWUID_R_PROTO 0 /**/ + /* HAS_GETSERVENT: * This symbol, if defined, indicates that the getservent() routine is * available to look up network services in some data base or another. @@ -1593,6 +1723,16 @@ */ /*#define HAS_GETSPNAM /**/ +/* HAS_GETSPNAM_R: + * This symbol, if defined, indicates that the getspnam_r routine + * is available to getspnam re-entrantly. + */ +/* GETSPNAM_R_PROTO: + * This symbol encodes the prototype of getspnam_r. + */ +/*#define HAS_GETSPNAM_R /**/ +#define GETSPNAM_R_PROTO 0 /**/ + /* HAS_GETSERVBYNAME: * This symbol, if defined, indicates that the getservbyname() * routine is available to look up services by their name. @@ -1604,6 +1744,16 @@ #define HAS_GETSERVBYNAME /**/ #define HAS_GETSERVBYPORT /**/ +/* HAS_GMTIME_R: + * This symbol, if defined, indicates that the gmtime_r routine + * is available to gmtime re-entrantly. + */ +/* GMTIME_R_PROTO: + * This symbol encodes the prototype of gmtime_r. + */ +/*#define HAS_GMTIME_R /**/ +#define GMTIME_R_PROTO 0 /**/ + /* HAS_GNULIBC: * This symbol, if defined, indicates to the C program that * the GNU C library is being used. @@ -1695,6 +1845,16 @@ */ #define HAS_LDBL_DIG /* */ +/* HAS_LOCALTIME_R: + * This symbol, if defined, indicates that the localtime_r routine + * is available to localtime re-entrantly. + */ +/* LOCALTIME_R_PROTO: + * This symbol encodes the prototype of localtime_r. + */ +/*#define HAS_LOCALTIME_R /**/ +#define LOCALTIME_R_PROTO 0 /**/ + /* HAS_LONG_DOUBLE: * This symbol will be defined if the C compiler supports long * doubles. @@ -1847,6 +2007,26 @@ #define SCHED_YIELD /**/ /*#define HAS_SCHED_YIELD /**/ +/* HAS_RANDOM_R: + * This symbol, if defined, indicates that the random_r routine + * is available to random re-entrantly. + */ +/* RANDOM_R_PROTO: + * This symbol encodes the prototype of random_r. + */ +/*#define HAS_RANDOM_R /**/ +#define RANDOM_R_PROTO 0 /**/ + +/* HAS_READDIR_R: + * This symbol, if defined, indicates that the readdir_r routine + * is available to readdir re-entrantly. + */ +/* READDIR_R_PROTO: + * This symbol encodes the prototype of readdir_r. + */ +/*#define HAS_READDIR_R /**/ +#define READDIR_R_PROTO 0 /**/ + /* HAS_READV: * This symbol, if defined, indicates that the readv routine is * available to do gather reads. You will also need <sys/uio.h> @@ -1910,6 +2090,16 @@ */ /*#define HAS_SETGRENT /**/ +/* HAS_SETGRENT_R: + * This symbol, if defined, indicates that the setgrent_r routine + * is available to setgrent re-entrantly. + */ +/* SETGRENT_R_PROTO: + * This symbol encodes the prototype of setgrent_r. + */ +/*#define HAS_SETGRENT_R /**/ +#define SETGRENT_R_PROTO 0 /**/ + /* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple @@ -1965,6 +2155,16 @@ */ /*#define HAS_SETPWENT /**/ +/* HAS_SETPWENT_R: + * This symbol, if defined, indicates that the setpwent_r routine + * is available to setpwent re-entrantly. + */ +/* SETPWENT_R_PROTO: + * This symbol encodes the prototype of setpwent_r. + */ +/*#define HAS_SETPWENT_R /**/ +#define SETPWENT_R_PROTO 0 /**/ + /* HAS_SETSERVENT: * This symbol, if defined, indicates that the setservent() routine is * available. @@ -2086,6 +2286,26 @@ */ /*#define HAS_SQRTL /**/ +/* HAS_SRAND48_R: + * This symbol, if defined, indicates that the srand48_r routine + * is available to srand48 re-entrantly. + */ +/* SRAND48_R_PROTO: + * This symbol encodes the prototype of srand48_r. + */ +/*#define HAS_SRAND48_R /**/ +#define SRAND48_R_PROTO 0 /**/ + +/* HAS_SRANDOM_R: + * This symbol, if defined, indicates that the srandom_r routine + * is available to srandom re-entrantly. + */ +/* SRANDOM_R_PROTO: + * This symbol encodes the prototype of srandom_r. + */ +/*#define HAS_SRANDOM_R /**/ +#define SRANDOM_R_PROTO 0 /**/ + /* USE_STAT_BLOCKS: * This symbol is defined if this system has a stat structure declaring * st_blksize and st_blocks. @@ -2206,6 +2426,16 @@ #define HAS_SYS_ERRLIST /**/ #define Strerror(e) strerror(e) +/* HAS_STRERROR_R: + * This symbol, if defined, indicates that the strerror_r routine + * is available to strerror re-entrantly. + */ +/* STRERROR_R_PROTO: + * This symbol encodes the prototype of strerror_r. + */ +/*#define HAS_STRERROR_R /**/ +#define STRERROR_R_PROTO 0 /**/ + /* HAS_STRTOLD: * This symbol, if defined, indicates that the strtold routine is * available to convert strings to long doubles. @@ -2264,6 +2494,16 @@ */ #define HAS_TIMES /**/ +/* HAS_TMPNAM_R: + * This symbol, if defined, indicates that the tmpnam_r routine + * is available to tmpnam re-entrantly. + */ +/* TMPNAM_R_PROTO: + * This symbol encodes the prototype of tmpnam_r. + */ +/*#define HAS_TMPNAM_R /**/ +#define TMPNAM_R_PROTO 0 /**/ + /* HAS_UALARM: * This symbol, if defined, indicates that the ualarm routine is * available to do alarms with microsecond granularity. @@ -2645,9 +2885,14 @@ * This symbol, if defined, indicates to the C program that it should * include <sys/time.h> with KERNEL defined. */ +/* HAS_TM_TM_ZONE: + * This symbol, if defined, indicates to the C program that + * the struct tm has a tm_zone field. + */ /*#define I_TIME /**/ #define I_SYS_TIME /**/ /*#define I_SYS_TIME_KERNEL /**/ +/*#define HAS_TM_TM_ZONE /**/ /* I_USTAT: * This symbol, if defined, indicates that <ustat.h> exists and @@ -3579,6 +3824,12 @@ */ /*#define HAS_USLEEP_PROTO /**/ +/* I_CRYPT: + * This symbol, if defined, indicates that <crypt.h> exists and + * should be included. + */ +/*#define I_CRYPT /**/ + /* I_FP: * This symbol, if defined, indicates that <fp.h> exists and * should be included. @@ -3591,10 +3842,250 @@ */ /*#define I_LANGINFO /**/ +/* HAS_CTERMID_R: + * This symbol, if defined, indicates that the ctermid_r routine + * is available to ctermid re-entrantly. + */ +/* CTERMID_R_PROTO: + * This symbol encodes the prototype of ctermid_r. + */ +/*#define HAS_CTERMID_R /**/ +#define CTERMID_R_PROTO 0 /**/ + +/* HAS_ENDHOSTENT_R: + * This symbol, if defined, indicates that the endhostent_r routine + * is available to endhostent re-entrantly. + */ +/* ENDHOSTENT_R_PROTO: + * This symbol encodes the prototype of endhostent_r. + */ +/*#define HAS_ENDHOSTENT_R /**/ +#define ENDHOSTENT_R_PROTO 0 /**/ + +/* HAS_ENDNETENT_R: + * This symbol, if defined, indicates that the endnetent_r routine + * is available to endnetent re-entrantly. + */ +/* ENDNETENT_R_PROTO: + * This symbol encodes the prototype of endnetent_r. + */ +/*#define HAS_ENDNETENT_R /**/ +#define ENDNETENT_R_PROTO 0 /**/ + +/* HAS_ENDPROTOENT_R: + * This symbol, if defined, indicates that the endprotoent_r routine + * is available to endprotoent re-entrantly. + */ +/* ENDPROTOENT_R_PROTO: + * This symbol encodes the prototype of endprotoent_r. + */ +/*#define HAS_ENDPROTOENT_R /**/ +#define ENDPROTOENT_R_PROTO 0 /**/ + +/* HAS_ENDSERVENT_R: + * This symbol, if defined, indicates that the endservent_r routine + * is available to endservent re-entrantly. + */ +/* ENDSERVENT_R_PROTO: + * This symbol encodes the prototype of endservent_r. + */ +/*#define HAS_ENDSERVENT_R /**/ +#define ENDSERVENT_R_PROTO 0 /**/ + +/* HAS_GETHOSTBYADDR_R: + * This symbol, if defined, indicates that the gethostbyaddr_r routine + * is available to gethostbyaddr re-entrantly. + */ +/* GETHOSTBYADDR_R_PROTO: + * This symbol encodes the prototype of gethostbyaddr_r. + */ +/*#define HAS_GETHOSTBYADDR_R /**/ +#define GETHOSTBYADDR_R_PROTO 0 /**/ + +/* HAS_GETHOSTBYNAME_R: + * This symbol, if defined, indicates that the gethostbyname_r routine + * is available to gethostbyname re-entrantly. + */ +/* GETHOSTBYNAME_R_PROTO: + * This symbol encodes the prototype of gethostbyname_r. + */ +/*#define HAS_GETHOSTBYNAME_R /**/ +#define GETHOSTBYNAME_R_PROTO 0 /**/ + +/* HAS_GETHOSTENT_R: + * This symbol, if defined, indicates that the gethostent_r routine + * is available to gethostent re-entrantly. + */ +/* GETHOSTENT_R_PROTO: + * This symbol encodes the prototype of gethostent_r. + */ +/*#define HAS_GETHOSTENT_R /**/ +#define GETHOSTENT_R_PROTO 0 /**/ + +/* HAS_GETNETBYADDR_R: + * This symbol, if defined, indicates that the getnetbyaddr_r routine + * is available to getnetbyaddr re-entrantly. + */ +/* GETNETBYADDR_R_PROTO: + * This symbol encodes the prototype of getnetbyaddr_r. + */ +/*#define HAS_GETNETBYADDR_R /**/ +#define GETNETBYADDR_R_PROTO 0 /**/ + +/* HAS_GETNETBYNAME_R: + * This symbol, if defined, indicates that the getnetbyname_r routine + * is available to getnetbyname re-entrantly. + */ +/* GETNETBYNAME_R_PROTO: + * This symbol encodes the prototype of getnetbyname_r. + */ +/*#define HAS_GETNETBYNAME_R /**/ +#define GETNETBYNAME_R_PROTO 0 /**/ + +/* HAS_GETNETENT_R: + * This symbol, if defined, indicates that the getnetent_r routine + * is available to getnetent re-entrantly. + */ +/* GETNETENT_R_PROTO: + * This symbol encodes the prototype of getnetent_r. + */ +/*#define HAS_GETNETENT_R /**/ +#define GETNETENT_R_PROTO 0 /**/ + +/* HAS_GETPROTOBYNAME_R: + * This symbol, if defined, indicates that the getprotobyname_r routine + * is available to getprotobyname re-entrantly. + */ +/* GETPROTOBYNAME_R_PROTO: + * This symbol encodes the prototype of getprotobyname_r. + */ +/*#define HAS_GETPROTOBYNAME_R /**/ +#define GETPROTOBYNAME_R_PROTO 0 /**/ + +/* HAS_GETPROTOBYNUMBER_R: + * This symbol, if defined, indicates that the getprotobynumber_r routine + * is available to getprotobynumber re-entrantly. + */ +/* GETPROTOBYNUMBER_R_PROTO: + * This symbol encodes the prototype of getprotobynumber_r. + */ +/*#define HAS_GETPROTOBYNUMBER_R /**/ +#define GETPROTOBYNUMBER_R_PROTO 0 /**/ + +/* HAS_GETPROTOENT_R: + * This symbol, if defined, indicates that the getprotoent_r routine + * is available to getprotoent re-entrantly. + */ +/* GETPROTOENT_R_PROTO: + * This symbol encodes the prototype of getprotoent_r. + */ +/*#define HAS_GETPROTOENT_R /**/ +#define GETPROTOENT_R_PROTO 0 /**/ + +/* HAS_GETSERVBYNAME_R: + * This symbol, if defined, indicates that the getservbyname_r routine + * is available to getservbyname re-entrantly. + */ +/* GETSERVBYNAME_R_PROTO: + * This symbol encodes the prototype of getservbyname_r. + */ +/*#define HAS_GETSERVBYNAME_R /**/ +#define GETSERVBYNAME_R_PROTO 0 /**/ + +/* HAS_GETSERVBYPORT_R: + * This symbol, if defined, indicates that the getservbyport_r routine + * is available to getservbyport re-entrantly. + */ +/* GETSERVBYPORT_R_PROTO: + * This symbol encodes the prototype of getservbyport_r. + */ +/*#define HAS_GETSERVBYPORT_R /**/ +#define GETSERVBYPORT_R_PROTO 0 /**/ + +/* HAS_GETSERVENT_R: + * This symbol, if defined, indicates that the getservent_r routine + * is available to getservent re-entrantly. + */ +/* GETSERVENT_R_PROTO: + * This symbol encodes the prototype of getservent_r. + */ +/*#define HAS_GETSERVENT_R /**/ +#define GETSERVENT_R_PROTO 0 /**/ + /* HAS_PTHREAD_ATFORK: * This symbol, if defined, indicates that the pthread_atfork routine * is available setup fork handlers. */ /*#define HAS_PTHREAD_ATFORK /**/ +/* HAS_READDIR64_R: + * This symbol, if defined, indicates that the readdir64_r routine + * is available to readdir64 re-entrantly. + */ +/* READDIR64_R_PROTO: + * This symbol encodes the prototype of readdir64_r. + */ +/*#define HAS_READDIR64_R /**/ +#define READDIR64_R_PROTO 0 /**/ + +/* HAS_SETHOSTENT_R: + * This symbol, if defined, indicates that the sethostent_r routine + * is available to sethostent re-entrantly. + */ +/* SETHOSTENT_R_PROTO: + * This symbol encodes the prototype of sethostent_r. + */ +/*#define HAS_SETHOSTENT_R /**/ +#define SETHOSTENT_R_PROTO 0 /**/ + +/* HAS_SETLOCALE_R: + * This symbol, if defined, indicates that the setlocale_r routine + * is available to setlocale re-entrantly. + */ +/* SETLOCALE_R_PROTO: + * This symbol encodes the prototype of setlocale_r. + */ +/*#define HAS_SETLOCALE_R /**/ +#define SETLOCALE_R_PROTO 0 /**/ + +/* HAS_SETNETENT_R: + * This symbol, if defined, indicates that the setnetent_r routine + * is available to setnetent re-entrantly. + */ +/* SETNETENT_R_PROTO: + * This symbol encodes the prototype of setnetent_r. + */ +/*#define HAS_SETNETENT_R /**/ +#define SETNETENT_R_PROTO 0 /**/ + +/* HAS_SETPROTOENT_R: + * This symbol, if defined, indicates that the setprotoent_r routine + * is available to setprotoent re-entrantly. + */ +/* SETPROTOENT_R_PROTO: + * This symbol encodes the prototype of setprotoent_r. + */ +/*#define HAS_SETPROTOENT_R /**/ +#define SETPROTOENT_R_PROTO 0 /**/ + +/* HAS_SETSERVENT_R: + * This symbol, if defined, indicates that the setservent_r routine + * is available to setservent re-entrantly. + */ +/* SETSERVENT_R_PROTO: + * This symbol encodes the prototype of setservent_r. + */ +/*#define HAS_SETSERVENT_R /**/ +#define SETSERVENT_R_PROTO 0 /**/ + +/* HAS_TTYNAME_R: + * This symbol, if defined, indicates that the ttyname_r routine + * is available to ttyname re-entrantly. + */ +/* TTYNAME_R_PROTO: + * This symbol encodes the prototype of ttyname_r. + */ +/*#define HAS_TTYNAME_R /**/ +#define TTYNAME_R_PROTO 0 /**/ + #endif diff --git a/vos/config.ga.def b/vos/config.ga.def index 7bef8fb8ad..eb1c703571 100644 --- a/vos/config.ga.def +++ b/vos/config.ga.def @@ -1,20 +1,25 @@ +$CONFIG_SH='config.sh' +$Id='$Id' $alignbytes='8' $aphostname='' $archlib='' $archlibexp='' $archname='' +$asctime_r_proto='0' $bin='/system/gnu_library/bin' $binexp='/system/gnu_library/bin' $byteorder='4321' $castflags='0' $cf_by='Paul.Green@stratus.com' $cf_time='2002-02-15 20:16 UCT' -$CONFIG_SH='config.sh' $cpp_stuff='42' $cpplast='-' $cppminus='-' $cpprun='cc -E -' $cppstdin='cc -E' +$crypt_r_proto='0' +$ctermid_r_proto='0' +$ctime_r_proto='0' $d_Gconvert='sprintf((b),"%.*g",(n),(x))' $d_PRIeldbl='define' $d_PRIfldbl='define' @@ -25,6 +30,7 @@ $d_access='define' $d_accessx='undef' $d_alarm='define' $d_archlib='undef' +$d_asctime_r='undef' $d_atolf='undef' $d_atoll='undef' $d_attribut='undef' @@ -44,7 +50,10 @@ $d_class='undef' $d_cmsghdr_s='undef' $d_const='define' $d_crypt='undef' +$d_crypt_r='undef' $d_csh='define' +$d_ctermid_r='undef' +$d_ctime_r='undef' $d_cuserid='undef' $d_dbl_dig='define' $d_dbminitproto='undef' @@ -54,15 +63,22 @@ $d_dirnamlen='undef' $d_dlerror='undef' $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='define' +$d_endhostent_r='undef' $d_endnent='define' +$d_endnetent_r='undef' $d_endpent='define' +$d_endprotoent_r='undef' $d_endpwent='undef' +$d_endpwent_r='undef' $d_endsent='define' +$d_endservent_r='undef' $d_eofnblk='define' $d_fchdir='undef' $d_fchmod='define' @@ -95,19 +111,29 @@ $d_getcwd='define' $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='define' $d_gethname='define' +$d_gethostbyaddr_r='undef' +$d_gethostbyname_r='undef' +$d_gethostent_r='undef' $d_gethostprotos='define' $d_getitimer='undef' $d_getlogin='define' +$d_getlogin_r='undef' $d_getmnt='undef' $d_getmntent='undef' $d_getnbyaddr='define' $d_getnbyname='define' $d_getnent='define' +$d_getnetbyaddr_r='undef' +$d_getnetbyname_r='undef' +$d_getnetent_r='undef' $d_getnetprotos='define' $d_getpagsz='undef' $d_getpbyname='define' @@ -118,15 +144,26 @@ $d_getpgrp2='undef' $d_getpgrp='define' $d_getppid='define' $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='define' $d_getsbyport='define' $d_getsent='define' +$d_getservbyname_r='undef' +$d_getservbyport_r='undef' +$d_getservent_r='undef' $d_getservprotos='define' $d_getspnam='undef' +$d_getspnam_r='undef' $d_gettimeod='undef' +$d_gmtime_r='undef' $d_gnulibc='undef' $d_grpasswd='undef' $d_hasmntopt='undef' @@ -143,6 +180,7 @@ $d_killpg='undef' $d_lchown='undef' $d_ldbl_dig='define' $d_link='undef' +$d_localtime_r='undef' $d_locconv='define' $d_lockf='define' $d_longdbl='define' @@ -204,7 +242,10 @@ $d_pwgecos='undef' $d_pwpasswd='undef' $d_pwquota='undef' $d_quad='undef' +$d_random_r='undef' +$d_readdir64_r='undef' $d_readdir='define' +$d_readdir_r='undef' $d_readlink='define' $d_readv='undef' $d_recvmsg='undef' @@ -226,19 +267,25 @@ $d_sendmsg='undef' $d_setegid='define' $d_seteuid='define' $d_setgrent='undef' +$d_setgrent_r='undef' $d_setgrps='undef' $d_sethent='define' +$d_sethostent_r='undef' $d_setitimer='undef' $d_setlinebuf='define' $d_setlocale='define' +$d_setlocale_r='undef' $d_setnent='define' +$d_setnetent_r='undef' $d_setpent='define' $d_setpgid='define' $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' @@ -246,6 +293,7 @@ $d_setreuid='undef' $d_setrgid='undef' $d_setruid='undef' $d_setsent='define' +$d_setservent_r='undef' $d_setsid='define' $d_setvbuf='define' $d_sfio='undef' @@ -260,6 +308,8 @@ $d_socket='define' $d_sockpair='undef' $d_socks5_init='undef' $d_sqrtl='undef' +$d_srand48_r='undef' +$d_srandom_r='undef' $d_sresgproto='undef' $d_sresuproto='undef' $d_statblks='undef' @@ -277,6 +327,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' @@ -299,7 +350,11 @@ $d_tcsetpgrp='define' $d_telldir='undef' $d_telldirproto='undef' $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_u32align='define' $d_ualarm='undef' @@ -330,18 +385,46 @@ $defvoidused='15' $direntrytype='struct dirent' $doublesize='8' $drand01='rand()/(RAND_MAX+1)' +$drand48_r_proto='0' $eagain='EAGAIN' $ebcdic='undef' -$fflushall='undef' +$endgrent_r_proto='0' +$endhostent_r_proto='0' +$endnetent_r_proto='0' +$endprotoent_r_proto='0' +$endpwent_r_proto='0' +$endservent_r_proto='0' $fflushNULL='define' +$fflushall='undef' $fpostype='fpos_t' $freetype='void' $full_csh='/system/gnu_library/bin/bash.pm' $full_sed='/system/gnu_library/bin/sed.pm' +$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='"d"' -$gidsize='4' $gidsign='-1' +$gidsize='4' $gidtype='gid_t' +$gmtime_r_proto='0' $groupstype='gid_t' $i16size='2' $i16type='short' @@ -352,6 +435,7 @@ $i64type='_error_' $i8size='1' $i8type='char' $i_arpainet='define' +$i_crypt='undef' $i_dbm='undef' $i_dirent='define' $i_dlfcn='undef' @@ -423,13 +507,13 @@ $i_utime='define' $i_values='define' $i_varargs='undef' $i_vfork='undef' -$Id='$Id' $inc_version_list_init='0' $installusrbinperl='undef' $intsize='4' $ivdformat='"d"' $ivsize='4' $ivtype='int' +$localtime_r_proto='0' $longdblsize='8' $longlongsize='_error_' $longsize='4' @@ -466,12 +550,26 @@ $ptrsize='4' $quadkind='_error_' $quadtype='_error_' $randbits='15' +$random_r_proto='0' $randseedtype='unsigned int' $rd_nodata='-1' +$readdir64_r_proto='0' +$readdir_r_proto='0' +$sPRIeldbl='"Le"' +$sPRIfldbl='"Lf"' +$sPRIgldbl='"Lg"' +$sSCNfldbl='"Lf"' $sched_yield='' $seedfunc='srand' $selectminbits='1' $selecttype='fd_set *' +$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='/system/gnu_library/bin/bash.pm' $shmattype='void *' $shortsize='2' @@ -482,16 +580,14 @@ $signal_t='void' $sitearch='/system/ported/lib/perl5/site_perl/5.8.0/hppa1.1' $sitearchexp='/system/ported/lib/perl5/site_perl/5.8.0/hppa1.1' $sitelib='/system/ported/lib/perl5/site_perl/5.8.0' -$sitelibexp='/system/ported/lib/perl5/site_perl/5.8.0' $sitelib_stem='/system/ported/lib/perl5/site_perl' +$sitelibexp='/system/ported/lib/perl5/site_perl/5.8.0' $sizesize='4' $sizetype='size_t' $socksizetype='int' -$sPRIeldbl='"Le"' -$sPRIfldbl='"Lf"' -$sPRIgldbl='"Lg"' +$srand48_r_proto='0' +$srandom_r_proto='0' $src='/vos_ftp_site/pub/vos/posix/(alpha|ga)/perl' -$sSCNfldbl='"Lf"' $ssizetype='ssize_t' $startperl='!perl.pm' $stdchar='unsigned char' @@ -500,8 +596,11 @@ $stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)' $stdio_cnt='((fp)->_cnt)' $stdio_ptr='((fp)->_ptr)' $stdio_stream_array='_iob' +$strerror_r_proto='0' $targetarch='undef' $timetype='time_t' +$tmpnam_r_proto='0' +$ttyname_r_proto='0' $u16size='2' $u16type='unsigned short' $u32size='4' @@ -511,8 +610,8 @@ $u64type='_error_' $u8size='1' $u8type='unsigned char' $uidformat='"d"' -$uidsize='4' $uidsign='-1' +$uidsize='4' $uidtype='uid_t' $undef='$undef' $uquadtype='_error_' @@ -529,12 +628,12 @@ $usemultiplicity='undef' $useperlio='undef' $usereentrant='undef' $usesocks='undef' +$uvXUformat='"X"' $uvoformat='"o"' $uvsize='4' $uvtype='unsigned int' $uvuformat='"u"' $uvxformat='"x"' -$uvXUformat='"X"' $vendorarch='' $vendorarchexp='' $vendorlib_stem='' diff --git a/vos/config.ga.h b/vos/config.ga.h index 876d5eb7df..a333651fae 100644 --- a/vos/config.ga.h +++ b/vos/config.ga.h @@ -1132,6 +1132,16 @@ */ #define HAS_ACCESS /**/ +/* HAS_ASCTIME_R: + * This symbol, if defined, indicates that the asctime_r routine + * is available to asctime re-entrantly. + */ +/* ASCTIME_R_PROTO: + * This symbol encodes the prototype of asctime_r. + */ +/*#define HAS_ASCTIME_R /**/ +#define ASCTIME_R_PROTO 0 /**/ + /* CASTI32: * This symbol is defined if the C compiler can cast negative * or large floating point numbers to 32-bit ints. @@ -1183,6 +1193,16 @@ */ /*#define HAS_STRUCT_CMSGHDR /**/ +/* HAS_CRYPT_R: + * This symbol, if defined, indicates that the crypt_r routine + * is available to crypt re-entrantly. + */ +/* CRYPT_R_PROTO: + * This symbol encodes the prototype of crypt_r. + */ +/*#define HAS_CRYPT_R /**/ +#define CRYPT_R_PROTO 0 /**/ + /* HAS_CSH: * This symbol, if defined, indicates that the C-shell exists. */ @@ -1194,6 +1214,16 @@ #define CSH "/system/gnu_library/bin/bash.pm" /**/ #endif +/* HAS_CTIME_R: + * This symbol, if defined, indicates that the ctime_r routine + * is available to ctime re-entrantly. + */ +/* CTIME_R_PROTO: + * This symbol encodes the prototype of ctime_r. + */ +/*#define HAS_CTIME_R /**/ +#define CTIME_R_PROTO 0 /**/ + /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an * underscore to the symbol name before calling dlsym(). This only @@ -1202,6 +1232,16 @@ */ /*#define DLSYM_NEEDS_UNDERSCORE /**/ +/* HAS_DRAND48_R: + * This symbol, if defined, indicates that the drand48_r routine + * is available to drand48 re-entrantly. + */ +/* DRAND48_R_PROTO: + * This symbol encodes the prototype of drand48_r. + */ +/*#define HAS_DRAND48_R /**/ +#define DRAND48_R_PROTO 0 /**/ + /* HAS_DRAND48_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up @@ -1216,6 +1256,16 @@ */ /*#define HAS_ENDGRENT /**/ +/* HAS_ENDGRENT_R: + * This symbol, if defined, indicates that the endgrent_r routine + * is available to endgrent re-entrantly. + */ +/* ENDGRENT_R_PROTO: + * This symbol encodes the prototype of endgrent_r. + */ +/*#define HAS_ENDGRENT_R /**/ +#define ENDGRENT_R_PROTO 0 /**/ + /* HAS_ENDHOSTENT: * This symbol, if defined, indicates that the endhostent() routine is * available to close whatever was being used for host queries. @@ -1240,6 +1290,16 @@ */ /*#define HAS_ENDPWENT /**/ +/* HAS_ENDPWENT_R: + * This symbol, if defined, indicates that the endpwent_r routine + * is available to endpwent re-entrantly. + */ +/* ENDPWENT_R_PROTO: + * This symbol encodes the prototype of endpwent_r. + */ +/*#define HAS_ENDPWENT_R /**/ +#define ENDPWENT_R_PROTO 0 /**/ + /* HAS_ENDSERVENT: * This symbol, if defined, indicates that the endservent() routine is * available to close whatever was being used for service queries. @@ -1386,7 +1446,7 @@ * a macro using sprintf("%g") is used. Arguments for the Gconvert * macro are: value, number of digits, whether trailing zeros should * be retained, and the output buffer. - * Possible values are: + * The usual values are: * d_Gconvert='gconvert((x),(n),(t),(b))' * d_Gconvert='gcvt((x),(n),(b))' * d_Gconvert='sprintf((b),"%.*g",(n),(x))' @@ -1418,6 +1478,36 @@ */ /*#define HAS_GETGRENT /**/ +/* HAS_GETGRENT_R: + * This symbol, if defined, indicates that the getgrent_r routine + * is available to getgrent re-entrantly. + */ +/* GETGRENT_R_PROTO: + * This symbol encodes the prototype of getgrent_r. + */ +/*#define HAS_GETGRENT_R /**/ +#define GETGRENT_R_PROTO 0 /**/ + +/* HAS_GETGRGID_R: + * This symbol, if defined, indicates that the getgrgid_r routine + * is available to getgrgid re-entrantly. + */ +/* GETGRGID_R_PROTO: + * This symbol encodes the prototype of getgrgid_r. + */ +/*#define HAS_GETGRGID_R /**/ +#define GETGRGID_R_PROTO 0 /**/ + +/* HAS_GETGRNAM_R: + * This symbol, if defined, indicates that the getgrnam_r routine + * is available to getgrnam re-entrantly. + */ +/* GETGRNAM_R_PROTO: + * This symbol encodes the prototype of getgrnam_r. + */ +/*#define HAS_GETGRNAM_R /**/ +#define GETGRNAM_R_PROTO 0 /**/ + /* HAS_GETHOSTBYADDR: * This symbol, if defined, indicates that the gethostbyaddr() routine is * available to look up hosts by their IP addresses. @@ -1479,6 +1569,16 @@ */ /*#define HAS_GETITIMER /**/ +/* HAS_GETLOGIN_R: + * This symbol, if defined, indicates that the getlogin_r routine + * is available to getlogin re-entrantly. + */ +/* GETLOGIN_R_PROTO: + * This symbol encodes the prototype of getlogin_r. + */ +/*#define HAS_GETLOGIN_R /**/ +#define GETLOGIN_R_PROTO 0 /**/ + /* HAS_GETMNT: * This symbol, if defined, indicates that the getmnt routine is * available to get filesystem mount info by filename. @@ -1573,6 +1673,36 @@ */ /*#define HAS_GETPWENT /**/ +/* HAS_GETPWENT_R: + * This symbol, if defined, indicates that the getpwent_r routine + * is available to getpwent re-entrantly. + */ +/* GETPWENT_R_PROTO: + * This symbol encodes the prototype of getpwent_r. + */ +/*#define HAS_GETPWENT_R /**/ +#define GETPWENT_R_PROTO 0 /**/ + +/* HAS_GETPWNAM_R: + * This symbol, if defined, indicates that the getpwnam_r routine + * is available to getpwnam re-entrantly. + */ +/* GETPWNAM_R_PROTO: + * This symbol encodes the prototype of getpwnam_r. + */ +/*#define HAS_GETPWNAM_R /**/ +#define GETPWNAM_R_PROTO 0 /**/ + +/* HAS_GETPWUID_R: + * This symbol, if defined, indicates that the getpwuid_r routine + * is available to getpwuid re-entrantly. + */ +/* GETPWUID_R_PROTO: + * This symbol encodes the prototype of getpwuid_r. + */ +/*#define HAS_GETPWUID_R /**/ +#define GETPWUID_R_PROTO 0 /**/ + /* HAS_GETSERVENT: * This symbol, if defined, indicates that the getservent() routine is * available to look up network services in some data base or another. @@ -1593,6 +1723,16 @@ */ /*#define HAS_GETSPNAM /**/ +/* HAS_GETSPNAM_R: + * This symbol, if defined, indicates that the getspnam_r routine + * is available to getspnam re-entrantly. + */ +/* GETSPNAM_R_PROTO: + * This symbol encodes the prototype of getspnam_r. + */ +/*#define HAS_GETSPNAM_R /**/ +#define GETSPNAM_R_PROTO 0 /**/ + /* HAS_GETSERVBYNAME: * This symbol, if defined, indicates that the getservbyname() * routine is available to look up services by their name. @@ -1604,6 +1744,16 @@ #define HAS_GETSERVBYNAME /**/ #define HAS_GETSERVBYPORT /**/ +/* HAS_GMTIME_R: + * This symbol, if defined, indicates that the gmtime_r routine + * is available to gmtime re-entrantly. + */ +/* GMTIME_R_PROTO: + * This symbol encodes the prototype of gmtime_r. + */ +/*#define HAS_GMTIME_R /**/ +#define GMTIME_R_PROTO 0 /**/ + /* HAS_GNULIBC: * This symbol, if defined, indicates to the C program that * the GNU C library is being used. @@ -1695,6 +1845,16 @@ */ #define HAS_LDBL_DIG /* */ +/* HAS_LOCALTIME_R: + * This symbol, if defined, indicates that the localtime_r routine + * is available to localtime re-entrantly. + */ +/* LOCALTIME_R_PROTO: + * This symbol encodes the prototype of localtime_r. + */ +/*#define HAS_LOCALTIME_R /**/ +#define LOCALTIME_R_PROTO 0 /**/ + /* HAS_LONG_DOUBLE: * This symbol will be defined if the C compiler supports long * doubles. @@ -1847,6 +2007,26 @@ #define SCHED_YIELD /**/ /*#define HAS_SCHED_YIELD /**/ +/* HAS_RANDOM_R: + * This symbol, if defined, indicates that the random_r routine + * is available to random re-entrantly. + */ +/* RANDOM_R_PROTO: + * This symbol encodes the prototype of random_r. + */ +/*#define HAS_RANDOM_R /**/ +#define RANDOM_R_PROTO 0 /**/ + +/* HAS_READDIR_R: + * This symbol, if defined, indicates that the readdir_r routine + * is available to readdir re-entrantly. + */ +/* READDIR_R_PROTO: + * This symbol encodes the prototype of readdir_r. + */ +/*#define HAS_READDIR_R /**/ +#define READDIR_R_PROTO 0 /**/ + /* HAS_READV: * This symbol, if defined, indicates that the readv routine is * available to do gather reads. You will also need <sys/uio.h> @@ -1910,6 +2090,16 @@ */ /*#define HAS_SETGRENT /**/ +/* HAS_SETGRENT_R: + * This symbol, if defined, indicates that the setgrent_r routine + * is available to setgrent re-entrantly. + */ +/* SETGRENT_R_PROTO: + * This symbol encodes the prototype of setgrent_r. + */ +/*#define HAS_SETGRENT_R /**/ +#define SETGRENT_R_PROTO 0 /**/ + /* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple @@ -1965,6 +2155,16 @@ */ /*#define HAS_SETPWENT /**/ +/* HAS_SETPWENT_R: + * This symbol, if defined, indicates that the setpwent_r routine + * is available to setpwent re-entrantly. + */ +/* SETPWENT_R_PROTO: + * This symbol encodes the prototype of setpwent_r. + */ +/*#define HAS_SETPWENT_R /**/ +#define SETPWENT_R_PROTO 0 /**/ + /* HAS_SETSERVENT: * This symbol, if defined, indicates that the setservent() routine is * available. @@ -2086,6 +2286,26 @@ */ /*#define HAS_SQRTL /**/ +/* HAS_SRAND48_R: + * This symbol, if defined, indicates that the srand48_r routine + * is available to srand48 re-entrantly. + */ +/* SRAND48_R_PROTO: + * This symbol encodes the prototype of srand48_r. + */ +/*#define HAS_SRAND48_R /**/ +#define SRAND48_R_PROTO 0 /**/ + +/* HAS_SRANDOM_R: + * This symbol, if defined, indicates that the srandom_r routine + * is available to srandom re-entrantly. + */ +/* SRANDOM_R_PROTO: + * This symbol encodes the prototype of srandom_r. + */ +/*#define HAS_SRANDOM_R /**/ +#define SRANDOM_R_PROTO 0 /**/ + /* USE_STAT_BLOCKS: * This symbol is defined if this system has a stat structure declaring * st_blksize and st_blocks. @@ -2206,6 +2426,16 @@ #define HAS_SYS_ERRLIST /**/ #define Strerror(e) strerror(e) +/* HAS_STRERROR_R: + * This symbol, if defined, indicates that the strerror_r routine + * is available to strerror re-entrantly. + */ +/* STRERROR_R_PROTO: + * This symbol encodes the prototype of strerror_r. + */ +/*#define HAS_STRERROR_R /**/ +#define STRERROR_R_PROTO 0 /**/ + /* HAS_STRTOLD: * This symbol, if defined, indicates that the strtold routine is * available to convert strings to long doubles. @@ -2264,6 +2494,16 @@ */ #define HAS_TIMES /**/ +/* HAS_TMPNAM_R: + * This symbol, if defined, indicates that the tmpnam_r routine + * is available to tmpnam re-entrantly. + */ +/* TMPNAM_R_PROTO: + * This symbol encodes the prototype of tmpnam_r. + */ +/*#define HAS_TMPNAM_R /**/ +#define TMPNAM_R_PROTO 0 /**/ + /* HAS_UALARM: * This symbol, if defined, indicates that the ualarm routine is * available to do alarms with microsecond granularity. @@ -2645,9 +2885,14 @@ * This symbol, if defined, indicates to the C program that it should * include <sys/time.h> with KERNEL defined. */ +/* HAS_TM_TM_ZONE: + * This symbol, if defined, indicates to the C program that + * the struct tm has a tm_zone field. + */ /*#define I_TIME /**/ #define I_SYS_TIME /**/ /*#define I_SYS_TIME_KERNEL /**/ +/*#define HAS_TM_TM_ZONE /**/ /* I_USTAT: * This symbol, if defined, indicates that <ustat.h> exists and @@ -3579,6 +3824,12 @@ */ /*#define HAS_USLEEP_PROTO /**/ +/* I_CRYPT: + * This symbol, if defined, indicates that <crypt.h> exists and + * should be included. + */ +/*#define I_CRYPT /**/ + /* I_FP: * This symbol, if defined, indicates that <fp.h> exists and * should be included. @@ -3591,10 +3842,250 @@ */ /*#define I_LANGINFO /**/ +/* HAS_CTERMID_R: + * This symbol, if defined, indicates that the ctermid_r routine + * is available to ctermid re-entrantly. + */ +/* CTERMID_R_PROTO: + * This symbol encodes the prototype of ctermid_r. + */ +/*#define HAS_CTERMID_R /**/ +#define CTERMID_R_PROTO 0 /**/ + +/* HAS_ENDHOSTENT_R: + * This symbol, if defined, indicates that the endhostent_r routine + * is available to endhostent re-entrantly. + */ +/* ENDHOSTENT_R_PROTO: + * This symbol encodes the prototype of endhostent_r. + */ +/*#define HAS_ENDHOSTENT_R /**/ +#define ENDHOSTENT_R_PROTO 0 /**/ + +/* HAS_ENDNETENT_R: + * This symbol, if defined, indicates that the endnetent_r routine + * is available to endnetent re-entrantly. + */ +/* ENDNETENT_R_PROTO: + * This symbol encodes the prototype of endnetent_r. + */ +/*#define HAS_ENDNETENT_R /**/ +#define ENDNETENT_R_PROTO 0 /**/ + +/* HAS_ENDPROTOENT_R: + * This symbol, if defined, indicates that the endprotoent_r routine + * is available to endprotoent re-entrantly. + */ +/* ENDPROTOENT_R_PROTO: + * This symbol encodes the prototype of endprotoent_r. + */ +/*#define HAS_ENDPROTOENT_R /**/ +#define ENDPROTOENT_R_PROTO 0 /**/ + +/* HAS_ENDSERVENT_R: + * This symbol, if defined, indicates that the endservent_r routine + * is available to endservent re-entrantly. + */ +/* ENDSERVENT_R_PROTO: + * This symbol encodes the prototype of endservent_r. + */ +/*#define HAS_ENDSERVENT_R /**/ +#define ENDSERVENT_R_PROTO 0 /**/ + +/* HAS_GETHOSTBYADDR_R: + * This symbol, if defined, indicates that the gethostbyaddr_r routine + * is available to gethostbyaddr re-entrantly. + */ +/* GETHOSTBYADDR_R_PROTO: + * This symbol encodes the prototype of gethostbyaddr_r. + */ +/*#define HAS_GETHOSTBYADDR_R /**/ +#define GETHOSTBYADDR_R_PROTO 0 /**/ + +/* HAS_GETHOSTBYNAME_R: + * This symbol, if defined, indicates that the gethostbyname_r routine + * is available to gethostbyname re-entrantly. + */ +/* GETHOSTBYNAME_R_PROTO: + * This symbol encodes the prototype of gethostbyname_r. + */ +/*#define HAS_GETHOSTBYNAME_R /**/ +#define GETHOSTBYNAME_R_PROTO 0 /**/ + +/* HAS_GETHOSTENT_R: + * This symbol, if defined, indicates that the gethostent_r routine + * is available to gethostent re-entrantly. + */ +/* GETHOSTENT_R_PROTO: + * This symbol encodes the prototype of gethostent_r. + */ +/*#define HAS_GETHOSTENT_R /**/ +#define GETHOSTENT_R_PROTO 0 /**/ + +/* HAS_GETNETBYADDR_R: + * This symbol, if defined, indicates that the getnetbyaddr_r routine + * is available to getnetbyaddr re-entrantly. + */ +/* GETNETBYADDR_R_PROTO: + * This symbol encodes the prototype of getnetbyaddr_r. + */ +/*#define HAS_GETNETBYADDR_R /**/ +#define GETNETBYADDR_R_PROTO 0 /**/ + +/* HAS_GETNETBYNAME_R: + * This symbol, if defined, indicates that the getnetbyname_r routine + * is available to getnetbyname re-entrantly. + */ +/* GETNETBYNAME_R_PROTO: + * This symbol encodes the prototype of getnetbyname_r. + */ +/*#define HAS_GETNETBYNAME_R /**/ +#define GETNETBYNAME_R_PROTO 0 /**/ + +/* HAS_GETNETENT_R: + * This symbol, if defined, indicates that the getnetent_r routine + * is available to getnetent re-entrantly. + */ +/* GETNETENT_R_PROTO: + * This symbol encodes the prototype of getnetent_r. + */ +/*#define HAS_GETNETENT_R /**/ +#define GETNETENT_R_PROTO 0 /**/ + +/* HAS_GETPROTOBYNAME_R: + * This symbol, if defined, indicates that the getprotobyname_r routine + * is available to getprotobyname re-entrantly. + */ +/* GETPROTOBYNAME_R_PROTO: + * This symbol encodes the prototype of getprotobyname_r. + */ +/*#define HAS_GETPROTOBYNAME_R /**/ +#define GETPROTOBYNAME_R_PROTO 0 /**/ + +/* HAS_GETPROTOBYNUMBER_R: + * This symbol, if defined, indicates that the getprotobynumber_r routine + * is available to getprotobynumber re-entrantly. + */ +/* GETPROTOBYNUMBER_R_PROTO: + * This symbol encodes the prototype of getprotobynumber_r. + */ +/*#define HAS_GETPROTOBYNUMBER_R /**/ +#define GETPROTOBYNUMBER_R_PROTO 0 /**/ + +/* HAS_GETPROTOENT_R: + * This symbol, if defined, indicates that the getprotoent_r routine + * is available to getprotoent re-entrantly. + */ +/* GETPROTOENT_R_PROTO: + * This symbol encodes the prototype of getprotoent_r. + */ +/*#define HAS_GETPROTOENT_R /**/ +#define GETPROTOENT_R_PROTO 0 /**/ + +/* HAS_GETSERVBYNAME_R: + * This symbol, if defined, indicates that the getservbyname_r routine + * is available to getservbyname re-entrantly. + */ +/* GETSERVBYNAME_R_PROTO: + * This symbol encodes the prototype of getservbyname_r. + */ +/*#define HAS_GETSERVBYNAME_R /**/ +#define GETSERVBYNAME_R_PROTO 0 /**/ + +/* HAS_GETSERVBYPORT_R: + * This symbol, if defined, indicates that the getservbyport_r routine + * is available to getservbyport re-entrantly. + */ +/* GETSERVBYPORT_R_PROTO: + * This symbol encodes the prototype of getservbyport_r. + */ +/*#define HAS_GETSERVBYPORT_R /**/ +#define GETSERVBYPORT_R_PROTO 0 /**/ + +/* HAS_GETSERVENT_R: + * This symbol, if defined, indicates that the getservent_r routine + * is available to getservent re-entrantly. + */ +/* GETSERVENT_R_PROTO: + * This symbol encodes the prototype of getservent_r. + */ +/*#define HAS_GETSERVENT_R /**/ +#define GETSERVENT_R_PROTO 0 /**/ + /* HAS_PTHREAD_ATFORK: * This symbol, if defined, indicates that the pthread_atfork routine * is available setup fork handlers. */ /*#define HAS_PTHREAD_ATFORK /**/ +/* HAS_READDIR64_R: + * This symbol, if defined, indicates that the readdir64_r routine + * is available to readdir64 re-entrantly. + */ +/* READDIR64_R_PROTO: + * This symbol encodes the prototype of readdir64_r. + */ +/*#define HAS_READDIR64_R /**/ +#define READDIR64_R_PROTO 0 /**/ + +/* HAS_SETHOSTENT_R: + * This symbol, if defined, indicates that the sethostent_r routine + * is available to sethostent re-entrantly. + */ +/* SETHOSTENT_R_PROTO: + * This symbol encodes the prototype of sethostent_r. + */ +/*#define HAS_SETHOSTENT_R /**/ +#define SETHOSTENT_R_PROTO 0 /**/ + +/* HAS_SETLOCALE_R: + * This symbol, if defined, indicates that the setlocale_r routine + * is available to setlocale re-entrantly. + */ +/* SETLOCALE_R_PROTO: + * This symbol encodes the prototype of setlocale_r. + */ +/*#define HAS_SETLOCALE_R /**/ +#define SETLOCALE_R_PROTO 0 /**/ + +/* HAS_SETNETENT_R: + * This symbol, if defined, indicates that the setnetent_r routine + * is available to setnetent re-entrantly. + */ +/* SETNETENT_R_PROTO: + * This symbol encodes the prototype of setnetent_r. + */ +/*#define HAS_SETNETENT_R /**/ +#define SETNETENT_R_PROTO 0 /**/ + +/* HAS_SETPROTOENT_R: + * This symbol, if defined, indicates that the setprotoent_r routine + * is available to setprotoent re-entrantly. + */ +/* SETPROTOENT_R_PROTO: + * This symbol encodes the prototype of setprotoent_r. + */ +/*#define HAS_SETPROTOENT_R /**/ +#define SETPROTOENT_R_PROTO 0 /**/ + +/* HAS_SETSERVENT_R: + * This symbol, if defined, indicates that the setservent_r routine + * is available to setservent re-entrantly. + */ +/* SETSERVENT_R_PROTO: + * This symbol encodes the prototype of setservent_r. + */ +/*#define HAS_SETSERVENT_R /**/ +#define SETSERVENT_R_PROTO 0 /**/ + +/* HAS_TTYNAME_R: + * This symbol, if defined, indicates that the ttyname_r routine + * is available to ttyname re-entrantly. + */ +/* TTYNAME_R_PROTO: + * This symbol encodes the prototype of ttyname_r. + */ +/*#define HAS_TTYNAME_R /**/ +#define TTYNAME_R_PROTO 0 /**/ + #endif diff --git a/vos/perl.bind b/vos/perl.bind index d74965e49e..6531c05086 100644 --- a/vos/perl.bind +++ b/vos/perl.bind @@ -25,7 +25,7 @@ modules: miniperlmain, pp_pack, pp_sort, pp_sys, - regcomp, + reentr, regexec, run, scope, |