Chip Salzenberg [Tue, 28 Jan 1997 11:11:15 +0000 (23:11 +1200)]
Avoid newRV_noinc() in IO, for compiling with old Perls
Unknown Contributor [Tue, 28 Jan 1997 20:14:34 +0000 (21:14 +0100)]
Allow for really big keys in Tie::SubstrHash
private-msgid: <
199701282014.VAA12645@selters.uio.no>
Chip Salzenberg [Tue, 28 Jan 1997 11:10:05 +0000 (23:10 +1200)]
Fix $Is_VMS typo in Test::Harness
Jarkko Hietaniemi [Sat, 25 Jan 1997 15:10:20 +0000 (17:10 +0200)]
Fcntl.xs: F_[GS]ETOWN were in wrong case branch
private-msgid: <
199701251510.RAA05142@alpha.hut.fi>
Chip Salzenberg [Tue, 28 Jan 1997 11:10:44 +0000 (23:10 +1200)]
Refresh Text::Wrap to 97.011701
Chip Salzenberg [Tue, 28 Jan 1997 11:10:49 +0000 (23:10 +1200)]
Update $VERSION of DynaLoader and POSIX
Chip Salzenberg [Tue, 28 Jan 1997 11:10:07 +0000 (23:10 +1200)]
Version checking in XS bootstrap is optional
Norbert Pueschel [Tue, 28 Jan 1997 11:11:17 +0000 (23:11 +1200)]
Make configure{,.gnu} ignore --cache-file option
Chip Salzenberg [Tue, 28 Jan 1997 11:10:08 +0000 (23:10 +1200)]
Configure fixes: set $archlib, omit _NO_PROTO
Chip Salzenberg [Tue, 28 Jan 1997 11:10:48 +0000 (23:10 +1200)]
Put all extensions' modules in $archlib
Jarkko Hietaniemi [Sun, 26 Jan 1997 19:37:59 +0000 (21:37 +0200)]
global.sym: typo?
private-msgid: <
199701261937.VAA07556@alpha.hut.fi>
Jarkko Hietaniemi [Mon, 27 Jan 1997 22:16:49 +0000 (00:16 +0200)]
Fix overloading macro conflict with Digital 'cc -fast'
private-msgid: <
199701272216.
AAA04557@alpha.hut.fi>
Tim Bunce [Mon, 27 Jan 1997 23:39:48 +0000 (23:39 +0000)]
Don't abort when RCHECK and DEBUGGING
private-msgid: <
9701272339.
AA16537@toad.ig.co.uk>
Chip Salzenberg [Tue, 28 Jan 1997 11:11:16 +0000 (23:11 +1200)]
Deref old stash when re-blessing
Chip Salzenberg [Tue, 28 Jan 1997 11:11:15 +0000 (23:11 +1200)]
Prevent premature death of @_ during leavesub
Jarkko Hietaniemi [Mon, 27 Jan 1997 12:33:01 +0000 (14:33 +0200)]
New dec_osf hints
private-msgid: <
199701271233.OAA21548@alpha.hut.fi>
Chip Salzenberg [Tue, 28 Jan 1997 11:11:49 +0000 (23:11 +1200)]
Don't warn on C<$\ = undef>
Chip Salzenberg [Wed, 29 Jan 1997 06:11:00 +0000 (18:11 +1200)]
[shell changes from patch from perl5.003_23 to perl5.003_24]
Change from running these commands:
# this file will be executable
touch t/op/closure.t
chmod a+x t/op/closure.t
# ready to patch
exit 0
Perl 5 Porters [Sat, 25 Jan 1997 03:58:00 +0000 (15:58 +1200)]
[inseparable changes from patch from perl5.003_22 to perl5.003_23]
BUILD PROCESS
Subject: Make configure.gnu a copy of configure; make configure writea
From: Chip Salzenberg <chip@atlantic.net>
Files: MANIFEST configure.gnu
Subject: Regen Configure with metaconfig: +ARCHNAME, -FILE_filbuf
From: Chip Salzenberg <chip@perl.com>
Files: Configure config_H config_h.SH hints/lynxos.sh os2/diff.configure os2/os2ish.h plan9/config.plan9 sv.c utils/perlbug.PL vms/config.vms vms/fndvers.com
Subject: Compile with optimization when testing memory functions
From: Chip Salzenberg <chip@atlantic.net>
Files: Configure
CORE LANGUAGE CHANGES
Subject: Disallow changing $_[0] in __DIE__ handlers
From: Chip Salzenberg <chip@atlantic.net>
Files: pod/perlfunc.pod util.c
Subject: Fix overloading with inheritance and AUTOLOAD
Date: Mon, 20 Jan 1997 17:26:32 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: gv.c lib/diagnostics.pm lib/overload.pm pod/perldebug.pod pod/perldiag.pod pod/perlfunc.pod pod/perlop.pod pod/perlre.pod pod/perltoc.pod pod/perlxs.pod
Msg-ID: <
199701202226.RAA05072@monk.mps.ohio-state.edu>
(applied based on p5p patch as commit
e7ea3e70155d0bea30720ba41eb6bb6742aac0d1)
Subject: Nested here-docs
Date: Mon, 20 Jan 1997 15:13:42 -0800
From: Larry Wall <larry@wall.org>
Files: toke.c
Msg-ID: <
199701202313.PAA11693@wall.org>
(applied based on p5p patch as commit
fd2d0953290ddd46f0820dbd6c87245486b7ab28)
Subject: Revert $^X to old behavior (plus HP-UX bug fix)
From: Chip Salzenberg <chip@atlantic.net>
Files: hints/hpux.sh toke.c
Subject: Protect against '0' in 'stmt while <HANDLE>'
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c
Subject: Don't warn when closure uses var at file scope
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c
CORE PORTABILITY
Subject: VMS patches for _22
Date: Mon, 20 Jan 1997 22:50:21 -0500 (EST)
From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
Files: ext/POSIX/POSIX.xs lib/ExtUtils/MM_VMS.pm lib/ExtUtils/xsubpp lib/Test/Harness.pm toke.c vms/Makefile vms/descrip.mms vms/genconfig.pl vms/perly_c.vms vms/vmsish.h x2p/a2p.h vms/Makefile vms/config.vms vms/descrip.mms vms/perly_c.vms
private-msgid: <01IEGBJ2TMYS003PCL@hmivax.humgen.upenn.edu>
Subject: Plan9 update
From: Luther Huffman <lutherh@stratcom.com>
Files: plan9/config.plan9 plan9/mkfile
Subject: hints & Configure changes to build perl on DC/OSx
Date: Thu, 16 Jan 1997 16:43:52 -0800
From: Stephen Zander <stephen.zander@interlock.mckesson.com>
Files: Configure MANIFEST hints/dcosx.sh
Msg-ID: <
199701170043.QAA25985@wsbip1.mckesson.com>
(applied based on p5p patch as commit
23f8769697279d7912be5943de9fdf93f6aa3013)
DOCUMENTATION
Subject: Additional docs for __DIE__ and __WARN__
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: pod/perlfunc.pod pod/perlrun.pod pod/perlvar.pod
Subject: Document #line directive
Date: Fri, 24 Jan 1997 04:08:44 -0500
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: pod/perlsyn.pod pod/perltoc.pod
private-msgid: <
199701240908.
EAA23846@aatma.engin.umich.edu>
Subject: delta for perldelta
Date: Fri, 24 Jan 1997 07:57:43 -0800
From: Tom Christiansen <tchrist@mox.perl.com>
Files: pod/perlnews.pod pod/perltoc.pod
private-msgid: <804.
854121463@jinete>
Subject: Updates to perldelta
Date: Mon, 20 Jan 1997 06:48:49 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: pod/perlnews.pod pod/perltoc.pod
private-msgid: <
199701211610.LAA06227@monk.mps.ohio-state.edu>
Subject: perlnews.pod diff for the Fcntl
Date: Tue, 21 Jan 1997 18:00:56 +0200 (EET)
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Files: pod/perlnews.pod
private-msgid: <
199701211600.SAA30117@alpha.hut.fi>
Subject: Rename perlnews -> perldelta per Tom's request
From: Chip Salzenberg <chip@atlantic.net>
Files: MANIFEST pod/Makefile pod/buildtoc pod/perl.pod pod/perldelta.pod pod/perltoc.pod pod/roffitall
LIBRARY AND EXTENSIONS
Subject: Refresh IO to 1.15 (plus DESTROY and new_tmpfile fixes)
From: Chip Salzenberg <chip@atlantic.net>
Files: ext/IO/lib/IO/File.pm ext/IO/lib/IO/Handle.pm ext/IO/lib/IO/Pipe.pm ext/IO/lib/IO/Seekable.pm ext/IO/lib/IO/Socket.pm t/lib/io_pipe.t
Subject: Allow IO.xs to remain at 1.15 while $VERSION is 1.1501
From: Chip Salzenberg <chip@atlantic.net>
Files: XSUB.h ext/IO/Makefile.PL ext/IO/lib/IO/Handle.pm
Subject: Add E* and SA_* constants
Date: Wed, 22 Jan 1997 21:36:07 -0500
From: Roderick Schertler <roderick@gate.net>
Files: ext/POSIX/POSIX.pm ext/POSIX/POSIX.pod ext/POSIX/POSIX.xs
private-msgid: <23338.
853986967@eeyore.ibcinc.com>
OTHER CORE CHANGES
Subject: Make PERL5LIB and -I work like C<use lib>
Date: Thu, 23 Jan 1997 15:23:27 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: lib/lib.pm perl.c
private-msgid: <
9701231523.
AA26613@toad.ig.co.uk>
Subject: Fix /\G.a/
From: Chip Salzenberg <chip@atlantic.net>
Files: regcomp.c regcomp.h regexec.c regexp.h toke.c
Subject: Extend stack in pp_undef (!)
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c
Subject: Allow for sub to be redefined while executing
From: Chip Salzenberg <chip@atlantic.net>
Files: cop.h pp_hot.c t/op/misc.t
Subject: Eliminate redundant flag CVf_FORMAT
From: Chip Salzenberg <chip@atlantic.net>
Files: cv.h op.c perl.c perly.c perly.y proto.h sv.c toke.c
Subject: Generate IVs when possible in abs() and int()
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c
Subject: Efficiency patchlet for pp_aassign()
Date: Mon, 20 Jan 1997 22:05:39 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: pp_hot.c
Msg-ID: <
199701210305.WAA05451@monk.mps.ohio-state.edu>
(applied based on p5p patch as commit
7e42bd57a6867e174bc3bc555c3268b485940a98)
Subject: Remove "suidperl security patch" message
From: Chip Salzenberg <chip@atlantic.net>
Files: perl.c
TESTS
Subject: Fix tests of $^X and $0 to work with QNX
From: Chip Salzenberg <chip@atlantic.net>
Files: t/lib/io_pipe.t t/lib/open2.t t/lib/open3.t t/op/magic.t
Subject: Patch tests for systems without fork()
Date: Thu, 23 Jan 1997 23:51:28 +0100
From: "Norbert Pueschel" <pueschel@imsdd.meb.uni-bonn.de>
Files: t/io/pipe.t t/lib/filehand.t t/lib/io_pipe.t t/lib/io_sock.t t/lib/open2.t t/lib/open3.t t/op/fork.t
private-msgid: <
77724697@Armageddon.meb.uni-bonn.de>
Subject: Test patches for OS/2
Date: Thu, 16 Jan 1997 23:48:18 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: os2/OS2/ExtAttr/t/os2_ea.t os2/OS2/PrfDB/t/os2_prfdb.t os2/OS2/REXX/t/rx_cmprt.t os2/OS2/REXX/t/rx_dllld.t os2/OS2/REXX/t/rx_objcall.t os2/OS2/REXX/t/rx_sql.test os2/OS2/REXX/t/rx_tiesql.test os2/OS2/REXX/t/rx_tievar.t os2/OS2/REXX/t/rx_tieydb.t os2/OS2/REXX/t/rx_varset.t os2/OS2/REXX/t/rx_vrexx.t t/README t/cmd/while.t t/comp/colon.t t/comp/multiline.t t/io/argv.t t/lib/anydbm.t t/lib/gdbm.t t/lib/ndbm.t t/lib/odbm.t t/lib/sdbm.t t/op/cmp.t t/op/magic.t
Msg-ID: <
199701170448.XAA28948@monk.mps.ohio-state.edu>
(applied based on p5p patch as commit
bbad36071d5a6d4be3588f0f10c88247439076d8)
UTILITIES
Subject: Translate \200 to È in pod2html
From: Chip Salzenberg <chip@atlantic.net>
Files: pod/pod2html.PL
Subject: VMS patches: '.com' extension on scripts
Date: Fri, 24 Jan 1997 18:42:29 -0500 (EST)
From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
Files: pod/checkpods.PL pod/pod2html.PL pod/pod2latex.PL pod/pod2man.PL pod/pod2text.PL utils/c2ph.PL utils/h2ph.PL utils/h2xs.PL utils/perlbug.PL utils/perldoc.PL utils/pl2pm.PL utils/splain.PL vms/Makefile vms/descrip.mms x2p/find2perl.PL x2p/s2p.PL
private-msgid: <01IELNPDLYJM003E7J@hmivax.humgen.upenn.edu>
Chip Salzenberg [Fri, 24 Jan 1997 09:26:16 +0000 (21:26 +1200)]
Remove bad advice from perllocale.pod
Ilya Zakharevich [Fri, 17 Jan 1997 04:48:18 +0000 (23:48 -0500)]
Test patches for OS/2
a) Teaches tests in os2/OS2/*/* new format of $Config{extensions};
os2/OS2/ExtAttr/t/os2_ea.t os2/OS2/PrfDB/t/os2_prfdb.t
os2/OS2/REXX/t/rx_cmprt.t os2/OS2/REXX/t/rx_dllld.t
os2/OS2/REXX/t/rx_objcall.t os2/OS2/REXX/t/rx_sql.test
os2/OS2/REXX/t/rx_tiesql.test os2/OS2/REXX/t/rx_tievar.t
os2/OS2/REXX/t/rx_tieydb.t os2/OS2/REXX/t/rx_varset.t
os2/OS2/REXX/t/rx_vrexx.t
b) Closes all the files before unlinking - for DOSISH systems;
t/cmd/while.t t/comp/multiline.t t/io/argv.t t/lib/anydbm.t
t/lib/gdbm.t t/lib/ndbm.t t/lib/odbm.t t/lib/sdbm.t
c) t/README mentions running `harness' to get better granularity;
t/README
d) New test op/lex_assign.t added - will check optimization of lexicals
when applied - 153 cases (some just ignored since hard to implement).
MANIFEST t/op/lex_assign.t
e) When a script is started via shell, $Config{exe_ext} may be appended.
t/op/magic.t
f) path/echo may print a warning if run without args
t/comp/colon.t
g) Error explanations more verbose
t/op/cmp.t t/op/magic.t
p5p-msgid: <
199701170448.XAA28948@monk.mps.ohio-state.edu>
Jeff Okamoto [Fri, 17 Jan 1997 21:17:43 +0000 (13:17 -0800)]
Perlguts version 30
Subject: Re: Perl 5.003_22 is available
p5p-msgid: <
199701172118.
AA116655938@hpcc123.corp.hp.com>
private-msgid: <
199701172117.
AA116515863@hpcc123.corp.hp.com>
Ilya Zakharevich [Tue, 21 Jan 1997 03:05:39 +0000 (22:05 -0500)]
Efficiency patchlet for pp_aassign()
Ilya Zakharevich writes:
>
> With this patch applied the Tom's program
> use integer;
> @a=map int(rand(30000)), 1..100000;
> @b = sort {$a <=> $b} @a;
>
> Runs in 10.3M (sbrk-en).
Here is another tiny patch to pp_aassign: it preallocates the
array. Memory saving is not very big for the above script (5%), but the
speed advantage may be bigger.
[patch]
> Memory allocation statistics after compilation: (buckets 8..524288)
> 13080 free: 13 109 39 2 13 2 3 2 2 0 0 0 0 0 0 0 0
>
4933288 used: 211 251 519 184 35 6 5 3226 3 0 1 0 0 0 0 0 3
> Total sbrk():
4960256. Odd ends: sbrk(): 0, malloc(): 1408 bytes.
> Memory allocation statistics after execution: (buckets 8..
1048576)
> 529848 free: 13 109 38 1 13 1 1 2 1 1 1 1 1 1 1 1 0 0
>
9782280 used: 211 251 520 185 35 7 7 5914 4 1 2 1 1 1 1 1 4 1
> Total sbrk():
10375168. Odd ends: sbrk(): 0, malloc(): 1408 bytes.
Here is the new data, note the absense of "tails" of growing arrays.
Memory allocation statistics after compilation: (buckets 8..524288)
13080 free: 13 109 39 2 13 2 3 2 2 0 0 0 0 0 0 0 0
4933288 used: 211 251 519 184 35 6 5 3226 3 0 1 0 0 0 0 0 3
Total sbrk():
4960256. Odd ends: sbrk(): 0, malloc(): 1408 bytes.
Memory allocation statistics after execution: (buckets 8..
1048576)
11704 free: 13 109 38 1 13 1 3 1 2 0 0 0 0 0 0 0 0 0
9796616 used: 211 251 520 185 35 7 5 6439 3 0 1 0 0 0 0 0 4 1
Total sbrk():
9830400. Odd ends: sbrk(): 0, malloc(): 1408 bytes.
> It is 100 bytes per element. Since an integer array takes 24 bytes per
> element here, and there are only 3 arrays around (precalculated
> 1..100000, @a and @b), there is some other leak.
>
> Apparently <=> converts arguments to NV.
No, all this is wrong. It is 20bytes/elt, and we have stack,
mortals-stack, 1..100000, @a and @b.
Everything is OK now, including <=>.
Enjoy,
p5p-msgid: <
199701210305.WAA05451@monk.mps.ohio-state.edu>
Chip Salzenberg [Fri, 24 Jan 1997 09:25:45 +0000 (21:25 +1200)]
First cut at INSTALL edit
Stephen Zander [Fri, 17 Jan 1997 00:43:52 +0000 (16:43 -0800)]
hints & Configure changes to build perl on DC/OSx
p5p-msgid: <
199701170043.QAA25985@wsbip1.mckesson.com>
Dennis Marsa [Fri, 17 Jan 1997 20:27:32 +0000 (14:27 -0600)]
Allow MakeMaker 5.34 to use libraries containing '+' in name
Subject: MakeMaker 5.34 and libraries containing '+' characters...
p5p-msgid: <
9701172027.
AA27861@orion.cyrix.com>
Larry Wall [Mon, 20 Jan 1997 23:13:42 +0000 (15:13 -0800)]
Nested here-docs
p5p-msgid: <
199701202313.PAA11693@wall.org>
Hugo van der Sanden [Tue, 21 Jan 1997 00:53:44 +0000 (00:53 +0000)]
Test nested here-docs
Subject: Re: Nested here-docs
p5p-msgid: <
199701210053.
AAA02139@crypt.compulink.co.uk>
Ilya Zakharevich [Mon, 20 Jan 1997 22:26:32 +0000 (10:26 +1200)]
patch for LWP 5.05 to make it play with both 5.003 and 5.003_20 + overload patch
Andreas Koenig [Fri, 24 Jan 1997 09:25:46 +0000 (21:25 +1200)]
Refresh CPAN to 1.15
Jarkko Hietaniemi [Sun, 19 Jan 1997 18:11:22 +0000 (20:11 +0200)]
Fcntl: add more constants
Subject: O_EXLOCK, O_SHLOCK to Fcntl.
p5p-msgid: <
199701191717.TAA17694@alpha.hut.fi>
private-msgid: <
199701191811.UAA16346@alpha.hut.fi>
Nick Ing-Simmons [Fri, 24 Jan 1997 09:37:18 +0000 (09:37 +0000)]
DynaLoader enhancement: support RTLD_GLOBAL
private-msgid: <
199701240937.JAA11443@pluto.tiuk.ti.com>
Ilya Zakharevich [Sun, 19 Jan 1997 04:54:59 +0000 (23:54 -0500)]
Debugger update
Subject: Re: Perl 5.003_21: debugger patches
p5p-msgid: <
199701190455.XAA02579@monk.mps.ohio-state.edu>
Chip Salzenberg [Fri, 24 Jan 1997 09:24:59 +0000 (21:24 +1200)]
Minor patch for Debian installation
Chip Salzenberg [Fri, 24 Jan 1997 09:25:01 +0000 (21:25 +1200)]
When sorting, promote to PVNV only for built-in comparison
Tom Horsley [Sun, 19 Jan 1997 20:14:04 +0000 (15:14 -0500)]
patch for hints/cxux.sh perl5.003_22
p5p-msgid: <
9701192014.
AA05722@amber.ssd.hcsc.com>
Tom Horsley [Sat, 18 Jan 1997 18:33:26 +0000 (13:33 -0500)]
patch for hints/powerux.sh
p5p-msgid: <
9701181833.
AA02602@amber.ssd.hcsc.com>
Andreas Koenig [Tue, 21 Jan 1997 02:01:32 +0000 (03:01 +0100)]
on NeXT: gdbm problem fixed
Subject: on NeXT: gdbm problem fixed (by Chip (?))
p5p-msgid: <
199701210201.
DAA17794@anna.in-berlin.de>
Achim Bohnet [Fri, 24 Jan 1997 10:58:24 +0000 (11:58 +0100)]
New dec_osf.sh hints file
private-msgid: <
9701241058.
AA29550@o09.rosat.mpe-garching.mpg.de>
Norbert Pueschel [Tue, 21 Jan 1997 23:13:54 +0000 (00:13 +0100)]
Bugfixes for AmigaOS
Subject: AmigaOS patch (removal)
p5p-msgid: <
77724660@Armageddon.meb.uni-bonn.de>
private-msgid: <
77724691@Armageddon.meb.uni-bonn.de>
Ilya Zakharevich [Fri, 17 Jan 1997 04:46:40 +0000 (23:46 -0500)]
Re: Perl 5.003_21: OS/2 patches
p5p-msgid: <
199701170446.XAA28939@monk.mps.ohio-state.edu>
Chip Salzenberg [Sat, 25 Jan 1997 03:58:00 +0000 (15:58 +1200)]
[shell changes from patch from perl5.003_22 to perl5.003_23]
Change from running these commands:
# this file shall be writeable
chmod u+w configure
# this file will be executable
touch configure.gnu
chmod a+x configure.gnu
# this file has a new name
mv pod/perlnews.pod pod/perldelta.pod
# ready to patch
exit 0
Perl 5 Porters [Thu, 16 Jan 1997 20:39:00 +0000 (08:39 +1200)]
[inseparable changes from patch from perl5.003_21 to perl5.003_22]
CORE LANGUAGE CHANGES
Subject: Fix parsing of C< ${ xyz } >
From: Chip Salzenberg <chip@atlantic.net>
Files: toke.c
Subject: Don't parse method calls in strings
From: Chip Salzenberg <chip@atlantic.net>
Files: toke.c
OTHER CORE CHANGES
Subject: Fix memory corruption from formats
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c perl.c perly.c perly.c.diff perly.y proto.h sv.c toke.c
Winfried Koenig [Wed, 15 Jan 1997 12:03:27 +0000 (14:03 +0200)]
documentation of configpm (perl5.003_20)
p5p-msgid: <m0vkU40-0004WAC@incom.rhein-main.de>
Roderick Schertler [Thu, 16 Jan 1997 01:44:25 +0000 (20:44 -0500)]
srand() doc update
p5p-msgid: <24195.
853379065@eeyore.ibcinc.com>
Raphael Manfredi [Thu, 16 Jan 1997 10:22:01 +0000 (11:22 +0100)]
NEW roffitall + INSTALL fix
p5p-msgid: <6058.
853410121@lyon.grenoble.hp.com>
Kenneth Albanowski [Thu, 16 Jan 1997 00:12:03 +0000 (12:12 +1200)]
Make perlbug more cautionary and more verbose
Signed-off-by: Kenneth Albanowski <kjahds@kjahds.com>
Chip Salzenberg [Wed, 15 Jan 1997 21:43:19 +0000 (09:43 +1200)]
Fix thinko in db-recno.t
Chip Salzenberg [Wed, 15 Jan 1997 23:26:25 +0000 (11:26 +1200)]
RiscOS is case-insensitive
Chip Salzenberg [Thu, 16 Jan 1997 01:23:20 +0000 (13:23 +1200)]
Gut IO::Handle::DESTROY
Chip Salzenberg [Wed, 15 Jan 1997 03:36:47 +0000 (15:36 +1200)]
Fix '_mopop' typo
Chip Salzenberg [Wed, 15 Jan 1997 21:35:34 +0000 (09:35 +1200)]
Fix overly picky carping about leading '{' in regex
Chip Salzenberg [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
[differences between cumulative patch application and perl5.003_21]
Perl 5 Porters [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
[inseparable changes from patch from perl5.003_20 to perl5.003_21]
BUILD PROCESS
Subject: Make MachTen hints file warn about db-recno failures
Date: Wed, 8 Jan 1997 12:07:18 +0100
From: Dominic Dunlop <domo@slipper.ip.lu>
Files: hints/machten.sh
Msg-ID: <v03010d00aef92fba6aca@[194.51.248.78]>
(applied based on p5p patch as commit
a4c70ab8da3ec1d87c83e5c617f4550814ec1724)
Subject: 5.003_20, FreeBSD 3.0 and minor patch
Date: Wed, 8 Jan 1997 14:37:47 +0100
From: Ollivier Robert <roberto@eurocontrol.fr>
Files: Configure
Msg-ID: <Mutt.
19970108143747.roberto@caerdonn.eurocontrol.fr>
(applied based on p5p patch as commit
50e0d465254be88fb90ac23584812a529741b4b1)
CORE LANGUAGE CHANGES
Subject: Fix overloading via inherited autoloaded functions
Date: Mon, 13 Jan 1997 05:22:47 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: gv.c lib/overload.pm pod/perldiag.pod t/pragma/overload.t
Msg-ID: <
199701131022.
FAA22830@monk.mps.ohio-state.edu>
(applied based on p5p patch as commit
a9bc755754f0db5e848e65dfd2e63a96af50ffd4)
Subject: Method call fixes: Don't cache in alias, don't skip undef
From: Chip Salzenberg <chip@atlantic.net>
Files: global.sym gv.c gv.h hv.c op.c pod/perlguts.pod pod/perltoc.pod pp.c pp_ctl.c pp_hot.c proto.h scope.c sv.c t/op/method.t
Subject: Formats can be closures
From: Chip Salzenberg <chip@atlantic.net>
Files: cv.h op.c perly.c perly.c.diff perly.y pp_sys.c sv.h
Subject: Quote 'foo' in C<$x{-foo}>
From: Chip Salzenberg <chip@atlantic.net>
Files: toke.c
Subject: Forbid C< x->{y} > and C< x->[0] > under C<strict refs>
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c pod/perldiag.pod t/pragma/strict-refs
Subject: Allow <=> to return undef when operands are not ordered
From: Chip Salzenberg <chip@perl.com>
Files: MANIFEST pp.c t/op/cmp.t
CORE PORTABILITY
Subject: Re: Perl 5.003_20: OS/2 patches
Date: Fri, 10 Jan 1997 06:02:16 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: hints/os2.sh os2/Changes os2/os2.c os2/os2ish.h pp_sys.c
Msg-ID: <
199701101102.GAA19051@monk.mps.ohio-state.edu>
(applied based on p5p patch as commit
9a3e71f668bd84b1cf53dd3ea10f588d59ecfebb)
Subject: VMS patches for _20
Date: Tue, 14 Jan 1997 17:34:43 -0500 (EST)
From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
Files: configpm dosish.h os2/os2ish.h plan9/plan9ish.h proto.h t/pragma/strict.t t/pragma/subs.t t/pragma/warning.t toke.c unixish.h vms/Makefile vms/config.vms vms/descrip.mms vms/genconfig.pl vms/perly_c.vms vms/test.com vms/vmsish.h x2p/a2p.h x2p/str.c
private-msgid: <01IE7MGK7ULQ003K5M@hmivax.humgen.upenn.edu>
Subject: Irix 6.3 & 6.4 and perl5.003_20
Date: Mon, 13 Jan 1997 17:42:50 -0500 (EST)
From: John Stoffel <jfs@fluent.com>
Files: MANIFEST hints/irix_6_3.sh hints/irix_6_4.sh
Msg-ID: <
199701132242.RAA14601@jfs.Fluent.COM>
(applied based on p5p patch as commit
8a1e91d771b51ae31eed1ac5944c63934213fb07)
Subject: Patch: MachTen hints, Configure
Date: Tue, 14 Jan 1997 13:43:13 +0100
From: Dominic Dunlop <domo@slipper.ip.lu>
Files: Configure hints/machten.sh
private-msgid: <v03010d00af0123a93670@[194.51.248.75]>
Subject: Rename aux.sh to aux_3.sh for MS-LOSS
From: Chip Salzenberg <chip@atlantic.net>
Files: MANIFEST hints/aux_3.sh
DOCUMENTATION
Subject: Full documentation generation patch
Date: Wed, 15 Jan 97 11:16:28 +0100
From: Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
Files: MANIFEST pod/roffitall pod/rofftoc
Msg-ID: <15309.
853323388@lyon.grenoble.hp.com>
(applied based on p5p patch as commit
a3270a1d7469cab9221ab0050a0e6695bd0047d8)
Subject: Document use of pos() and /\G/
Date: Mon, 13 Jan 1997 15:13:12 -0500
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: pod/perlfunc.pod pod/perlnews.pod pod/perlop.pod pod/perlre.pod pod/perltoc.pod pod/perltrap.pod
Msg-ID: <
199701132013.PAA26606@aatma.engin.umich.edu>
(applied based on p5p patch as commit
b2a07c1c241ec86f010fc0ea3bfa54c8ec28be90)
Subject: Document new closure warnings
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c pod/perldiag.pod
Subject: Misc. doc patches missing in _20
Date: Tue, 07 Jan 1997 22:55:33 -0500
From: Roderick Schertler <roderick@gate.net>
Files: pod/perlsub.pod pod/perltoc.pod pod/perlvar.pod
Msg-ID: <102.
852695733@eeyore.ibcinc.com>
(applied based on p5p patch as commit
b88f04ff2985d0899964b90ae56789d88f6b353e)
LIBRARY AND EXTENSIONS
Subject: Localize info about filesystems being case-forgiving
From: Chip Salzenberg <chip@atlantic.net>
Files: lib/File/Basename.pm pod/checkpods.PL pod/pod2html.PL pod/pod2latex.PL pod/pod2man.PL pod/pod2text.PL utils/c2ph.PL utils/h2ph.PL utils/h2xs.PL utils/perlbug.PL utils/perldoc.PL utils/pl2pm.PL utils/splain.PL x2p/find2perl.PL x2p/s2p.PL
Subject: Eliminate warning from C<use overload>
From: Chip Salzenberg <chip@atlantic.net>
Files: lib/overload.pm
OTHER CORE CHANGES
Subject: Fix C< eval { my $x; eval '$x' } >
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c t/op/misc.t
Subject: Don't warn if eval '' uses outer func's lexicals
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c
Subject: Avoid memory wastage in wait(); make pidstatus global
From: Chip Salzenberg <chip@atlantic.net>
Files: global.sym interp.sym perl.c perl.h pp_sys.c
Subject: Forbid ++ and -- on readonly values
Date: Fri, 10 Jan 1997 19:47:16 -0800 (PST)
From: "John Q. Linux" <jql@accessone.com>
Files: pp.c pp_hot.c
Msg-ID: <Pine.LNX.3.95.
970110193330.11249D-100000@jql.accessone.com>
(applied based on p5p patch as commit
74c80e585086695d5428ab316ca82fd6931aeabd)
Subject: Keep array from dying during foreach(@array)
From: Chip Salzenberg <chip@atlantic.net>
Files: cop.h pp_ctl.c
Subject: Fix C< $a="simple"; split /($a)/o >
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c t/op/misc.t
Subject: Fix for anon-lists with tied entries coredump
Date: Fri, 10 Jan 1997 02:45:11 -0500
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: pp.c
Msg-ID: <
199701100745.
CAA13057@aatma.engin.umich.edu>
(applied based on p5p patch as commit
d976ac8220f8890bb7663152c4870f60e8e018c8)
Subject: Don't set SVf_PADBUSY on immortal SVs
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c
Subject: Patch for Object subroutines
Date: Tue, 7 Jan 1997 20:56:02 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: cop.h
Msg-ID: <
199701080156.UAA15366@monk.mps.ohio-state.edu>
(applied based on p5p patch as commit
174150afa5efdafc0e94a18211d3c9aa06b15cd9)
Subject: Use an SVt_PVLV to hold stacked OP pointers when debugging
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c pp_hot.c
Subject: Undo change that freed large pad vars
From: Chip Salzenberg <chip@atlantic.net>
Files: scope.c
TESTS
Subject: UNIVERSAL tests
From: Roderick Schertler <roderick@gate.net>
Files: MANIFEST t/op/universal.t
Subject: Test deletion of array during foreach
From: Jarkko Hietaniemi <jhi@alpha.hut.fi>
Files: t/op/misc.t
UTILITIES
Subject: Don't search for pod if path is already valid
Date: Wed, 08 Jan 1997 15:25:19 -0800
From: Wayne Scott <wscott@ichips.intel.com>
Files: utils/perldoc.PL
Msg-ID: <
199701082325.PAA04521@pdxlx008.intel.com>
(applied based on p5p patch as commit
88f0eda82bb679b4e6445ccb17e18d0781c6a5da)
Subject: Yet another perldoc option
Date: Thu, 3 Oct 1996 00:00:35 +0200
From: Gisle Aas <aas@aas.no>
Files: utils/perldoc.PL
Msg-ID: <
199610022200.
AAA15334@furubotn.sn.no>
(applied based on p5p patch as commit
a2333f3625faa17fb193cfa25c3d598cb59f105f)
Subject: Re: perldoc, temp files, async pagers
Date: 07 Jan 1997 22:54:14 -0500
From: Roderick Schertler <roderick@gate.net>
Files: utils/perldoc.PL
Msg-ID: <pzwwtoom8p.fsf@eeyore.ibcinc.com>
(applied based on p5p patch as commit
7c36043de26da560a0f7eb04f36d232762c0092c)
John Q. Linux [Sat, 11 Jan 1997 03:47:16 +0000 (19:47 -0800)]
Forbid ++ and -- on readonly values
Subject: You can ++ and -- readonly integer scalars? (patch included)
I managed to find an illustration of the bug in a perl one-liner:
perl -e '*a = \100; $a++; print "$a\n"'
101
Perhaps that's been fixed in one of the beta releases which I'm not
running; or perhaps I'm the only one who finds that slightly incorrect.
If so, ignore the rest of this message.
You can modify readonly scalars using any of the pre/post
increment/decrement operators. Apparently, the only readonly checking is
done for cases like '100++'.
I managed to find the relevant code and add some SvREADONLY checks. It
now dies on the inc/dec of readonly scalars with the appropriate nasty
message. I just thought I'd share my patch.
Ashley Winters
p5p-msgid: <Pine.LNX.3.95.
970110193330.11249D-100000@jql.accessone.com>
Raphael Manfredi [Tue, 14 Jan 1997 21:16:28 +0000 (22:16 +0100)]
Full documentation generation patch
I propose the following patch for perl5.004. It automates the
generation of the documentation and is derived from the pioneer work
of Tom Christiansen, which was sub-documented, unfortunately.
It allows one to run 'roffitall' to generate the full manual and
table of contents, based on existing installed files only.
Next step: automate the maintainance of the roffitall file list, or
generate it automatically... Well, the current version should be OK
for 5.004.
Ilya Zakharevich [Tue, 7 Jan 1997 12:56:02 +0000 (07:56 -0500)]
Patch for Object subroutines
The following script segfaults with _17 ():
#!./perl
my $x;
BEGIN {
$x = sub {print "in sub.\n"; undef $x};
sub X::DESTROY { print "Destroying.\n"}
bless $x, 'X';
}
# At this moment refcount of $x and &$x are 1 (we need a closure for this
# because of a sub leak).
&$x();
print "x: `$x'.\n";
Ilya Zakharevich [Sun, 5 Jan 1997 07:39:45 +0000 (02:39 -0500)]
Fix example #4 in perlXStut
Subject: Example4 in perlXStut
The patch below makes Example 4 of perlXStut work. Thanks for Jeff for
suggestions.
Enjoy,
p5p-msgid: <
199701050739.
CAA11112@monk.mps.ohio-state.edu>
John Stoffel [Mon, 13 Jan 1997 09:42:50 +0000 (04:42 -0500)]
Irix 6.3 & 6.4 and perl5.003_20
>>>>> "John" == John Stoffel <jfs@fluent.com> writes:
John> With a little bit of work I've gotten perl5.003_20 to compile
John> and pass all tests under Irix 6.4 on an Origin2000 box. The
John> trick is to realize that 'nm' output can't be parsed on this
John> machine. Here's the hints file to use for _21 when it's
John> released.
Chip et al,
I've also gotten it to compile and pass all tests under Irix 6.3 on an
O2, but I had to make some additions. I've put both hints files
below, which are the same except for the comments really, but in case
they need any changes, they can be made pretty easily now.
p5p-msgid: <
199701132242.RAA14601@jfs.Fluent.COM>
M.J.T. Guy [Fri, 10 Jan 1997 18:06:37 +0000 (18:06 +0000)]
Re: documentation correction (i.e. patch) for perlsyn.pod
Robin Barker <rmb@cise.npl.co.uk> wrote
> Is this the right correction for perlsyn.pod regarding C<if BLOCK BLOCK> ?
>
> Is it too honest??
It doesn't seem sensible to fill up the pods with history like this.
In fact, perltrap has listed the feature as discontinued rather than
deprecated, since at least 5.002. It's been gone for well over a year
and nobody's complained. Let's just bury it. I suggest replacing
Robin's patch by
p5p-msgid: <E0vilLh-0000M6-00@ursa.cus.cam.ac.uk>
Ilya Zakharevich [Thu, 9 Jan 1997 22:02:16 +0000 (17:02 -0500)]
Perl 5.003_20: OS/2 patches
Chip Salzenberg writes:
>
> It's all become so routine:
>
> file: $CPAN/authors/id/CHIPS/perl5.003_20.pat.gz
Below are latest os/2-related patches. **** Note the first chunk ****
It shows that under OS/2 4-argument select was writing over memory
(256 bites = 32 bytes) over what is typically 1-char malloc area.
Since an exception of the general rule is needed on linux and OS/2,
can we trust this rule at all? There may be zillions of obscure
little-endian systems where select sets all the bytes it cares about
instead of just the passed number.
If one wants a Configure test for this, here is the skeleton:
#include <stdlib.h>
#include <sys/select.h>
char buffer[81] = "01234567890123456789012345678901234567890123456789012345678901234567890123456789";
char buffer1[81] = "01234567890123456789012345678901234567890123456789012345678901234567890123456789";
int
main (int argc, char* argv[], char* envp[])
{
int i = 80;
buffer[0] = 2; /* stdout */
select(8, NULL, (fd_set *)buffer, NULL, NULL);
while (i > 0 && buffer1[i] == buffer[i]) i--;
printf("%i bytes overwritten.\n", i+1);
exit(0);
}
Enjoy,
Ilya
This patch does the following:
a) substitutes BSD (s)random instead of broken EMX's one;
b) removes rsignal from os2/os2.c since it it exported now;
c) defines `register' to none if better debugging is deemed necessary.
d) fixes broken pp_sselect.
p5p-msgid: <
199701101102.GAA19051@monk.mps.ohio-state.edu>
Chip Salzenberg [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Ilya Zakharevich [Sun, 12 Jan 1997 21:22:47 +0000 (16:22 -0500)]
Fix overloading via inherited autoloaded functions
Subject: Re: overloading broken in _20, or am I dense?
Randal Schwartz writes:
>
>
> This code works fine with _11, but breaks with _20. Did I mess
> something up? Or is something seriously broken in _20? (This is at
> the heart of making LWP work again.)
>
> #!/home/merlyn/test/bin/perl
>
> BEGIN {
> package A;
>
> sub as_string {
> shift->{"string"};
> }
> }
>
> BEGIN {
> package B;
> @ISA = qw(A);
> use overload ('""' => 'as_string', 'fallback' => 1);
>
> sub new {
> my $self = bless {}, shift;
> $self->{"string"} = shift;
> $self;
> }
> }
>
> $thing = new B "newbie";
> ## print $thing->as_string;
> print "$thing";
The patch below updates the following files:
gv.c
pp.c
t/op/overload.t
pod/perldiag.pod
lib/overload.pm
It fixes the above bug, another bug with autoloaded overloading
subroutines via inheritance (grok!), adds a way to do gv_findmeth
without creating import stubs (undocumented yet - give -1 as level),
and sneaks in a long-awaited ;-) feature *{\&subr}.
Final implementation of overloading does not use the above feature,
but I know a lot of uses for debugging. Anyway, feel free to remove
the first chunk of the patch if you feel offended by the above
feature.
Tested with _17.
Enjoy,
p5p-msgid: <
199701131022.
FAA22830@monk.mps.ohio-state.edu>
Chip Salzenberg [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
Re: MakeMaker and 'make uninstall'
(this is the same change as commit
54bc88081d9355e4567ce06a1f7b14ac5a7a5334, but as applied)
Andreas Koenig [Fri, 10 Jan 1997 12:43:39 +0000 (13:43 +0100)]
Re: MakeMaker and 'make uninstall'
>>>>> Hugo van der Sanden writes:
> I tried uninstalling a package today, the first time I've done so. The
> package was MailFolder0.03, and as far as I can see the uninstall:
> target in the Makefile was provided by MakeMaker. This does:
[...]
> and FULLEXT is defined as 'Mail'. The result was that most of the
> MailTools package was also removed.
Thanks for the report and _Sorry_.
Folks, I think, I have to deprecate the uninstall target. It was never
documented, it was never really clever, it just caused me a lot of
grief. I'd rather design a new solution from scratch.
If nobody objects, I'd recommend the following patch to
lib/ExtUtils/MM_Unix.pm. It makes use of the "nonono" switch of the
uninstall routine and will not uninstall anything.
Chip, can you sneak that in, please? Thanks!
p5p-msgid: <
199701101243.NAA26400@anna.in-berlin.de>
Roderick Schertler [Wed, 8 Jan 1997 03:55:33 +0000 (22:55 -0500)]
Misc. doc patches missing in _20
Subject: doc patches missing in _20
Here are a couple of the doc patches I sent to the list which didn't get
into _20. The first looks like an oversight (a related hunk got in),
but perhaps the second was left out intentionally, in anticipation of
changes in signal restart handling?
These are re-diffed against _20.
p5p-msgid: <102.
852695733@eeyore.ibcinc.com>
Ilya Zakharevich [Wed, 8 Jan 1997 08:25:47 +0000 (03:25 -0500)]
Re: xsubpp and Tk ==> segfault
Ilya Zakharevich writes:
>
> I recall that the reason why void code may be marked as XSRETURN(1) is
> that XS TUTORIAL recommended to mark XSUB as void if you manually put
It is not perlxstut, it is perlxs.
> in stack manipulation! I do not know why this horrible practice is
> blessed, but we need a workaround which would allow this mess, and
> would not make an XSUB
[Add: ] ... segfault if some Perl code was called in between.
As I found out, the only difference between an XSUB with a CODE:
section which is declared `void' and one which is declared "SV *" is
that the first one does not contain a line:
SV * RETVAL;
Is there any trouble if such a line is present?
If nobody will strongly object to it, I will remove an advice to
mark a CODE:-XSUBs as `void' from the POD(s).
I can also add a warning to xsubpp if a `void' XSUB sets ST(*). What
about it? (Warning will be issued only once per .xs .)
> Solution: Make the check for CODE section stricter: check for actuall
> occurence of "ST(" (with embedded spaces) before making the decision
> to XSRETURN(1).
The following patch is checked with Perl 3_17 and Tk (it checks for ST
at the LHS as an assignment):
Enjoy,
p5p-msgid: <
199701080825.
DAA15813@monk.mps.ohio-state.edu>
Gurusamy Sarathy [Mon, 13 Jan 1997 20:13:12 +0000 (15:13 -0500)]
Document use of pos() and /\G/
Subject: Re: resetting pos broken in _20
On Mon, 13 Jan 1997 12:49:24 EST, Ilya Zakharevich wrote:
>Gurusamy Sarathy writes:
>> What's wrong with saying
>> C<pos $foo = length $foo> after /g fails, to get the behavior
>> you want?
>
>Since this has different semantics. You need to get `pos' before each
>match, and reset it after each failing match.
>
> /=/g; /;/g; /=/g; /;/g;
>
>may give you non-monotoneous movement of `pos' over the string, which
>is a bad thing.
Ahh, of course.
>But I still do not understand what you mean by "having pos at
>end". The bug was that position is reset at failing match, probably
>you have some other case in mind?
Never mind, I was missing the possibility of chaining //g matches
with the \G escape :-(
>I did not realize that pos was available at perl 4.?, bug-for-bug
>compatibility may be a reason if this was so for so many years...
The bug fix seems to make a lot sense (to me) now. \G was essentially
useless without the new "incompatiblity", eh?
Here's a pod update that documents current behavior in all the
places I could think of.
- Sarathy.
gsar@engin.umich.edu
p5p-msgid: <
199701132013.PAA26606@aatma.engin.umich.edu>
Paul Marquess [Wed, 8 Jan 1997 16:55:02 +0000 (16:55 +0000)]
low priority patches
this set of patches isn't super critical, but it does tidy a few things
up in anticipation of lexical warnings.
p5p-msgid: <
9701081655.
AA27349@claudius.bfsec.bt.co.uk>
Roderick Schertler [Wed, 8 Jan 1997 03:54:14 +0000 (22:54 -0500)]
Re: perldoc, temp files, async pagers
Then again, your suggestion of having perldoc check $PERLDOC_PAGER first
shouldn't offend anybody.
p5p-msgid: <pzwwtoom8p.fsf@eeyore.ibcinc.com>
Chip Salzenberg [Tue, 14 Jan 1997 04:01:03 +0000 (16:01 +1200)]
Avoid "uninitialized" warnings from POSIX::constant()
Gisle Aas [Wed, 2 Oct 1996 22:00:35 +0000 (00:00 +0200)]
Yet another perldoc option
Subject: Re: Yet another perldoc option
I have added a new option to perldoc that just make it print the file
name of the module found. This enables me to say things like:
$ grep VERSION $(perldoc -l lwp)
which I find handy. This is also handy for various scripts that want
to reuse perldoc's module search algorithm. Perhaps this really
should have been made into a proper module. The 'l' was inspired by
grep(1).
p5p-msgid: <
199610022200.
AAA15334@furubotn.sn.no>
Gurusamy Sarathy [Tue, 14 Jan 1997 18:15:25 +0000 (13:15 -0500)]
Re: Uninitialized value in Carp.pm ?
private-msgid: <
199701141815.NAA07960@aatma.engin.umich.edu>
Wayne Scott [Wed, 8 Jan 1997 23:25:19 +0000 (15:25 -0800)]
Don't search for pod if path is already valid
Subject: Re: perldoc problem?
> perldoc doesn't seem to work on absolute paths. Eg if you
> try
> perldoc /pdx/wmt/rtl/bin/analyze_netlist
> it waits and then complains. Wheras if you actually do
> cd /pdx/wmt/rtl/bin;perldoc analyze_netlist
> it works I've been waiting for this fix to happen for sometime.
This change to perldoc fixes the problem.
-Wayne
p5p-msgid: <
199701082325.PAA04521@pdxlx008.intel.com>
Chip Salzenberg [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Ollivier Robert [Wed, 8 Jan 1997 13:37:47 +0000 (14:37 +0100)]
5.003_20, FreeBSD 3.0 and minor patch
FreeBSD caerdonn.eurocontrol.fr 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Mon Jan 6 10:35:39 MET 1997 roberto@caerdonn.eurocontrol.fr:/src/src/sys/compile/CAERDONN i386
lib/textwrap......ok
lib/timelocal.....ok
All tests successful.
u=0.421875 s=0.328125 cu=20.6484 cs=6.28125 files=142 tests=3412
Also please include the following patch in _21 (or 5.004 whichever is
planned):
p5p-msgid: <Mutt.
19970108143747.roberto@caerdonn.eurocontrol.fr>
Chip Salzenberg [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
PATCH: AutoSplit
(this is the same change as commit
bb8fceff88bc3fe9e820d0761f1b0451a870ac65, but as applied)
Graham Barr [Mon, 11 Mar 1996 11:01:58 +0000 (06:01 -0500)]
PATCH: AutoSplit
Below is a patch which moves where AutoSplit splits a file. Currently AutoSplit
split when it sees a sub. This inhibits individual routines from having their
own use or require statements.
This patch causes AutoSplit to split at the last line starting with
a } before a sub.
The reason behind this is that I have a package which is a collection
of utility routines each requiring separate packages, as I am trying
to reduce what is loaded by autoloading the routines, it seems only
sensible to only 'use' packages when the routine which needs them it
loaded
p5p-msgid: <
9603111010.
AA29935@tiuk.ti.com>
Dominic Dunlop [Wed, 8 Jan 1997 11:07:18 +0000 (12:07 +0100)]
Make MachTen hints file warn about db-recno failures
Subject: Patch: make hints files warn about db-recno failures (redux)
Sigh. Somehow, the patch for hints for machten.sh was missed out of my
submission, and so didn't make it into 5.003_20. Here you go:
p5p-msgid: <v03010d00aef92fba6aca@[194.51.248.78]>
Roderick Schertler [Thu, 9 Jan 1997 04:45:58 +0000 (23:45 -0500)]
Re: FileCache::cacheout clobbers $_
This bug report was from last July, but the bug is still there.
FileCache.pm and cacheout.pl clobber $_.
p5p-msgid: <pz3ewb3189.fsf@eeyore.ibcinc.com>
Gurusamy Sarathy [Fri, 10 Jan 1997 07:45:11 +0000 (02:45 -0500)]
Fix for anon-lists with tied entries coredump
[George Hartlieb, a MLDBM user reported this problem in private mail.]
The following hypothetical construct:
for $k (keys %o) {
foo([$o{$k}]);
}
coredumps reliably when %o is a tied hash and the FETCH for the
value $o{$k} is substantial enough to cause a stack reallocation.
Patch against 3_19 attached.
- Sarathy.
gsar@engin.umich.edu
P.S: Whatever happened to the stack-of-stacks patch? Even the first
version of that patch would have eliminated this problem. There may
be many more places where such a fix may be necessary--it's impossible
to find them all. Please, let's atleast include a #ifdef-ed version
of that patch!
p5p-msgid: <
199701100745.
CAA13057@aatma.engin.umich.edu>
Paul Marquess [Tue, 14 Jan 1997 12:47:40 +0000 (12:47 +0000)]
Refresh DB_File to 1.10
this patch works around an incompatability that was introduced in
Berkeley DB 1.86
p5p-msgid: <
9701141247.
AA21242@claudius.bfsec.bt.co.uk>
Johan Vromans [Fri, 10 Jan 1997 18:22:36 +0000 (06:22 +1200)]
Refresh Getopt::Long to 2.6
Graham Barr [Mon, 13 Jan 1997 02:07:59 +0000 (14:07 +1200)]
Fix for fd leak in IO::File::new_tmpfile
Signed-off-by: Graham Barr <gbarr@ti.com>
Paul Marquess [Sun, 12 Jan 1997 15:09:33 +0000 (15:09 +0000)]
patch for db-recno.t
Chip,
here is a patch for db-recno.t which makes it print a diagnostic
message when any of test 51,53 or 55 fail.
p5p-msgid: <
9701121509.
AA11147@claudius.bfsec.bt.co.uk>
Chip Salzenberg [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Chip Salzenberg [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
Advice on TEST failure
(this is the same change as commit
1ce51ea5e928b0e6fe3d33c847a736aaee083a49, but as applied)
Dominic Dunlop [Fri, 10 Jan 1997 09:19:07 +0000 (10:19 +0100)]
Advice on TEST failure
At 18:00 +0100 1997-01-09, Paul Marquess wrote:
>What are peoples views on this one. Should I simply write a diagnostic
>message to STDERR when test 51 fails? Some thing like this...
>
> base/cond.........ok
> lib/db-btree......ok
> lib/db-hash.......ok
> lib/db-recno...... not ok 51
> There is a known problem with older versions of Berkeley DB. You
> can ignore the errors if you're never going to use the broken
> functionality (recno databases with a modified bval), otherwise
> you'll have to upgrade your DB library or OS. If you feel like
> upgrading, the most recent version is 1.85. Check out
> http://www.bostic.com/db for more details.
Looks good to me. As of 5.003_20, hints/broken-db.msg is a shell scriptlet
that contains a similar (but not quite as useful) message for use by
Configure. It Would Be Nice if the same text (the same file?) were used in
both situations. But no big deal.
And, shortly afterwards, Tom Phoenix wrote:
>You're right. Who needs fine print? :-) What if 'make test' wrapped up
>with a message like this one?
>
> Failed 1 test, 96.55% okay.
> u=1.13 s=3.62 cu=60.49 cs=73.18 files=140 tests=3165
>
> ### Since not all tests were successful, you may want to run
> ### some tests individually to see the diagnostic messages,
> ### if any. See the INSTALL document's section on "make test".
That's a good idea, too, whether or not lib/db-recno blats something onto
the screen even when TEST is run without -v. Here's a patch which
implements it. (Well, with slightly different ordering.) I've also taken
the liberty of removing the RCS information from TEST, as it's meaningless
by now, of making the exit behaviour the same for one and for multiple
failures, and of trying to make the difference between "files" and "tests"
clearer. (This always confused me: I thought maybe "files" was the number
of files that got touched in the course of the tests.)
p5p-msgid: <v03010d01aefbaefcf3bc@[194.51.248.78]>
Chip Salzenberg [Mon, 13 Jan 1997 03:35:33 +0000 (15:35 +1200)]
Make installperl quieter; only shared libraries need 0555
Chip Salzenberg [Sat, 11 Jan 1997 04:26:37 +0000 (16:26 +1200)]
Fix infinite loop for undef function in @SIG{__WARN__,__DIE__}
Chip Salzenberg [Mon, 13 Jan 1997 01:17:21 +0000 (13:17 +1200)]
Fail regex that starts with '{'
Chip Salzenberg [Wed, 15 Jan 1997 19:24:00 +0000 (07:24 +1200)]
[shell changes from patch from perl5.003_20 to perl5.003_21]
Change from running these commands:
# this file is obsolete
rm -f hints/aux.sh
# new (and old) tests and scripts must be executable
touch t/op/cmp.t t/op/universal.t pod/rofftoc
chmod +x t/op/cmp.t t/op/universal.t pod/rofftoc pod/roffitall
# ready to patch
exit 0
Chip Salzenberg [Tue, 7 Jan 1997 23:52:00 +0000 (11:52 +1200)]
[differences between cumulative patch application and perl5.003_20]
Perl 5 Porters [Tue, 7 Jan 1997 23:52:00 +0000 (11:52 +1200)]
[inseparable changes from patch from perl5.003_19 to perl5.003_20]
BUILD PROCESS
Subject: Make Configure default to the first domain in /etc/resolv.conf
From: Chip Salzenberg <chip@atlantic.net>
Files: Configure
Subject: Start all helper scripts with $startsh
From: Chip Salzenberg <chip@atlantic.net>
Files: Configure
Subject: Support libperl.so under FreeBSD
Date: Sun, 5 Jan 1997 22:41:49 +0100
From: Ollivier Robert <roberto@keltia.freenix.fr>
Files: Configure Makefile.SH
Msg-ID: <Mutt.
19970105224149.roberto@keltia.freenix.fr>
(applied based on p5p patch as commit
b126116e5ae3d57fa007f8a42fd506805b35163b)
CORE LANGUAGE CHANGES
Subject: Rescind named closures
From: Chip Salzenberg <chip@atlantic.net>
Files: Makefile.SH op.c perly.c perly.c.diff perly.y pp_hot.c
Subject: Fix: empty @_ when calling empty-proto subs without parens
Date: Sat, 04 Jan 1997 10:29:04 +0000
From: Graham Barr <bodg@tiuk.ti.com>
Files: perly.c perly.y
(applied based on p5p patch as commit
3112f5de73952f91aa4e8005d9852dfddbcf0402)
CORE PORTABILITY
Subject: Configure/perl5/Compartmented Mode Workstation (fwd)
Date: Mon, 06 Jan 1997 13:15:38 -0500 (EST)
From: Andy Dougherty <doughera@fractal.phys.lafayette.edu>
Files: Configure hints/dec_osf.sh
private-msgid: <Pine.SOL.3.95.
970106131505.1662C-100000@fractal.lafayette.ed
Subject: Remove obsolete file "dl_os2.xs".
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: MANIFEST
DOCUMENTATION
Subject: tiny doc patches
Date: Sat, 04 Jan 1997 11:12:13 -0500
From: Roderick Schertler <roderick@gate.net>
Files: pod/perlapio.pod pod/perlnews.pod pod/perltoc.pod
Msg-ID: <23338.
852394333@eeyore.ibcinc.com>
(applied based on p5p patch as commit
b681178584626ba3718f1279845fd452317134c1)
Subject: doc patch for defined on perlfunc.pod
Date: 04 Jan 1997 21:28:30 -0500
From: Roderick Schertler <roderick@gate.net>
Files: pod/perlfunc.pod
Msg-ID: <pz91686ek1.fsf@eeyore.ibcinc.com>
(applied based on p5p patch as commit
38e3adfd2e3d40b46e465482945c4f3de4bb50ef)
Subject: doc patch: perldsc
Date: 04 Jan 1997 21:25:58 -0500
From: Roderick Schertler <roderick@gate.net>
Files: pod/perldsc.pod pod/perltoc.pod
Msg-ID: <pzafqo6eo9.fsf@eeyore.ibcinc.com>
(applied based on p5p patch as commit
4d42f92e5bf79556508016b7af91233b12e526eb)
Subject: scalar caller doc fix
Date: Mon, 06 Jan 1997 22:34:20 -0500
From: Roderick Schertler <roderick@gate.net>
Files: pod/perlfunc.pod
Msg-ID: <18245.
852608060@eeyore.ibcinc.com>
(applied based on p5p patch as commit
218104faecb0ec19e0f4f89e084959e757a5230f)
Subject: Misc perlfunc updates
From: Tom Christiansen <tchrist@mox.perl.com>
Files: pod/perlfunc.pod pod/perltoc.pod
LIBRARY AND EXTENSIONS
Subject: sigaction() problems
Date: Mon, 06 Jan 1997 15:42:04 -0500
From: Roderick Schertler <roderick@gate.net>
Files: ext/POSIX/POSIX.pm ext/POSIX/POSIX.pod
Msg-ID: <12808.
852583324@eeyore.ibcinc.com>
(applied based on p5p patch as commit
84e96f2bcc509ba2fb5d2c9608a30cc3cfdea41a)
Subject: Fix importation of FileHandle methods; fix POSIX docs
From: Chip Salzenberg <chip@atlantic.net>
Files: ext/POSIX/POSIX.pm ext/POSIX/POSIX.pod lib/FileHandle.pm
Subject: Patch: make hints files warn about db-recno failures
Date: Sun, 5 Jan 1997 12:34:25 +0100
From: Dominic Dunlop <domo@slipper.ip.lu>
Files: MANIFEST hints/aux.sh hints/broken-db.msg hints/freebsd.sh
(applied based on p5p patch as commit
692df45da95e2b7d14c4560347ef4555bb40b621)
OTHER CORE CHANGES
Subject: Fix C< sub foo (&@); sub bar (&); foo {}, bar {}, bar {} >
From: Chip Salzenberg <chip@atlantic.net>
Files: perly.c perly.c.diff perly.y
Subject: plug for safe/opcode leaks
Date: Tue, 07 Jan 1997 17:20:46 -0500
From: Doug MacEachern <dougm@osf.org>
Files: op.c
Msg-ID: <
199701072220.RAA02117@postman.osf.org>
(applied based on p5p patch as commit
5cbfc2849d37f748a8facbcbf1c889c575943488)
Subject: Fix Dynaloader failures with DProf
Date: Mon, 06 Jan 1997 12:18:46 -0500
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: pp_hot.c
private-msgid: <
199701061718.MAA26909@aatma.engin.umich.edu>
TESTS
Subject: New test: comp/proto.t
Date: Mon, 06 Jan 1997 09:13:03 +0000
From: Graham Barr <bodg@tiuk.ti.com>
Files: MANIFEST t/comp/proto.t
(applied based on p5p patch as commit
8c1635e65dc1b3900503d444e985e3f0e5601454)
Graham Barr [Sun, 5 Jan 1997 20:13:03 +0000 (20:13 +0000)]
New test: comp/proto.t
Chip Salzenberg wrote:
>
> According to Graham Barr:
> > BTW: I am working on a test (comp/proto.t) for this, and
> > prototypes in general.
>
> Thanks for telling me -- saved me some work.
OK, here is what I have done for comp/proto.t. More could probably
be added, but where do you stop.
I did find something weird though which caused the script to fail
just by changing the order of definitions ???
Chip Salzenberg [Tue, 7 Jan 1997 23:52:00 +0000 (11:52 +1200)]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Dominic Dunlop [Sat, 4 Jan 1997 22:34:25 +0000 (23:34 +0100)]
Patch: make hints files warn about db-recno failures
Herewith some minor Configure and hints patches against 5.003_19:
1. Amend Configure so that MachTen's antediluvian test, which holds that
-1 is not an integer, does not bleat during non-blocking IO tests. (Tom
Christiansen posted a while back about several instances of this sort of
thing; this patch addresses the only one I can see. Are there
still others?)
2. Make hints files for A/UX, FreeBSD, and MachTen give notification
of the db-recno test failures caused by these systems' old db
libraries. This patch due mainly to Roderick Schertler, who implemented
a suggestion I made. I hope it's OK to put a shared stub in hints/. It
has the .shx extension so that it doesn't show up in Configure's list of
systems for which there are hints. It may be that the hints for some
version of IRIX need the same tweak, but I couldn't work out which one
from Martijn Koster's recent posting, and so left well enough alone.
p5p-msgid: <v03010d00aef53ac4d18a@[194.51.248.68]>
Chip Salzenberg [Tue, 7 Jan 1997 23:52:00 +0000 (11:52 +1200)]
perlpod.pod possible patches
(this is the same change as commit
dd21fd8df4b58122c680bb0b8e543f75fb0fcd93, but as applied)
Larry W. Virden [Tue, 7 Jan 1997 12:56:30 +0000 (07:56 -0500)]
perlpod.pod possible patches
I am discouraged because I have pretty much determined that a current
incompatibility between Mail::Mailer, perl 5.003_19, and perlbug has
resulted in a number of patchs and bug reports that I have sent over the
past week appear to have disappeared into a sink hole. Anyways, I will
attempt to do this by hand. The following is a patch to perlpod.pod to
fix some things that are not formatting properly or which appear to be
incomplete thoughts.
p5p-msgid: <
9701070756.AA1185@cas.org>
Signed-off-by: x2487 <lvirden@cas.org>
Graham Barr [Fri, 3 Jan 1997 21:29:04 +0000 (21:29 +0000)]
Fix: empty @_ when calling empty-proto subs without parens
Graham Barr wrote:
<snip>
> OK, so I thought that prototypes in Socket.pm (which is probably
> a good idea) could help here, but... guess what the following
> script outputs
>
> sub fred ()
> {
> warn join(" ",@_);
> }
>
> fred;
> @_ = qw(a b c);
> &fred;
> fred;
> __END__
>
> It outputs ...
>
> Warning: something's wrong at yyy line 3.
> a b c at yyy line 3.
> a b c at yyy line 3.
>
> OK I can belive the second one as it has the & style call (which
> the pod states overrides prototypes) but I was very amazed at
> the last call.
>
> Is this a bug ?? I think so as the pod suggests that a sub defined
> as
>
> sub mytime ();
>
> and a statement such as
>
> mytime +2;
>
> will by the same as
>
> mytime() + 2
>
> but this is not the case, it seems it would be
>
> &mytime(@_) + 2
>
OK, here is a patch which fixes this. It requires a modification
to perly.y and perly.c (I cannot re-generate perly.c here
but it is a simple fix)
it chamges the output of the above script to
Warning: something's wrong at yyy line 3.
Warning: something's wrong at yyy line 3.
a b c at yyy line 3.