Skip to content

Commit

Permalink
[inseparable changes from match from perl-5.003_98 to perl-5.003_99]
Browse files Browse the repository at this point in the history
 CORE PORTABILITY

Subject: NeXT hints update
Date: Thu, 1 May 97 00:28:41 +0200
From: Unknown Contributor <hansm@euronet.nl>
Files: Configure Makefile.SH hints/next_4.sh

    private-msgid: 199704302229.AAA02690@mail.euronet.nl

Subject: Support shared libperl on AIX
Date: Sat, 26 Apr 1997 20:31:37 -0500
From: Eric Bartley <bartley@icd.cc.purdue.edu>
Files: Configure Makefile.SH hints/aix.sh
Msg-ID: 199704270131.UAA51426@icd.cc.purdue.edu

    (applied based on p5p patch as commit 019c9bb)
  • Loading branch information
Perl 5 Porters authored and Chip Salzenberg committed Apr 30, 1997
1 parent 3e07908 commit 3c321fd
Show file tree
Hide file tree
Showing 9 changed files with 142 additions and 14 deletions.
98 changes: 96 additions & 2 deletions Changes
Expand Up @@ -45,6 +45,100 @@ And the Keepers of the Patch Pumpkin:
Chip Salzenberg <chip@perl.com>


----------------
Version 5.003_99
----------------

"Oops." Now this _has_ to be the gamma; we're out of numbers.

CORE LANGUAGE CHANGES

(no changes)

CORE PORTABILITY

Title: "NeXT hints update"
From: hansm@euronet.nl
Msg-ID: <199704302229.AAA02690@mail.euronet.nl>
Date: Thu, 1 May 97 00:28:41 +0200
Files: Configure Makefile.SH hints/next_4.sh

Title: "Support shared libperl on AIX"
From: Eric Bartley <bartley@icd.cc.purdue.edu>
Msg-ID: <199704270131.UAA51426@icd.cc.purdue.edu>
Date: Sat, 26 Apr 1997 20:31:37 -0500
Files: Configure Makefile.SH hints/aix.sh

OTHER CORE CHANGES

Title: "Fix NUL-termination bug in delimcpy()"
From: Chip Salzenberg
Files: util.c

Title: "Forget prototype of subroutine after C<undef &subr>"
From: Chip Salzenberg
Files: op.c

Title: "Handle tainted values in lists returned from subs, evals"
From: Chip Salzenberg
Files: pp_ctl.c pp_hot.c t/op/taint.t

Title: "Fix sysread() on tied handle"
From: Spider Boardman
Msg-ID: <199705010601.CAA04926@Orb.Nashua.NH.US>
Date: Thu, 1 May 1997 02:01:20 -0400
Files: pp_sys.c

Title: "Fix OS/2-specific buffer overflow"
From: Ilya Zakharevich
Msg-ID: <199704301920.PAA09681@monk.mps.ohio-state.edu>
Date: Wed, 30 Apr 1997 15:20:01 -0400 (EDT)
Files: os2/os2.c

BUILD PROCESS

Title: "Add new globals to perl.exp"
From: Chip Salzenberg
Files: perl_exp.SH

LIBRARY AND EXTENSIONS

Title: "Refresh DB_File to 1.14"
From: Paul Marquess
Msg-ID: <9704302045.AA05484@claudius.bfsec.bt.co.uk>
Date: Wed, 30 Apr 1997 21:45:09 +0100 (BST)
Files: ext/DB_File/DB_File.pm ext/DB_File/DB_File.xs t/lib/db-btree.t
t/lib/db-hash.t t/lib/db-recno.t

TESTS

Title: "Disable op/pipe.t test under Machten"
From: Dominic Dunlop <domo@slipper.ip.lu>
Msg-ID: <v03102801af8e160d3879@[194.51.248.68]>
Date: Thu, 1 May 1997 12:48:26 +0200
Files: t/io/pipe.t

UTILITIES

Title: "typo fixes to installhtml"
From: lvirden@cas.org (Larry W. Virden)
Msg-ID: <199705011114.HAA26968@cas.org>
Date: Thu, 1 May 1997 07:14:31 -0400
Files: installhtml

DOCUMENTATION

Title: "Fix description of av_undef() in perlguts"
From: Gisle Aas
Msg-ID: <199705011042.MAA09897@bergen.sn.no>
Date: Thu, 1 May 1997 12:42:46 +0200
Files: pod/perlguts.pod

Title: "Fix typo in perldelta"
From: Chip Salzenberg
Files: pod/perldelta.pod


----------------
Version 5.003_98
----------------
Expand All @@ -69,14 +163,14 @@ Here it is, the second public beta (a.k.a gamma).
Files: opcode.pl

Title: "Reset errno after failed piped close"
From: Roderick Schertler <roderick@argon.org>
From: Roderick Schertler
Msg-ID: <28152.862264940@eeyore.ibcinc.com>
Date: Mon, 28 Apr 1997 18:02:20 -0400
Files: lib/Time/gmtime.pm lib/Time/localtime.pm pod/perlfunc.pod
t/io/pipe.t util.c

Title: "Fix warning wrt return value of PerlIO_getname()"
From: Spider Boardman <spider@Orb.Nashua.NH.US>
From: Spider Boardman
Msg-ID: <199704300448.AAA24174@Orb.Nashua.NH.US>
Date: Wed, 30 Apr 1997 00:48:13 -0400
Files: perlio.c
Expand Down
6 changes: 6 additions & 0 deletions Configure
Expand Up @@ -85,6 +85,9 @@ done
PATH=.$p_$PATH
export PATH

: This should not matter in a script, but apparently it does sometimes
unset CDPATH

: Sanity checks
if test ! -t 0; then
echo "Say 'sh $me', not 'sh <$me'"
Expand Down Expand Up @@ -4726,6 +4729,9 @@ xxx=''
tmp_shrpenv=''
if "$useshrplib"; then
case "$osname" in
aix)
# We'll set it in Makefile.SH...
;;
solaris|netbsd)
xxx="-R $shrpdir"
;;
Expand Down
25 changes: 21 additions & 4 deletions Makefile.SH
Expand Up @@ -24,19 +24,27 @@ case "$d_dosuid" in
esac

linklibperl='$(LIBPERL)'
shrpldflags='$(LDDLFLAGS)'
case "$useshrplib" in
true)
pldlflags="$cccdlflags"
# NeXT-4 specific stuff. Can't we do this in the hint file?
case "${osname}${osvers}" in
next4*)
ld='libtool -dynamic -undefined warning -framework System \
-compatibility_version 1 -current_version $(PATCHLEVEL) \
-prebind -seg1addr 0x27000000 -install_name $(SHRPDIR)/$@'
ld=libtool
lddlflags="-dynamic -undefined warning -framework System \
-compatibility_version 1 -current_version $patchlevel \
-prebind -seg1addr 0x27000000 -install_name \$(shrpdir)/\$@"
;;
sunos*|freebsd[23]*|netbsd*)
linklibperl="-lperl"
;;
aix*)
shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp"
shrpldflags="$shrpldflags -b noentry $ldflags $libs $cryptlib"
aixinstdir=`pwd | sed 's/\/UU$//'`
linklibperl="-L $archlibexp/CORE -L $aixinstdir -lperl"
;;
esac
;;
*) pldlflags=''
Expand Down Expand Up @@ -98,6 +106,7 @@ man3ext = $man3ext
# The following are used to build and install shared libraries for
# dynamic loading.
LDDLFLAGS = $lddlflags
SHRPLDFLAGS = $shrpldflags
CCDLFLAGS = $ccdlflags
DLSUFFIX = .$dlext
PLDLFLAGS = $pldlflags
Expand Down Expand Up @@ -248,8 +257,16 @@ $(LIBPERL): $& perl$(OBJ_EXT) $(obj)
case "$useshrplib" in
true)
$spitshell >>Makefile <<'!NO!SUBS!'
$(LD) $(LDDLFLAGS) -o $@ perl$(OBJ_EXT) $(obj)
$(LD) $(SHRPLDFLAGS) -o $@ perl$(OBJ_EXT) $(obj)
!NO!SUBS!
case "$osname" in
aix)
$spitshell >>Makefile <<'!NO!SUBS!'
mv $@ libperl$(OBJ_EXT)
$(AR) qv $(LIBPERL) libperl$(OBJ_EXT)
!NO!SUBS!
;;
esac
;;
*)
$spitshell >>Makefile <<'!NO!SUBS!'
Expand Down
3 changes: 3 additions & 0 deletions hints/aix.sh
Expand Up @@ -17,6 +17,9 @@ alignbytes=8

usemymalloc='n'

so="a"
dlext="so"

# Make setsockopt work correctly. See man page.
# ccflags='-D_BSD=44'

Expand Down
16 changes: 12 additions & 4 deletions hints/next_4.sh
Expand Up @@ -24,7 +24,7 @@ ld='cc'
#optimize='-g -O'

#
# Change the lines below if you do not want to build 'quad-fat'
# Change the lines below if you do not want to build 'triple-fat'
# binaries
#
archs=`/bin/lipo -info /usr/lib/libm.a | sed 's/^[^:]*:[^:]*: //'`
Expand All @@ -33,9 +33,17 @@ do
mab="$mab -arch $d"
done

ccflags="$ccflags $mab"
ccdlflags="$mab"
# Can we also set ld='libtool -xxx' ?
#
# Unfortunately, "cc -E - $mab" doesn't work. Since that's what
# Configure will try if we add $mab to $ccflags, we won't. If you want
# to build a fat binary, try changing $ccflags and $ccdlflags to look
# like this when Configure invites you to edit config.h manually:
#
# ccflags="$ccflags $mab"
# ccdlflags="$mab"
#
# (I wonder: Can we also set ld='libtool -xxx' ?)
#

useshprlib='true'
dlext='bundle'
Expand Down
2 changes: 1 addition & 1 deletion patchlevel.h
@@ -1,5 +1,5 @@
#define PATCHLEVEL 3
#define SUBVERSION 98
#define SUBVERSION 99

/*
local_patches -- list of locally applied less-than-subversion patches.
Expand Down
2 changes: 1 addition & 1 deletion plan9/buildinfo
@@ -1 +1 @@
p9pvers = 5.003_98
p9pvers = 5.003_99
2 changes: 1 addition & 1 deletion vms/config.vms
Expand Up @@ -76,7 +76,7 @@
* when Perl is built. Please do not change it by hand; make
* any changes to FndVers.Com instead.
*/
#define ARCHLIB_EXP "/perl_root/lib/VMS_VAX/5_00398" /**/
#define ARCHLIB_EXP "/perl_root/lib/VMS_VAX/5_00399" /**/
#define ARCHLIB ARCHLIB_EXP /*config-skip*/

/* ARCHNAME:
Expand Down
2 changes: 1 addition & 1 deletion vms/descrip.mms
Expand Up @@ -65,7 +65,7 @@ OBJVAL = $(MMS$TARGET_NAME)$(O)
.endif

# Updated by fndvers.com -- do not edit by hand
PERL_VERSION = 5_00398#
PERL_VERSION = 5_00399#


ARCHDIR = [.lib.$(ARCH).$(PERL_VERSION)]
Expand Down

0 comments on commit 3c321fd

Please sign in to comment.