From: Jarkko Hietaniemi Date: Wed, 1 May 2002 02:04:22 +0000 (+0000) Subject: No bincompat5005. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d953f698b2c38b90c08a3ed9f11ce2835fc0eb22;p=p5sagit%2Fp5-mst-13.2.git No bincompat5005. p4raw-id: //depot/perl@16291 --- diff --git a/Configure b/Configure index 011cdc0..c9d7651 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Wed Apr 24 03:05:12 EET DST 2002 [metaconfig 3.0 PL70] +# Generated on Wed May 1 05:49:09 EET DST 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * See INSTALL for how this works. * The versioned site_perl directory was introduced in 5.005, * so that is the lowest possible value. - * Since this can depend on compile time options (such as - * bincompat) it is set by Configure. Other non-default sources + * Since this can depend on compile time options + * it is set by Configure. Other non-default sources * of potential incompatibility, such as multiplicity, threads, * debugging, 64bits, sfio, etc., are not checked for currently, * though in principle we could go snooping around in old diff --git a/configure.com b/configure.com index b4abec4..faec59d 100644 --- a/configure.com +++ b/configure.com @@ -5143,7 +5143,6 @@ $ WC "d_attribut='" + d_attribut + "'" $ WC "d_bcmp='" + d_bcmp + "'" $ WC "d_bcopy='" + d_bcopy + "'" $ WC "d_bincompat3='undef'" -$ WC "d_bincompat5005='undef'" $! WC "d_bsdpgrp='undef'" $ WC "d_bsdgetpgrp='undef'" $ WC "d_bsdsetpgrp='undef'" diff --git a/epoc/config.sh b/epoc/config.sh index 83673ef..3b8862c 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -43,7 +43,6 @@ awk='awk' baserev='5.0' bash='' bin='' -bincompat5005='false' binexp='' bison='bison' byacc='' @@ -106,7 +105,6 @@ d_atoll='undef' d_attribut='undef' d_bcmp='define' d_bcopy='define' -d_bincompat5005='undef' d_bsd='undef' d_bsdgetpgrp='undef' d_bsdsetpgrp='undef' diff --git a/hints/aix.sh b/hints/aix.sh index f3a3fc5..ef3ff07 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -468,9 +468,6 @@ EOM ''|64*) archname64=64all ;; esac longsize="8" - # Don't try backwards compatibility - bincompat="$undef" - d_bincompat5005="$undef" qacflags='' qaldflags='' qalibs='' diff --git a/hints/cygwin.sh b/hints/cygwin.sh index e42be64..e88cab7 100644 --- a/hints/cygwin.sh +++ b/hints/cygwin.sh @@ -33,10 +33,6 @@ archname='cygwin' cccdlflags=' ' ld='ld2' -# optional(ish) -# - perl malloc needs to be unpolluted -bincompat5005='undef' - # Win9x problem with non-blocking read from a closed pipe d_eofnblk='define' diff --git a/hints/mpeix.sh b/hints/mpeix.sh index 53db0152..f01b979 100644 --- a/hints/mpeix.sh +++ b/hints/mpeix.sh @@ -143,7 +143,6 @@ timetype='time_t' # # Functionality. # -bincompat5005="$undef" uselargefiles="$undef" # # Expected functionality provided in mpeix.c. diff --git a/makedef.pl b/makedef.pl index d218411..5539ba8 100644 --- a/makedef.pl +++ b/makedef.pl @@ -11,39 +11,6 @@ my $PLATFORM; my $CCTYPE; -my %bincompat5005 = - ( - Perl_call_atexit => "perl_atexit", - Perl_eval_sv => "perl_eval_sv", - Perl_eval_pv => "perl_eval_pv", - Perl_call_argv => "perl_call_argv", - Perl_call_method => "perl_call_method", - Perl_call_pv => "perl_call_pv", - Perl_call_sv => "perl_call_sv", - Perl_get_av => "perl_get_av", - Perl_get_cv => "perl_get_cv", - Perl_get_hv => "perl_get_hv", - Perl_get_sv => "perl_get_sv", - Perl_init_i18nl10n => "perl_init_i18nl10n", - Perl_init_i18nl14n => "perl_init_i18nl14n", - Perl_new_collate => "perl_new_collate", - Perl_new_ctype => "perl_new_ctype", - Perl_new_numeric => "perl_new_numeric", - Perl_require_pv => "perl_require_pv", - Perl_safesyscalloc => "Perl_safecalloc", - Perl_safesysfree => "Perl_safefree", - Perl_safesysmalloc => "Perl_safemalloc", - Perl_safesysrealloc => "Perl_saferealloc", - Perl_set_numeric_local => "perl_set_numeric_local", - Perl_set_numeric_standard => "perl_set_numeric_standard", - Perl_malloc => "malloc", - Perl_mfree => "free", - Perl_realloc => "realloc", - Perl_calloc => "calloc", - ); - -my $bincompat5005 = join("|", keys %bincompat5005); - while (@ARGV) { my $flag = shift; $define{$1} = 1 if ($flag =~ /^-D(\w+)$/); @@ -1053,7 +1020,7 @@ elsif ($PLATFORM eq 'os2') { /^\s*[\da-f:]+\s+(\w+)/i and $mapped{$1}++ foreach ; close MAP or die 'Cannot close miniperl.map'; - @missing = grep { !exists $mapped{$_} and !exists $bincompat5005{$_} } + @missing = grep { !exists $mapped{$_} } keys %export; delete $export{$_} foreach @missing; } @@ -1226,8 +1193,6 @@ sub emit_symbol { sub output_symbol { my $symbol = shift; - $symbol = $bincompat5005{$symbol} - if $define{PERL_BINCOMPAT_5005} and $symbol =~ /^($bincompat5005)$/; if ($PLATFORM eq 'win32') { $symbol = "_$symbol" if $CCTYPE eq 'BORLAND'; print "\t$symbol\n"; diff --git a/myconfig.SH b/myconfig.SH index a71d7a3..2942139 100644 --- a/myconfig.SH +++ b/myconfig.SH @@ -36,7 +36,7 @@ Summary of my $package (revision $baserev $version_patchlevel_string) configurat usethreads=$usethreads use5005threads=$use5005threads useithreads=$useithreads usemultiplicity=$usemultiplicity useperlio=$useperlio d_sfio=$d_sfio uselargefiles=$uselargefiles usesocks=$usesocks use64bitint=$use64bitint use64bitall=$use64bitall uselongdouble=$uselongdouble - usemymalloc=$usemymalloc, bincompat5005=$d_bincompat5005 + usemymalloc=$usemymalloc, bincompat5005=undef Compiler: cc='$cc', ccflags ='$ccflags', optimize='$optimize', diff --git a/pod/perltoc.pod b/pod/perltoc.pod index cc9fd78..b14290c 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -10167,7 +10167,7 @@ C, C =item b -C, C, C, C, C, C, +C, C, C, C, C, C, C =item c @@ -10184,7 +10184,7 @@ C, C, C C, C, C, C, C, C, C, C, C, C, -C, C, C, C, C, +C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, diff --git a/uconfig.h b/uconfig.h index 5cbd51d..2f6188c 100644 --- a/uconfig.h +++ b/uconfig.h @@ -1014,14 +1014,6 @@ #define BIN "/usr/local/bin" /**/ #define BIN_EXP "" /**/ -/* PERL_BINCOMPAT_5005: - * This symbol, if defined, indicates that this version of Perl should be - * binary-compatible with Perl 5.005. This is impossible for builds - * that use features like threads and multiplicity it is always - * for those versions. - */ -/*#define PERL_BINCOMPAT_5005 / **/ - /* BYTEORDER: * This symbol holds the hexadecimal constant defined in byteorder, * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... @@ -3580,8 +3572,8 @@ * See INSTALL for how this works. * The versioned site_perl directory was introduced in 5.005, * so that is the lowest possible value. - * Since this can depend on compile time options (such as - * bincompat) it is set by Configure. Other non-default sources + * Since this can depend on compile time options + * it is set by Configure. Other non-default sources * of potential incompatibility, such as multiplicity, threads, * debugging, 64bits, sfio, etc., are not checked for currently, * though in principle we could go snooping around in old diff --git a/uconfig.sh b/uconfig.sh index ba3d253..a87be05 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -10,7 +10,6 @@ archlibexp='/usr/local/lib/perl5/5.7/unknown' archname='unknown' asctime_r_proto='0' bin='/usr/local/bin' -bincompat5005='define' byteorder='1234' castflags='0' charsize='1' @@ -44,7 +43,6 @@ d_atoll='undef' d_attribut='undef' d_bcmp='undef' d_bcopy='undef' -d_bincompat5005='undef' d_bsd='undef' d_bsdgetpgrp='undef' d_bsdsetpgrp='undef' diff --git a/vos/config.alpha.def b/vos/config.alpha.def index ef3acee..179529a 100644 --- a/vos/config.alpha.def +++ b/vos/config.alpha.def @@ -36,7 +36,6 @@ $d_atoll='undef' $d_attribut='undef' $d_bcmp='undef' $d_bcopy='undef' -$d_bincompat5005='undef' $d_bsdgetpgrp='undef' $d_bsdsetpgrp='undef' $d_bzero='undef' diff --git a/vos/config.ga.def b/vos/config.ga.def index 885025f..3fb3de1 100644 --- a/vos/config.ga.def +++ b/vos/config.ga.def @@ -36,7 +36,6 @@ $d_atoll='undef' $d_attribut='undef' $d_bcmp='undef' $d_bcopy='undef' -$d_bincompat5005='undef' $d_bsdgetpgrp='undef' $d_bsdsetpgrp='undef' $d_bzero='undef' diff --git a/win32/config.bc b/win32/config.bc index 69cb885..0952833 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -34,7 +34,6 @@ awk='awk' baserev='5' bash='' bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~' -bincompat5005='undef' binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~' bison='' byacc='byacc' @@ -98,7 +97,6 @@ d_atoll='undef' d_attribut='undef' d_bcmp='undef' d_bcopy='undef' -d_bincompat5005='undef' d_bsd='define' d_bsdgetpgrp='undef' d_bsdsetpgrp='undef' diff --git a/win32/config.gc b/win32/config.gc index 014381b..588a624 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -132,7 +132,6 @@ awk='awk' baserev='5' bash='' bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~' -bincompat5005='undef' binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~' bison='' byacc='byacc' @@ -192,7 +191,6 @@ d_atoll='undef' d_attribut='define' d_bcmp='undef' d_bcopy='undef' -d_bincompat5005='undef' d_bsd='define' d_bsdgetpgrp='undef' d_bsdsetpgrp='undef' diff --git a/win32/config.vc b/win32/config.vc index e4e47ec..1396fee 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -34,7 +34,6 @@ awk='awk' baserev='5' bash='' bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~' -bincompat5005='undef' binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~' bison='' byacc='byacc' @@ -98,7 +97,6 @@ d_atoll='undef' d_attribut='undef' d_bcmp='undef' d_bcopy='undef' -d_bincompat5005='undef' d_bsd='define' d_bsdgetpgrp='undef' d_bsdsetpgrp='undef' diff --git a/win32/config.vc64 b/win32/config.vc64 index 37b05d8..e834d34 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -34,7 +34,6 @@ awk='awk' baserev='5' bash='' bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~' -bincompat5005='undef' binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~' bison='' byacc='byacc' @@ -98,7 +97,6 @@ d_atoll='define' d_attribut='undef' d_bcmp='undef' d_bcopy='undef' -d_bincompat5005='undef' d_bsd='define' d_bsdgetpgrp='undef' d_bsdsetpgrp='undef' diff --git a/wince/config.ce b/wince/config.ce index 86ac886..9e42882 100644 --- a/wince/config.ce +++ b/wince/config.ce @@ -36,7 +36,6 @@ awk='awk' baserev='5' bash='' bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~' -bincompat5005='undef' binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~' bison='' byacc='byacc' @@ -100,7 +99,6 @@ d_atoll='undef' d_attribut='undef' d_bcmp='undef' d_bcopy='undef' -d_bincompat5005='undef' d_bsd='define' d_bsdgetpgrp='undef' d_bsdsetpgrp='undef'