From: Gurusamy Sarathy Date: Fri, 6 Mar 1998 06:00:08 +0000 (+0000) Subject: [win32] various X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=07ba589215942ebbc273059e8ab8622602f3e0f2;p=p5sagit%2Fp5-mst-13.2.git [win32] various - s/PerlIO_fread/PerlIO_read/, the former doesn't exist - add missing prototypes - regenerate win32/config*.?c p4raw-id: //depot/win32/perl@791 --- diff --git a/bytecode.h b/bytecode.h index 4676b5a..e86c146 100644 --- a/bytecode.h +++ b/bytecode.h @@ -23,7 +23,7 @@ EXT I32 obj_list_fill INIT(-1); bs.fread((char*)(argp),(len),(nelem),bs.data) #define BGET_FGETC() bs.fgetc(bs.data) #else -#define BGET_FREAD(argp, len, nelem) PerlIO_fread((argp), (len), (nelem), fp) +#define BGET_FREAD(argp, len, nelem) PerlIO_read(fp, (argp), (len)*(nelem)) #define BGET_FGETC() PerlIO_getc(fp) #endif /* INDIRECT_BGET_MACROS */ @@ -51,7 +51,7 @@ EXT I32 obj_list_fill INIT(-1); BGET_U32(arg); \ if (arg) { \ New(666, pv.xpv_pv, arg, char); \ - PerlIO_fread(pv.xpv_pv, 1, arg, fp);\ + PerlIO_read(fp, pv.xpv_pv, arg); \ pv.xpv_len = arg; \ pv.xpv_cur = arg - 1; \ } else { \ diff --git a/proto.h b/proto.h index 037e154..8f2fb14 100644 --- a/proto.h +++ b/proto.h @@ -426,6 +426,7 @@ I32 same_dirent _((char* a, char* b)); char* savepv _((char* sv)); char* savepvn _((char* sv, I32 len)); void savestack_grow _((void)); +void save_aelem _((AV* av, I32 idx, SV **sptr)); void save_aptr _((AV** aptr)); AV* save_ary _((GV* gv)); void save_clearsv _((SV** svp)); @@ -438,6 +439,7 @@ void save_freeop _((OP* o)); void save_freepv _((char* pv)); void save_gp _((GV* gv, I32 empty)); HV* save_hash _((GV* gv)); +void save_helem _((HV* hv, SV *key, SV **sptr)); void save_hptr _((HV** hptr)); void save_I16 _((I16* intp)); void save_I32 _((I32* intp)); diff --git a/win32/config.bc b/win32/config.bc index de7a337..365c5de 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -1,31 +1,5 @@ -# -## This file was hand coded and a lot of information is invalid -# ## Configured by: ~cf_email~ ## Target system: WIN32 -# - -archlibexp='~INST_TOP~\lib\~archname~' -archname='MSWin32' -cc='bcc32' -ccflags='-DWIN32' -cppflags='-DWIN32' -dlsrc='dl_win32.xs' -dynamic_ext='Socket IO Fcntl Opcode SDBM_File attrs Thread' -extensions='~static_ext~ ~dynamic_ext~' -installarchlib='~INST_TOP~\lib\~archname~' -installprivlib='~INST_TOP~\lib' -libpth='' -libs='' -osname='MSWin32' -osvers='4.0' -prefix='~INST_DRV~' -privlibexp='~INST_TOP~\lib' -sharpbang='#!' -shsharp='true' -so='dll' -startsh='#!/bin/sh' -static_ext='DynaLoader' Author='' CONFIG='true' Date='$Date' @@ -35,22 +9,27 @@ Locker='' Log='$Log' Mcc='Mcc' PATCHLEVEL='~PATCHLEVEL~' -POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"' RCSfile='$RCSfile' Revision='$Revision' SUBVERSION='~SUBVERSION~' Source='' State='' +_a='.lib' +_exe='.exe' +_o='.obj' afs='false' alignbytes='8' aphostname='' ar='tlib /P128' archlib='~INST_TOP~\lib\~archname~' +archlibexp='~INST_TOP~\lib\~archname~' +archname='MSWin32' archobjs='' awk='awk' baserev='5.0' bash='' bin='~INST_TOP~\bin' +bincompat3='' binexp='~INST_TOP~\bin' bison='' byacc='byacc' @@ -58,8 +37,10 @@ byteorder='1234' c='' castflags='0' cat='type' +cc='bcc32' cccdlflags=' ' ccdlflags='-tWD' +ccflags='-DWIN32' cf_by='nobody' cf_email='nobody@no.where.net' cf_time='' @@ -74,6 +55,7 @@ cp='copy' cpio='' cpp='cpp32' cpp_stuff='42' +cppflags='-DWIN32' cpplast='' cppminus='' cpprun='' @@ -90,7 +72,6 @@ d_bcopy='undef' d_bincompat3='undef' d_bsd='define' d_bsdgetpgrp='undef' -d_bsdpgrp='undef' d_bsdsetpgrp='undef' d_bzero='undef' d_casti32='define' @@ -126,24 +107,26 @@ d_flock='define' d_fork='undef' d_fpathconf='undef' d_fsetpos='define' +d_ftime='define' d_getgrps='undef' -d_setgrps='undef' -d_gethent='undef' d_gethbyaddr='define' d_gethbyname='define' +d_gethent='undef' +d_gethname='define' +d_getlogin='define' d_getnbyaddr='undef' d_getnbyname='undef' d_getpbyname='define' d_getpbynumber='define' -d_getsbyname='define' -d_getsbyport='define' -d_getlogin='define' +d_getpgid='undef' d_getpgrp2='undef' d_getpgrp='undef' -d_getpgid='undef' d_getppid='undef' d_getprior='undef' +d_getsbyname='define' +d_getsbyport='define' d_gettimeod='undef' +d_gnulibc='undef' d_htonl='define' d_index='undef' d_inetaton='undef' @@ -170,7 +153,7 @@ d_msgrcv='define' d_msgsnd='define' d_mymalloc='define' d_nice='undef' -d_oldarchlib='undef' +d_oldpthreads='undef' d_oldsock='undef' d_open3='undef' d_pathconf='undef' @@ -179,6 +162,8 @@ d_phostname='undef' d_pipe='define' d_poll='undef' d_portable='define' +d_pthread_yield='undef' +d_pthreads_created_joinable='undef' d_pwage='undef' d_pwchange='undef' d_pwclass='undef' @@ -193,6 +178,7 @@ d_rmdir='define' d_safebcpy='undef' d_safemcpy='undef' d_sanemcmp='define' +d_sched_yield='undef' d_seekdir='define' d_select='define' d_sem='undef' @@ -201,6 +187,8 @@ d_semget='define' d_semop='define' d_setegid='undef' d_seteuid='undef' +d_setgrps='undef' +d_sethent='undef' d_setlinebuf='undef' d_setlocale='define' d_setpgid='undef' @@ -221,12 +209,8 @@ d_shmatprototype='undef' d_shmctl='define' d_shmdt='define' d_shmget='define' -d_shrplib='undef' d_sigaction='undef' -d_sigintrp='' d_sigsetjmp='undef' -d_sigvec='define' -d_sigvectr='undef' d_socket='define' d_sockpair='undef' d_statblks='undef' @@ -276,6 +260,9 @@ db_prefixtype='int' defvoidused='15' direntrytype='struct direct' dlext='dll' +dlsrc='dl_win32.xs' +doublesize='8' +dynamic_ext='Socket IO Fcntl Opcode SDBM_File attrs Thread' eagain='EAGAIN' echo='echo' egrep='egrep' @@ -283,6 +270,7 @@ emacs='' eunicefix=':' exe_ext='.exe' expr='expr' +extensions='~static_ext~ ~dynamic_ext~' find='find' firstmakefile='makefile' flex='' @@ -292,15 +280,12 @@ full_csh='' full_sed='' gcc='' gccversion='' -netdb_host_type='char *' -netdb_hlen_type='int' -netdb_name_type='char *' -netdb_net_type='long' 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 ' grep='grep' groupcat='' groupstype='gid_t' +gzip='gzip' h_fcntl='false' h_sysfile='true' hint='recommended' @@ -322,6 +307,7 @@ i_malloc='define' i_math='define' i_memory='undef' i_ndbm='undef' +i_netdb='undef' i_neterrno='undef' i_niin='undef' i_pwd='undef' @@ -360,9 +346,11 @@ i_varhdr='varargs.h' i_vfork='undef' incpath='' inews='' +installarchlib='~INST_TOP~\lib\~archname~' installbin='~INST_TOP~\bin' installman1dir='~INST_TOP~\man\man1' installman3dir='~INST_TOP~\man\man3' +installprivlib='~INST_TOP~\lib' installscript='~INST_TOP~\bin' installsitearch='~INST_TOP~\lib\site\~archname~' installsitelib='~INST_TOP~\lib\site' @@ -377,6 +365,8 @@ less='less' lib_ext='.lib' libc='cw32mti.lib' libperl='perl.lib' +libpth='' +libs='' libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x' line='line' lint='' @@ -393,6 +383,7 @@ lseektype='off_t' mail='' mailx='' make='dmake' +make_set_make='#' mallocobj='malloc.o' mallocsrc='malloc.c' malloctype='void *' @@ -415,15 +406,20 @@ mydomain='' myhostname='' myuname='' n='-n' +netdb_hlen_type='int' +netdb_host_type='char *' +netdb_name_type='char *' +netdb_net_type='long' +nm='' nm_opt='' nm_so_opt='' nroff='' o_nonblock='O_NONBLOCK' obj_ext='.obj' -oldarchlib='' -oldarchlibexp='' optimize='-O2' orderlib='false' +osname='MSWin32' +osvers='4.0' package='perl5' pager='more /e' passcat='' @@ -438,9 +434,12 @@ pidtype='int' plibpth='' pmake='' pr='' +prefix='~INST_DRV~' prefixexp='~INST_DRV~' privlib='~INST_TOP~\lib' +privlibexp='~INST_TOP~\lib' prototype='define' +ptrsize='4' randbits='15' ranlib='rem' rd_nodata='-1' @@ -454,9 +453,11 @@ selecttype='Perl_fd_set *' sendmail='blat' sh='cmd /x /c' shar='' +sharpbang='#!' shmattype='void *' shortsize='2' -shrpdir='none' +shrpenv='' +shsharp='true' sig_name='ZERO INT ILL FPE SEGV TERM USR1 USR2 USR3 BREAK ABRT' sig_name_init='"ZERO", "INT", "ILL", "FPE", "SEGV", "TERM", "USR1", "USR2", "USR3", "BREAK", "ABRT", 0' sig_num='0, 2, 4, 8, 11, 15, 16, 17, 20, 21, 22, 0' @@ -469,25 +470,32 @@ sizetype='size_t' sleep='' smail='' small='' +so='dll' sockethdr='' socketlib='' sort='sort' spackage='Perl5' spitshell='' split='' +src='' ssizetype='int' startperl='#!perl' +startsh='#!/bin/sh' +static_ext='DynaLoader' stdchar='unsigned char' stdio_base='((fp)->buffer)' stdio_bufsiz='((fp)->level + (fp)->curp - (fp)->buffer)' stdio_cnt='((fp)->level)' +stdio_filbuf='' stdio_ptr='((fp)->curp)' strings='/usr/include/string.h' submit='' +subversion='~SUBVERSION~' sysman='/usr/man/man1' tail='' tar='' tbl='' +tee='' test='' timeincl='/usr/include/sys/time.h ' timetype='time_t' @@ -500,9 +508,11 @@ uniq='uniq' usedl='define' usemymalloc='n' usenm='false' +useopcode='true' useperlio='undef' -useposix='true' -usesafe='true' +useposix='false' +usesfio='false' +useshrplib='yes' usethreads='undef' usevfork='false' usrinc='/usr/include' @@ -511,3 +521,4 @@ vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' zcat='' +zip='zip' diff --git a/win32/config.gc b/win32/config.gc index 310586f..0bf2718 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -1,31 +1,5 @@ -# -## This file was hand coded and a lot of information is invalid -# ## Configured by: ~cf_email~ ## Target system: WIN32 -# - -archlibexp='~INST_TOP~\lib\~archname~' -archname='MSWin32' -cc='gcc' -ccflags='-DWIN32' -cppflags='-DWIN32' -dlsrc='dl_win32.xs' -dynamic_ext='Socket IO Fcntl Opcode SDBM_File attrs Thread' -extensions='~static_ext~ ~dynamic_ext~' -installarchlib='~INST_TOP~\lib\~archname~' -installprivlib='~INST_TOP~\lib' -libpth='' -libs=' ' -osname='MSWin32' -osvers='4.0' -prefix='~INST_DRV~' -privlibexp='~INST_TOP~\lib' -sharpbang='#!' -shsharp='true' -so='dll' -startsh='#!/bin/sh' -static_ext='DynaLoader' Author='' CONFIG='true' Date='$Date' @@ -35,22 +9,27 @@ Locker='' Log='$Log' Mcc='Mcc' PATCHLEVEL='~PATCHLEVEL~' -POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"' RCSfile='$RCSfile' Revision='$Revision' SUBVERSION='~SUBVERSION~' Source='' State='' +_a='.lib' +_exe='.exe' +_o='.obj' afs='false' alignbytes='8' aphostname='' ar='ar' archlib='~INST_TOP~\lib\~archname~' +archlibexp='~INST_TOP~\lib\~archname~' +archname='MSWin32' archobjs='' awk='awk' baserev='5.0' bash='' bin='~INST_TOP~\bin' +bincompat3='' binexp='~INST_TOP~\bin' bison='' byacc='byacc' @@ -58,8 +37,10 @@ byteorder='1234' c='' castflags='0' cat='type' +cc='gcc' cccdlflags=' ' ccdlflags=' ' +ccflags='-MD -DWIN32' cf_by='nobody' cf_email='nobody@no.where.net' cf_time='' @@ -74,6 +55,7 @@ cp='copy' cpio='' cpp='cpp' cpp_stuff='42' +cppflags='-DWIN32' cpplast='' cppminus='-' cpprun='gcc -E' @@ -90,7 +72,6 @@ d_bcopy='undef' d_bincompat3='undef' d_bsd='define' d_bsdgetpgrp='undef' -d_bsdpgrp='undef' d_bsdsetpgrp='undef' d_bzero='undef' d_casti32='define' @@ -126,24 +107,26 @@ d_flock='define' d_fork='undef' d_fpathconf='undef' d_fsetpos='define' +d_ftime='define' d_getgrps='undef' -d_setgrps='undef' -d_gethent='undef' d_gethbyaddr='define' d_gethbyname='define' +d_gethent='undef' +d_gethname='define' +d_getlogin='define' d_getnbyaddr='undef' d_getnbyname='undef' d_getpbyname='define' d_getpbynumber='define' -d_getsbyname='define' -d_getsbyport='define' -d_getlogin='define' +d_getpgid='undef' d_getpgrp2='undef' d_getpgrp='undef' -d_getpgid='undef' d_getppid='undef' d_getprior='undef' +d_getsbyname='define' +d_getsbyport='define' d_gettimeod='undef' +d_gnulibc='undef' d_htonl='define' d_index='undef' d_inetaton='undef' @@ -170,7 +153,7 @@ d_msgrcv='define' d_msgsnd='define' d_mymalloc='define' d_nice='undef' -d_oldarchlib='undef' +d_oldpthreads='undef' d_oldsock='undef' d_open3='undef' d_pathconf='undef' @@ -179,6 +162,8 @@ d_phostname='undef' d_pipe='define' d_poll='undef' d_portable='define' +d_pthread_yield='undef' +d_pthreads_created_joinable='undef' d_pwage='undef' d_pwchange='undef' d_pwclass='undef' @@ -193,6 +178,7 @@ d_rmdir='define' d_safebcpy='undef' d_safemcpy='undef' d_sanemcmp='define' +d_sched_yield='undef' d_seekdir='define' d_select='define' d_sem='undef' @@ -201,6 +187,8 @@ d_semget='define' d_semop='define' d_setegid='undef' d_seteuid='undef' +d_setgrps='undef' +d_sethent='undef' d_setlinebuf='undef' d_setlocale='define' d_setpgid='undef' @@ -221,12 +209,8 @@ d_shmatprototype='undef' d_shmctl='define' d_shmdt='define' d_shmget='define' -d_shrplib='undef' d_sigaction='undef' -d_sigintrp='' d_sigsetjmp='undef' -d_sigvec='define' -d_sigvectr='undef' d_socket='define' d_sockpair='undef' d_statblks='undef' @@ -276,6 +260,9 @@ db_prefixtype='int' defvoidused='15' direntrytype='struct direct' dlext='dll' +dlsrc='dl_win32.xs' +doublesize='8' +dynamic_ext='Socket IO Fcntl Opcode SDBM_File attrs Thread' eagain='EAGAIN' echo='echo' egrep='egrep' @@ -283,6 +270,7 @@ emacs='' eunicefix=':' exe_ext='.exe' expr='expr' +extensions='~static_ext~ ~dynamic_ext~' find='find' firstmakefile='makefile' flex='' @@ -292,15 +280,12 @@ full_csh='' full_sed='' gcc='' gccversion='' -netdb_host_type='char *' -netdb_hlen_type='int' -netdb_name_type='char *' -netdb_net_type='long' 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 ' grep='grep' groupcat='' groupstype='gid_t' +gzip='gzip' h_fcntl='false' h_sysfile='true' hint='recommended' @@ -322,6 +307,7 @@ i_malloc='define' i_math='define' i_memory='undef' i_ndbm='undef' +i_netdb='undef' i_neterrno='undef' i_niin='undef' i_pwd='undef' @@ -360,9 +346,11 @@ i_varhdr='varargs.h' i_vfork='undef' incpath='' inews='' +installarchlib='~INST_TOP~\lib\~archname~' installbin='~INST_TOP~\bin' installman1dir='~INST_TOP~\man\man1' installman3dir='~INST_TOP~\man\man3' +installprivlib='~INST_TOP~\lib' installscript='~INST_TOP~\bin' installsitearch='~INST_TOP~\lib\site\~archname~' installsitelib='~INST_TOP~\lib\site' @@ -377,10 +365,12 @@ less='less' lib_ext='.lib' libc='msvcrt.lib' libperl='libperl.a' +libpth='' +libs='' libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x' line='line' lint='' -lkflags=' ' +lkflags='' ln='' lns='copy' locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' @@ -393,6 +383,7 @@ lseektype='off_t' mail='' mailx='' make='dmake' +make_set_make='#' mallocobj='malloc.o' mallocsrc='malloc.c' malloctype='void *' @@ -415,15 +406,20 @@ mydomain='' myhostname='' myuname='' n='-n' +netdb_hlen_type='int' +netdb_host_type='char *' +netdb_name_type='char *' +netdb_net_type='long' +nm='nm' nm_opt='' nm_so_opt='' nroff='' o_nonblock='O_NONBLOCK' obj_ext='.o' -oldarchlib='' -oldarchlibexp='' optimize='-O2' orderlib='false' +osname='MSWin32' +osvers='4.0' package='perl5' pager='more /e' passcat='' @@ -438,9 +434,12 @@ pidtype='int' plibpth='' pmake='' pr='' +prefix='~INST_DRV~' prefixexp='~INST_DRV~' privlib='~INST_TOP~\lib' +privlibexp='~INST_TOP~\lib' prototype='define' +ptrsize='4' randbits='15' ranlib='rem' rd_nodata='-1' @@ -454,9 +453,11 @@ selecttype='Perl_fd_set *' sendmail='blat' sh='cmd /x /c' shar='' +sharpbang='#!' shmattype='void *' shortsize='2' -shrpdir='none' +shrpenv='' +shsharp='true' sig_name='ZERO INT ILL FPE SEGV TERM BREAK ABRT' sig_name_init='"ZERO", "INT", "ILL", "FPE", "SEGV", "TERM", "BREAK", "ABRT", 0' sig_num='0, 2, 4, 8, 11, 15, 21, 22, 0' @@ -469,25 +470,32 @@ sizetype='size_t' sleep='' smail='' small='' +so='dll' sockethdr='' socketlib='' sort='sort' spackage='Perl5' spitshell='' split='' +src='' ssizetype='int' startperl='#!perl' +startsh='#!/bin/sh' +static_ext='DynaLoader' stdchar='char' stdio_base='((fp)->_base)' stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)' stdio_cnt='((fp)->_cnt)' +stdio_filbuf='' stdio_ptr='((fp)->_ptr)' strings='/usr/include/string.h' submit='' +subversion='~SUBVERSION~' sysman='/usr/man/man1' tail='' tar='' tbl='' +tee='' test='' timeincl='/usr/include/sys/time.h ' timetype='time_t' @@ -500,9 +508,11 @@ uniq='uniq' usedl='define' usemymalloc='n' usenm='false' +useopcode='true' useperlio='undef' -useposix='true' -usesafe='true' +useposix='false' +usesfio='false' +useshrplib='yes' usethreads='undef' usevfork='false' usrinc='/usr/include' @@ -511,3 +521,4 @@ vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' zcat='' +zip='zip' diff --git a/win32/config.vc b/win32/config.vc index 486794d..9797319 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -1,31 +1,5 @@ -# -## This file was hand coded and a lot of information is invalid -# ## Configured by: ~cf_email~ ## Target system: WIN32 -# - -archlibexp='~INST_TOP~\lib\~archname~' -archname='MSWin32' -cc='cl' -ccflags='-MD -DWIN32' -cppflags='-DWIN32' -dlsrc='dl_win32.xs' -dynamic_ext='Socket IO Fcntl Opcode SDBM_File attrs Thread' -extensions='~static_ext~ ~dynamic_ext~' -installarchlib='~INST_TOP~\lib\~archname~' -installprivlib='~INST_TOP~\lib' -libpth='' -libs='' -osname='MSWin32' -osvers='4.0' -prefix='~INST_DRV~' -privlibexp='~INST_TOP~\lib' -sharpbang='#!' -shsharp='true' -so='dll' -startsh='#!/bin/sh' -static_ext='DynaLoader' Author='' CONFIG='true' Date='$Date' @@ -35,22 +9,27 @@ Locker='' Log='$Log' Mcc='Mcc' PATCHLEVEL='~PATCHLEVEL~' -POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"' RCSfile='$RCSfile' Revision='$Revision' SUBVERSION='~SUBVERSION~' Source='' State='' +_a='.lib' +_exe='.exe' +_o='.obj' afs='false' alignbytes='8' aphostname='' ar='lib' archlib='~INST_TOP~\lib\~archname~' +archlibexp='~INST_TOP~\lib\~archname~' +archname='MSWin32' archobjs='' awk='awk' baserev='5.0' bash='' bin='~INST_TOP~\bin' +bincompat3='' binexp='~INST_TOP~\bin' bison='' byacc='byacc' @@ -58,8 +37,10 @@ byteorder='1234' c='' castflags='0' cat='type' +cc='cl' cccdlflags=' ' ccdlflags=' ' +ccflags='-MD -DWIN32' cf_by='nobody' cf_email='nobody@no.where.net' cf_time='' @@ -74,6 +55,7 @@ cp='copy' cpio='' cpp='cpp' cpp_stuff='42' +cppflags='-DWIN32' cpplast='' cppminus='' cpprun='cl -E' @@ -90,7 +72,6 @@ d_bcopy='undef' d_bincompat3='undef' d_bsd='define' d_bsdgetpgrp='undef' -d_bsdpgrp='undef' d_bsdsetpgrp='undef' d_bzero='undef' d_casti32='define' @@ -126,24 +107,26 @@ d_flock='define' d_fork='undef' d_fpathconf='undef' d_fsetpos='define' +d_ftime='define' d_getgrps='undef' -d_setgrps='undef' -d_gethent='undef' d_gethbyaddr='define' d_gethbyname='define' +d_gethent='undef' +d_gethname='define' +d_getlogin='define' d_getnbyaddr='undef' d_getnbyname='undef' d_getpbyname='define' d_getpbynumber='define' -d_getsbyname='define' -d_getsbyport='define' -d_getlogin='define' +d_getpgid='undef' d_getpgrp2='undef' d_getpgrp='undef' -d_getpgid='undef' d_getppid='undef' d_getprior='undef' +d_getsbyname='define' +d_getsbyport='define' d_gettimeod='undef' +d_gnulibc='undef' d_htonl='define' d_index='undef' d_inetaton='undef' @@ -170,7 +153,7 @@ d_msgrcv='define' d_msgsnd='define' d_mymalloc='define' d_nice='undef' -d_oldarchlib='undef' +d_oldpthreads='undef' d_oldsock='undef' d_open3='undef' d_pathconf='undef' @@ -179,6 +162,8 @@ d_phostname='undef' d_pipe='define' d_poll='undef' d_portable='define' +d_pthread_yield='undef' +d_pthreads_created_joinable='undef' d_pwage='undef' d_pwchange='undef' d_pwclass='undef' @@ -193,6 +178,7 @@ d_rmdir='define' d_safebcpy='undef' d_safemcpy='undef' d_sanemcmp='define' +d_sched_yield='undef' d_seekdir='define' d_select='define' d_sem='undef' @@ -201,6 +187,8 @@ d_semget='define' d_semop='define' d_setegid='undef' d_seteuid='undef' +d_setgrps='undef' +d_sethent='undef' d_setlinebuf='undef' d_setlocale='define' d_setpgid='undef' @@ -221,12 +209,8 @@ d_shmatprototype='undef' d_shmctl='define' d_shmdt='define' d_shmget='define' -d_shrplib='undef' d_sigaction='undef' -d_sigintrp='' d_sigsetjmp='undef' -d_sigvec='define' -d_sigvectr='undef' d_socket='define' d_sockpair='undef' d_statblks='undef' @@ -276,6 +260,9 @@ db_prefixtype='int' defvoidused='15' direntrytype='struct direct' dlext='dll' +dlsrc='dl_win32.xs' +doublesize='8' +dynamic_ext='Socket IO Fcntl Opcode SDBM_File attrs Thread' eagain='EAGAIN' echo='echo' egrep='egrep' @@ -283,6 +270,7 @@ emacs='' eunicefix=':' exe_ext='.exe' expr='expr' +extensions='~static_ext~ ~dynamic_ext~' find='find' firstmakefile='makefile' flex='' @@ -292,15 +280,12 @@ full_csh='' full_sed='' gcc='' gccversion='' -netdb_host_type='char *' -netdb_hlen_type='int' -netdb_name_type='char *' -netdb_net_type='long' 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 ' grep='grep' groupcat='' groupstype='gid_t' +gzip='gzip' h_fcntl='false' h_sysfile='true' hint='recommended' @@ -322,6 +307,7 @@ i_malloc='define' i_math='define' i_memory='undef' i_ndbm='undef' +i_netdb='undef' i_neterrno='undef' i_niin='undef' i_pwd='undef' @@ -360,9 +346,11 @@ i_varhdr='varargs.h' i_vfork='undef' incpath='' inews='' +installarchlib='~INST_TOP~\lib\~archname~' installbin='~INST_TOP~\bin' installman1dir='~INST_TOP~\man\man1' installman3dir='~INST_TOP~\man\man3' +installprivlib='~INST_TOP~\lib' installscript='~INST_TOP~\bin' installsitearch='~INST_TOP~\lib\site\~archname~' installsitelib='~INST_TOP~\lib\site' @@ -377,6 +365,8 @@ less='less' lib_ext='.lib' libc='msvcrt.lib' libperl='perl.lib' +libpth='' +libs='' libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x' line='line' lint='' @@ -393,6 +383,7 @@ lseektype='off_t' mail='' mailx='' make='nmake' +make_set_make='#' mallocobj='malloc.o' mallocsrc='malloc.c' malloctype='void *' @@ -415,15 +406,20 @@ mydomain='' myhostname='' myuname='' n='-n' +netdb_hlen_type='int' +netdb_host_type='char *' +netdb_name_type='char *' +netdb_net_type='long' +nm='' nm_opt='' nm_so_opt='' nroff='' o_nonblock='O_NONBLOCK' obj_ext='.obj' -oldarchlib='' -oldarchlibexp='' optimize='-O' orderlib='false' +osname='MSWin32' +osvers='4.0' package='perl5' pager='more /e' passcat='' @@ -438,9 +434,12 @@ pidtype='int' plibpth='' pmake='' pr='' +prefix='~INST_DRV~' prefixexp='~INST_DRV~' privlib='~INST_TOP~\lib' +privlibexp='~INST_TOP~\lib' prototype='define' +ptrsize='4' randbits='15' ranlib='rem' rd_nodata='-1' @@ -454,9 +453,11 @@ selecttype='Perl_fd_set *' sendmail='blat' sh='cmd /x /c' shar='' +sharpbang='#!' shmattype='void *' shortsize='2' -shrpdir='none' +shrpenv='' +shsharp='true' sig_name='ZERO INT ILL FPE SEGV TERM BREAK ABRT' sig_name_init='"ZERO", "INT", "ILL", "FPE", "SEGV", "TERM", "BREAK", "ABRT", 0' sig_num='0, 2, 4, 8, 11, 15, 21, 22, 0' @@ -469,25 +470,32 @@ sizetype='size_t' sleep='' smail='' small='' +so='dll' sockethdr='' socketlib='' sort='sort' spackage='Perl5' spitshell='' split='' +src='' ssizetype='int' startperl='#!perl' +startsh='#!/bin/sh' +static_ext='DynaLoader' stdchar='char' stdio_base='((fp)->_base)' stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)' stdio_cnt='((fp)->_cnt)' +stdio_filbuf='' stdio_ptr='((fp)->_ptr)' strings='/usr/include/string.h' submit='' +subversion='~SUBVERSION~' sysman='/usr/man/man1' tail='' tar='' tbl='' +tee='' test='' timeincl='/usr/include/sys/time.h ' timetype='time_t' @@ -500,9 +508,11 @@ uniq='uniq' usedl='define' usemymalloc='n' usenm='false' +useopcode='true' useperlio='undef' -useposix='true' -usesafe='true' +useposix='false' +usesfio='false' +useshrplib='yes' usethreads='undef' usevfork='false' usrinc='/usr/include' @@ -511,3 +521,4 @@ vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' zcat='' +zip='zip' diff --git a/win32/config_H.bc b/win32/config_H.bc index b8f52a0..bcdc0b8 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -12,7 +12,7 @@ /* * Package name : perl5 - * Source directory : undef + * Source directory : * Configuration time: undef * Configured by : gsar * Target system : @@ -239,12 +239,6 @@ */ /*#define HAS_GETGROUPS /**/ -/* HAS_GETHOSTENT: - * This symbol, if defined, indicates that the gethostent routine is - * available to lookup host names in some data base or other. - */ -/*#define HAS_GETHOSTENT /**/ - /* HAS_UNAME: * This symbol, if defined, indicates that the C program may use the * uname() routine to derive the host name. See also HAS_GETHOSTNAME @@ -1467,6 +1461,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF /**/ +/* DOUBLESIZE: + * This symbol contains the size of a double, so that the C preprocessor + * can make decisions based on it. + */ +#define DOUBLESIZE 8 /**/ + /* I_TIME: * This symbol, if defined, indicates to the C program that it should * include . @@ -1526,6 +1526,14 @@ #define RD_NODATA -1 #define EOF_NONBLOCK +/* PTRSIZE: + * This symbol contains the size of a pointer, so that the C preprocessor + * can make decisions based on it. It will be sizeof(void *) if + * the compiler supports (void *); otherwise it will be + * sizeof(char *). + */ +#define PTRSIZE 4 /**/ + /* RANDBITS: * This symbol contains the number of bits of random number the rand() * function produces. Usual values are 15, 16, and 31. @@ -1591,6 +1599,58 @@ */ /*#define CSH "" /**/ +/* HAS_GETHOSTBYADDR: + * This symbol, if defined, indicates that the gethostbyaddr() routine is + * available to look up hosts by their IP addresses. + */ +#define HAS_GETHOSTBYADDR /**/ + +/* HAS_GETHOSTBYNAME: + * This symbol, if defined, indicates that the gethostbyname() routine is + * available to look up host names in some data base or other. + */ +#define HAS_GETHOSTBYNAME /**/ + +/* HAS_GETHOSTENT: + * This symbol, if defined, indicates that the gethostent() routine is + * available to look up host names in some data base or another. + */ +/*#define HAS_GETHOSTENT /**/ + +/* HAS_GETNETBYADDR: + * This symbol, if defined, indicates that the getnetbyaddr() routine is + * available to look up networks by their IP addresses. + */ +/*#define HAS_GETNETBYADDR /**/ + +/* HAS_GETNETBYNAME: + * This symbol, if defined, indicates that the getnetbyname() routine is + * available to look up networks by their names. + */ +/*#define HAS_GETNETBYNAME /**/ + +/* HAS_GETPROTOBYNAME: + * This symbol, if defined, indicates that the getprotobyname() + * routine is available to look up protocols by their name. + */ +/* HAS_GETPROTOBYNUMBER: + * This symbol, if defined, indicates that the getprotobynumber() + * routine is available to look up protocols by their number. + */ +#define HAS_GETPROTOBYNAME /**/ +#define HAS_GETPROTOBYNUMBER /**/ + +/* HAS_GETSERVBYNAME: + * This symbol, if defined, indicates that the getservbyname() + * routine is available to look up services by their name. + */ +/* HAS_GETSERVBYPORT: + * This symbol, if defined, indicates that the getservbyport() + * routine is available to look up services by their port. + */ +#define HAS_GETSERVBYNAME /**/ +#define HAS_GETSERVBYPORT /**/ + /* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple @@ -1598,6 +1658,12 @@ */ /*#define HAS_SETGROUPS /**/ +/* HAS_SETHOSTENT: + * This symbol, if defined, indicates that the sethostent() routine is + * available. + */ +/*#define HAS_SETHOSTENT /**/ + /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare @@ -1802,7 +1868,12 @@ * This symbol, if defined, indicates that Perl should * be built to use threads. */ +/* OLD_PTHREADS_API: + * This symbol, if defined, indicates that Perl should + * be built to use the old draft POSIX threads API. + */ /*#define USE_THREADS /**/ +/*#define OLD_PTHREADS_API /**/ #endif #include diff --git a/win32/config_H.gc b/win32/config_H.gc index e5f3d27..eef1a63 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -12,7 +12,7 @@ /* * Package name : perl5 - * Source directory : undef + * Source directory : * Configuration time: undef * Configured by : gsar * Target system : @@ -239,12 +239,6 @@ */ /*#define HAS_GETGROUPS /**/ -/* HAS_GETHOSTENT: - * This symbol, if defined, indicates that the gethostent routine is - * available to lookup host names in some data base or other. - */ -/*#define HAS_GETHOSTENT /**/ - /* HAS_UNAME: * This symbol, if defined, indicates that the C program may use the * uname() routine to derive the host name. See also HAS_GETHOSTNAME @@ -1467,6 +1461,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF /**/ +/* DOUBLESIZE: + * This symbol contains the size of a double, so that the C preprocessor + * can make decisions based on it. + */ +#define DOUBLESIZE 8 /**/ + /* I_TIME: * This symbol, if defined, indicates to the C program that it should * include . @@ -1526,6 +1526,14 @@ #define RD_NODATA -1 #define EOF_NONBLOCK +/* PTRSIZE: + * This symbol contains the size of a pointer, so that the C preprocessor + * can make decisions based on it. It will be sizeof(void *) if + * the compiler supports (void *); otherwise it will be + * sizeof(char *). + */ +#define PTRSIZE 4 /**/ + /* RANDBITS: * This symbol contains the number of bits of random number the rand() * function produces. Usual values are 15, 16, and 31. @@ -1591,6 +1599,58 @@ */ /*#define CSH "" /**/ +/* HAS_GETHOSTBYADDR: + * This symbol, if defined, indicates that the gethostbyaddr() routine is + * available to look up hosts by their IP addresses. + */ +#define HAS_GETHOSTBYADDR /**/ + +/* HAS_GETHOSTBYNAME: + * This symbol, if defined, indicates that the gethostbyname() routine is + * available to look up host names in some data base or other. + */ +#define HAS_GETHOSTBYNAME /**/ + +/* HAS_GETHOSTENT: + * This symbol, if defined, indicates that the gethostent() routine is + * available to look up host names in some data base or another. + */ +/*#define HAS_GETHOSTENT /**/ + +/* HAS_GETNETBYADDR: + * This symbol, if defined, indicates that the getnetbyaddr() routine is + * available to look up networks by their IP addresses. + */ +/*#define HAS_GETNETBYADDR /**/ + +/* HAS_GETNETBYNAME: + * This symbol, if defined, indicates that the getnetbyname() routine is + * available to look up networks by their names. + */ +/*#define HAS_GETNETBYNAME /**/ + +/* HAS_GETPROTOBYNAME: + * This symbol, if defined, indicates that the getprotobyname() + * routine is available to look up protocols by their name. + */ +/* HAS_GETPROTOBYNUMBER: + * This symbol, if defined, indicates that the getprotobynumber() + * routine is available to look up protocols by their number. + */ +#define HAS_GETPROTOBYNAME /**/ +#define HAS_GETPROTOBYNUMBER /**/ + +/* HAS_GETSERVBYNAME: + * This symbol, if defined, indicates that the getservbyname() + * routine is available to look up services by their name. + */ +/* HAS_GETSERVBYPORT: + * This symbol, if defined, indicates that the getservbyport() + * routine is available to look up services by their port. + */ +#define HAS_GETSERVBYNAME /**/ +#define HAS_GETSERVBYPORT /**/ + /* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple @@ -1598,6 +1658,12 @@ */ /*#define HAS_SETGROUPS /**/ +/* HAS_SETHOSTENT: + * This symbol, if defined, indicates that the sethostent() routine is + * available. + */ +/*#define HAS_SETHOSTENT /**/ + /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare @@ -1802,7 +1868,12 @@ * This symbol, if defined, indicates that Perl should * be built to use threads. */ +/* OLD_PTHREADS_API: + * This symbol, if defined, indicates that Perl should + * be built to use the old draft POSIX threads API. + */ /*#define USE_THREADS /**/ +/*#define OLD_PTHREADS_API /**/ #endif #include diff --git a/win32/config_H.vc b/win32/config_H.vc index b679932..c38ae59 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -12,7 +12,7 @@ /* * Package name : perl5 - * Source directory : undef + * Source directory : * Configuration time: undef * Configured by : gsar * Target system : @@ -239,12 +239,6 @@ */ /*#define HAS_GETGROUPS /**/ -/* HAS_GETHOSTENT: - * This symbol, if defined, indicates that the gethostent routine is - * available to lookup host names in some data base or other. - */ -/*#define HAS_GETHOSTENT /**/ - /* HAS_UNAME: * This symbol, if defined, indicates that the C program may use the * uname() routine to derive the host name. See also HAS_GETHOSTNAME @@ -1467,6 +1461,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF /**/ +/* DOUBLESIZE: + * This symbol contains the size of a double, so that the C preprocessor + * can make decisions based on it. + */ +#define DOUBLESIZE 8 /**/ + /* I_TIME: * This symbol, if defined, indicates to the C program that it should * include . @@ -1526,6 +1526,14 @@ #define RD_NODATA -1 #define EOF_NONBLOCK +/* PTRSIZE: + * This symbol contains the size of a pointer, so that the C preprocessor + * can make decisions based on it. It will be sizeof(void *) if + * the compiler supports (void *); otherwise it will be + * sizeof(char *). + */ +#define PTRSIZE 4 /**/ + /* RANDBITS: * This symbol contains the number of bits of random number the rand() * function produces. Usual values are 15, 16, and 31. @@ -1591,6 +1599,58 @@ */ /*#define CSH "" /**/ +/* HAS_GETHOSTBYADDR: + * This symbol, if defined, indicates that the gethostbyaddr() routine is + * available to look up hosts by their IP addresses. + */ +#define HAS_GETHOSTBYADDR /**/ + +/* HAS_GETHOSTBYNAME: + * This symbol, if defined, indicates that the gethostbyname() routine is + * available to look up host names in some data base or other. + */ +#define HAS_GETHOSTBYNAME /**/ + +/* HAS_GETHOSTENT: + * This symbol, if defined, indicates that the gethostent() routine is + * available to look up host names in some data base or another. + */ +/*#define HAS_GETHOSTENT /**/ + +/* HAS_GETNETBYADDR: + * This symbol, if defined, indicates that the getnetbyaddr() routine is + * available to look up networks by their IP addresses. + */ +/*#define HAS_GETNETBYADDR /**/ + +/* HAS_GETNETBYNAME: + * This symbol, if defined, indicates that the getnetbyname() routine is + * available to look up networks by their names. + */ +/*#define HAS_GETNETBYNAME /**/ + +/* HAS_GETPROTOBYNAME: + * This symbol, if defined, indicates that the getprotobyname() + * routine is available to look up protocols by their name. + */ +/* HAS_GETPROTOBYNUMBER: + * This symbol, if defined, indicates that the getprotobynumber() + * routine is available to look up protocols by their number. + */ +#define HAS_GETPROTOBYNAME /**/ +#define HAS_GETPROTOBYNUMBER /**/ + +/* HAS_GETSERVBYNAME: + * This symbol, if defined, indicates that the getservbyname() + * routine is available to look up services by their name. + */ +/* HAS_GETSERVBYPORT: + * This symbol, if defined, indicates that the getservbyport() + * routine is available to look up services by their port. + */ +#define HAS_GETSERVBYNAME /**/ +#define HAS_GETSERVBYPORT /**/ + /* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple @@ -1598,6 +1658,12 @@ */ /*#define HAS_SETGROUPS /**/ +/* HAS_SETHOSTENT: + * This symbol, if defined, indicates that the sethostent() routine is + * available. + */ +/*#define HAS_SETHOSTENT /**/ + /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare @@ -1802,7 +1868,12 @@ * This symbol, if defined, indicates that Perl should * be built to use threads. */ +/* OLD_PTHREADS_API: + * This symbol, if defined, indicates that Perl should + * be built to use the old draft POSIX threads API. + */ /*#define USE_THREADS /**/ +/*#define OLD_PTHREADS_API /**/ #endif #include diff --git a/win32/makefile.mk b/win32/makefile.mk index 04e815b..45af877 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -17,7 +17,7 @@ INST_TOP *= $(INST_DRV)\perl5004.5x # # uncomment to enable threads-capabilities -USE_THREADS *= define +#USE_THREADS *= define # # uncomment one