Tim Bunce [Wed, 15 Oct 1997 15:55:26 +0000]
Maintenance 5.004_04 changes
p4raw-id: //depot/maint-5.004/perl@128
Tim Bunce [Tue, 30 Sep 1997 14:27:09 +0000]
Maintenance 5.004_03 changes (addendum)
p4raw-id: //depot/maint-5.004/perl@83
Tim Bunce [Tue, 30 Sep 1997 14:11:29 +0000]
Maintenance 5.004_03 changes
p4raw-id: //depot/maint-5.004/perl@82
Tim Bunce [Tue, 30 Sep 1997 13:17:27 +0000]
Maintenance 5.004_02 changes
p4raw-id: //depot/maint-5.004/perl@81
Perl 5 Porters [Fri, 5 Sep 1997 00:00:00 +0000]
[inseparable changes from patch to perl 5.004_04]
[editor's note: this one imported like a charm!]
TESTS -
Subject: Improve pragma/locale test 102 - and don't fail, just warn
From: Jarkko Hietaniemi <jhi@anna.in-berlin.de>
Files: t/pragma/locale.t
Subject: Invalid test output in t/op/taint.t in trial 1
From: Dan Sugalski <sugalsd@lbcc.cc.or.us>
Files: t/op/taint.t
t/op/taint.t prints out invalid ok messages for tests it skips.
Rather than printing "ok 136" it prints "136 ok".
p5p-msgid: 3.0.3.32.
19970919160918.00857a50@stargate.lbcc.cc.or.us
UTILITIES -
Subject: Perldoc tiny patch to avoid $0
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: utils/perldoc.PL
Msg-ID:
199709122141.RAA16846@monk.mps.ohio-state.edu
(applied based on p5p patch as commit
0b166b6635cf199f072db516b2a523ee659394d5)
Subject: h2ph broken in 5.004_02
From: David Mazieres <dm@reeducation-labor.lcs.mit.edu>
Files: utils/h2ph.PL
Msg-ID:
199708201700.KAA02621@www.chapin.edu
(applied based on p5p patch as commit
4a8e146e38ec2045f1f817a7cb578e1b1f80f39f)
Subject: add key_t caddr_t to h2ph
From: Tony Sanders <sanders@bsdi.com>
Files: eg/sysvipc/ipcsem utils/h2ph.PL
Msg-ID:
199708272301.RAA12803@austin.bsdi.com
(applied based on p5p patch as commit
0806a92ffc3a74ca70aa81051cdf2a306cd0a8af)
Subject: perldoc search ., lib and blib/* if -f 'Makefile.PL'
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: utils/perldoc.PL
Subject: perldoc finds wrong pod2man
(from perldoc source)
# We must look both in @INC for library modules and in PATH
# for executables, like h2xs or perldoc itself.
Unfortunately, searching PATH for installed perl executables like
pod2man is INCORRECT. perldoc should start by searching the
directory it was executed from, which might not be in the PATH
at all.
Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com>
p5p-msgid:
199708251732.KAA19299@gadget.cscaper.com
Subject: 5.004m4t1: perlbug: NIS domainname gets into wrong places
From: Andreas J. Koenig <koenig@anna.mind.de>
Files: utils/perlbug.PL
Msg-ID: sfcg1qy38as.fsf@anna.in-berlin.de
(applied based on p5p patch as commit
41f926b844140b7f7eaa9302113e45df3a9f9ff4)
Subject: add better local patch info to perlbug
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: utils/perlbug.PL
Subject: perldoc - suggest modules if requested module not found
From: Anthony David <adavid@netinfo.com.au>
Files: utils/perldoc.PL
private-msgid:
3439CD83.6969@netinfo.com.au
Subject: perldoc mail::foo tries to read binary /usr/ucb/mail
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: utils/perldoc.PL
Subject: perldoc weirdness
perldoc mail::imap yields:
{joseph}:79% perldoc mail::foo
can't open /usr/ucb/mail: Permission denied at ./pod2man line 362.
Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com>
p5p-msgid:
199710082014.NAA00808@gadget.cscaper.com
Subject: perldoc -f setpwent (for example) returns no descriptive text
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: utils/perldoc.PL
Subject: perldoc diffs: don't search auto - much faster
From: "Joseph N. Hall" <joseph@5sigma.com>
Files: utils/perldoc.PL
Msg-ID: MailDrop1.2d7dPPC.
971012211957@screechy.cscaper.com
(applied based on p5p patch as commit
62b753c6ae4ab9bf22fbb6ec7ceac820bcef8fe4)
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[inseperable differences to perl 5.004_03]
[editor's note: the following patches could not be applied from the
list messages. There are also various unattributed changes.]
------ BUILD PROCESS ------
Title: "Configure can stop without fully explaining itself"
From: Jim Anderson <jander@ml.com>
Msg-ID: <
199708111328.JAA28976@nsd15.ny-swaps-develop.ml.com>,
<
199708111952.PAA29346@nsd15.ny-swaps-develop.ml.com>
Files: Configure
------ CORE LANGUAGE ------
Title: "GNU style perl --version (or any other --foo) ignored"
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Kenneth Albanowski
<kjahds@kjahds.com>, Stephen McCamant <alias@mcs.com>
Msg-ID: <E0wx8MO-0007BS-00@ursa.cus.cam.ac.uk>,
<Pine.LNX.3.93.
970813122557.9443C-100000@kjahds.com>,
<m0wy8nl-000EYgC@alias-2.pr.mcs.net>
Files: pod/perldiag.pod perl.c
------ DOCUMENTATION ------
Title: "perlop pod inconsistent in presentation of regexp options"
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Hans Mulder <hansm@icgned.nl>,
jmr@whirlwind.fmr.com
Msg-ID: <
199708061404.KAA06717@whirlwind.fmr.com>,
<
199708081505.LAA09810@whirlwind.fmr.com>,
<1997Aug7.160530.2196011@hmivax.humgen.upenn.edu>,
<E0wwnqc-00057s-00@ursa.cus.cam.ac.uk>,
<E0wwswg-00017x-00@ursa.cus.cam.ac.uk>
Files: pod/perlop.pod
[ 2 messages had applied changes,
d1a7f0f436d72614358862f92db9613296be2744 and
b7e30b65e77616e7336a6cda54d9c3d5935d0cfc ]
------ PORTABILITY - WIN32 ------
Title: "[PATCH] Win95-proofing pl2bat"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <
199708121733.NAA14888@aatma.engin.umich.edu>
Files: win32/bin/*.bat
[
d444a43172237b6bdd9f0a52017be3b0d792aa5c didn't apply the deletion
patches, so the deletes in this commit are a carried error ]
------ PORTABILITY - OTHER ------
Title: "5.004_02 Configure - worrying but normal errors displayed to user"
From: Paul Marquess <pmarquess@bfsec.bt.co.uk>, pmarquess@bfsec.bt.co.uk
(Paul Marquess)
Msg-ID: <
01BCA3DE.E257BFC0.pmarquess@bfsec.bt.co.uk>,
<
9708102159.AA11726@claudius.bfsec.bt.co.uk>
Files: Configure os2/diff.configure
[ one patch found, see
61167c6fd6d55c5f975404dcb56c3d0a87cd2c21 ]
Title: "Minor glitch with Perl 5.004_01 on SunOS 4.1.3 (groupstype)"
From: thad@thadlabs.com (Thad Floryan)
Msg-ID: <
9708111415.AA03808@thadlabs.com>
Files: hints/sunos_4_1.sh
David Kerry [Fri, 5 Sep 1997 00:00:00 +0000]
Missing 'require' in auto-generated .pm by h2xs
private-msgid: 97Aug27.
131618edt.11650@janus.tor.securecomputing.com
Joseph N. Hall [Fri, 5 Sep 1997 00:00:00 +0000]
perldoc diffs: don't search auto - much faster
Give this a try. It causes unsuccessful searches to run about
3 times as fast on my machine. Not exactly a speed demon but
at least you don't have time to get up and make coffee.
I tried adding caching to stop the repeated readdir in the
case-insensitive matching subroutine, but a) it only lopped off
another 20% and b) the patch made a kind of a Frankenstein thing
out of the subroutine, so c) I will try to write a better one
later when I have time.
p5p-msgid: MailDrop1.2d7dPPC.
971012211957@screechy.cscaper.com
Norton Allen [Fri, 5 Sep 1997 00:00:00 +0000]
fix poor t/op/runlevel.t test
This patch fixes the Can't "goto" outside block test. Before, the
test only hit the desired error if the system sort did a compare
where $a was 0, which is not guaranteed (and does not occur on at
least one system.) Now both arguments are tested.
Credited: Hugo van der Sanden <hv@crypt.compulink.co.uk>
Credited: Gurusamy Sarathy <gsar@engin.umich.edu>
p5p-msgid:
199709261458.KAA28611@dolores.harvard.edu
Andreas J. Koenig [Fri, 5 Sep 1997 00:00:00 +0000]
5.004m4t1: perlbug: NIS domainname gets into wrong places
>>>>> Jarkko Hietaniemi writes:
jhi> [patch mode]
jhi> I suggest the following patch: appending the ".`domainname`" only iff
jhi> it contains dots and when last element has only [A-Za-z] and is no
jhi> longer than 3 characters. What were the latest plans about adding new
jhi> top level domains? Will these heuristics still be true?
No. And I recall we have been flamed heavily in the past for using
`domainname` at all and I'm surprised that we still do.
I'd suggest such a patch instead:
p5p-msgid: sfcg1qy38as.fsf@anna.in-berlin.de
Andreas J. Koenig [Fri, 5 Sep 1997 00:00:00 +0000]
Identify t/*/*.t test failing because of file permissions
tim> I've added
tim> system("find t -name '*.t' -print | xargs chmod +x");
tim> to my Porting/makerel script. So the problem should not reappear.
That doesn't help for the patch. The perl5.004m4t1.patch.gz contained
touch t/lib/dosglob.t
but no
chmod +x t/lib/dosglob.t
Short term I'd recommend Ilya's one-line patch to t/TEST because it at
least saves us debugging time. Stupid me lost over an hour not
understanding the reason for the failure. Here it is:
p5p-msgid: sfcraah0xvy.fsf@anna.in-berlin.de
Tony Sanders [Sat, 23 Aug 1997 22:17:29 +0000]
eg/sysvipc/ipcsem bug, new hints/bsdos.sh
There appears to be a bug in the example ipcsem with the number of
arguments to the SYSV IPC semop() function -- the POD's agree that
it only takes two arguments now.
The version of hints/bsdos.sh below has been cleaned up and
updated for the next BSD/OS release.
p5p-msgid:
199708272301.RAA12803@austin.bsdi.com
David McLean [Fri, 5 Sep 1997 00:00:00 +0000]
tests fail if localhost/loopback address not defined
Subject: HPUX Perl problem
Larry:
I did a sh Configure -des after downloading perl5.004_03.
This was done on workstation running HPUX 10.20.
All looked normal.
Then I did a make and everything also looked normal.
However the test resulted in:
lib/io_sock.......Bad file number at ./lib/io_sock.t line 55.
FAILED at test 2
lib/io_udp........Can't call method "sockname" without a package or
object reference at ./lib/io_udp.t line 35.
FAILED at test 2
lib/odbm..........Bad free() ignored at ./lib/odbm.t line 63.
Bad free() ignored at (eval 4) line 2.
p5p-msgid:
34048947.2944@icc.gsfc.nasa.gov
Kurt D. Starsinic [Tue, 19 Aug 1997 21:43:32 +0000]
h2ph broken in 5.004_02
> The h2ph in perl5.00402 generates perl code that the interpeter
> chokes on. For example, running h2ph on /usr/include/sys/errno.h
> (under openbsd) transforms this:
>
> #define EPERM 1 /* Operation not permitted */
>
> into this:
>
> unless(defined(&EPERM) {
> sub EPERM () {1;}
> }
>
> which in turn causes this:
>
> syntax error at - line 2, near "sub EPERM ()"
>
> I'm not exactly sure why h2ph is worried about avoiding redefinition . . .
It's not a redefinition problem; errno.ph is missing a right paren. Here
is a patch, tested against 5.004_02:
Credited: David Mazieres <dm@reeducation-labor.lcs.mit.edu>
p5p-msgid:
199708201700.KAA02621@www.chapin.edu
Warren Jones [Fri, 5 Sep 1997 00:00:00 +0000]
op/glob.t test failure under Win32 with CVS
This is a bug report for perl from wjones@tc.fluke.com,
generated with the help of perlbug 1.19 running under perl 5.00403.
p5p-msgid: 97Aug26.091048pdt.35761-1@gateway.fluke.com
Ilya Zakharevich [Mon, 28 Jul 1997 04:23:32 +0000]
Perldoc tiny patch to avoid $0
Editing $0 may be not-so-portable.
Enjoy,
p5p-msgid:
199709122141.RAA16846@monk.mps.ohio-state.edu
Ilya Zakharevich [Fri, 5 Sep 1997 00:00:00 +0000]
OS/2 Hints
People build OS/2 Perl on weirder and weirder configured systems, so I
needed to add a full-featured gcc environment parser... :-(
Enjoy,
p5p-msgid:
199710130631.CAA25426@monk.mps.ohio-state.edu
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
New hints file for IBM OS/390 OpenEdition (MVS)
(this is the same change as commit
c13c896351005f8551466fa8cd5d7293b5332fa0, but as applied)
Peter Prymmer [Fri, 5 Sep 1997 00:00:00 +0000]
New hints file for IBM OS/390 OpenEdition (MVS)
I'd like to thank the folks mentioned for their help.
This file by itself does not do the build - but every
little bit helps.
Peter Prymmer
p5p-msgid:
9709240106.AA26484@forte.com
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
hints/qnx.sh update
(this is the same change as commit
0419447e3dca6b659723638f9b0899e6c3ee37ca, but as applied)
Norton Allen [Fri, 5 Sep 1997 00:00:00 +0000]
hints/qnx.sh update
This patch cleans up the QNX hints file, bringing it up to date
with 5.004_04. -Norton Allen
p5p-msgid:
199709261508.LAA07889@dolores.harvard.edu
Ilya Zakharevich [Fri, 5 Sep 1997 00:00:00 +0000]
Minor OS/2 patch for 4_03
This makes "$^X -w script" skip the shell though $^X contains backslashes:
Only os2/os2.c is touched.
Enjoy,
p5p-msgid:
199710032224.SAA15345@monk.mps.ohio-state.edu
Bruce P. Schuck [Fri, 5 Sep 1997 00:00:00 +0000]
Dynixptx hints
Before I say anything else, let me say that the O'Reilly Perl Conference
was super!
In compiling Perl5.004_1 on our Sequent boxes running DYNIX/ptx 4.0 V4.2.1
we found that we had to add the following ccflags and cppflags to get the
sockets io to work.
cppflags='-Wc,+abi-socket -I/usr/local/include'
ccflags='-Wc,+abi-socket -I/usr/local/include'
This also could have been set by setting an environment variable
_SEQUENT_CC_=-Wc,+abi-socket
before compiling.
I have attached an snippet of the socket(3N) man pages as well. This also
must be noted when compiling and adding other modules as well.
p5p-msgid: Pine.PTX.3.95.
971002104651.12112G-200000@lancelot.aps.org
Spider Boardman [Fri, 5 Sep 1997 00:00:00 +0000]
Fix perl build on Digital UNIX after JDK installs libnet.so
Subject: [PATCH] Perl & JAVA co-existence
It turns out that the JDK on Digital UNIX installs a libnet.so
which gets in the way when building Perl. Back during 5.003_28,
I didn't do anything to remove libnet because there wasn't one,
but now there can be a libnet, and it's wrong. So, here's a
patch to the dec_osf hints file to skip libnet as well as some of
the others we're already ignoring.
p5p-msgid:
199709191826.OAA18040@Orb.Nashua.NH.US
Dan Sugalski [Fri, 5 Sep 1997 00:00:00 +0000]
lib/timelocal.t fails test 1 for VMS 7.1
The VMS Perl port has local routines to handle time(), localtime(), and
gmtime(), because the implementations of these on VMS are broken for VMS
v6.2 and below. This implemetation gets strange for most of Jan 1, 1970
(From midnight to 4 PM), and behaves oddly for daylight savings time, but
only on OpenVMS 7.0 and 7.1.
The following patch disables the local versions of time(), localtime(), and
gmtime(), and uses the system provided versions, for OpenVMS 7.0 and up.
5.004_03 passes all tests with this patch. Tested on OpenVMS Alpha 7.1 and
6.2, and OpenVMS Vax 7.1, 6.2, and 5.5-2.
p5p-msgid: 3.0.3.32.
19970908112449.0087bc90@stargate.lbcc.cc.or.us
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
Irix 6.2 build problem - so_locations
(this is the same change as commit
62e637042b7d9758a9b3364fbddc1d6eecaf53c8, but as applied)
David Billinghurst [Fri, 5 Sep 1997 00:00:00 +0000]
Irix 6.2 build problem - so_locations
Subject: Perl 5.004_03 - Irix 6.2 build problem - probably fixed
I have just built and install perl 5.004_03 on and SGI Power Challenge
under Irix 6.2 with the SGI Mongoose 7.1 compiler.
Problem
Did the standard "sh Configure -des; make". Had a problem building
shared libraries, with compaints about file ./so_locations.
Solution:
[ patch ]
Caveat:
You should get an SGI guru to check this.
p5p-msgid:
D54B1932FFB4CF11B5C80000F8018BD2907E31@CRCMAIL
Dominic Dunlop [Fri, 5 Sep 1997 00:00:00 +0000]
Tweak to hints/machten.sh: stop t/lib/complex.t from failing
Tim, this patch, posted to you and copied to p5p on 23rd September, and
posted to you again on 10th October, seems to have slipped through your
net. Please please please put it in before 5.004_04. (Copied again to p5p
this time in the hope of achieving better reception through multipath
diversity.)
Thanks
Credited: Dominic Dunlop <domo@slipper.ip.lu>
p5p-msgid: v
03110700b06a30bdfc42@[194.51.248.80]
Gurusamy Sarathy [Fri, 5 Sep 1997 00:00:00 +0000]
Bug in Win32::GetShortPathName
On Thu, 09 Oct 1997 08:30:55 PDT, "Greg Chapman" wrote:
>I'm using Perl 5.004_02 under WIndows 95 (the latest binary distribution
>available on CPAN). The Win32::GetShortPathName function does not properly
>truncate the returned string when the short file name is shorter than the
>long name. Specifically, the returned string looks like:
><ShortFileName><NULL char><characters from the end of the long name (the
>original buffer)>.
Thanks for that report, and here's a patch.
p5p-msgid:
199710092229.SAA21556@aatma.engin.umich.edu
Jan Dubois [Fri, 5 Sep 1997 00:00:00 +0000]
pl2bat.bat -> pl2bat.pl change in win32/pod.mak
On Thu, 4 Sep 1997 23:45:42 +0100, you wrote:
>These are the changes I'm considering for _04:
[snip]
>Tim.
Maybe I'm missing something, but I think the following mini-patch (which
I send while everyone was at the conference) is essential for
*installing* on Win32 (with MSC 4.2 on NT4.0). I'm just very suprised
that noboday else seems to encounter this problem. Perhaps everyone is
using the binary distribution?
Maybe Gurusamy could comment if I'm right?
p5p-msgid:
3411ee6f.9143607@smtp-gw01.ny.us.ibm.net
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
Win32 archnames
(this is the same change as commit
7e8ba8fa5f78d7fa23683d0f33555018e530f3e0, but as applied)
Bill Middleton [Fri, 5 Sep 1997 00:00:00 +0000]
Win32 archnames
Subject: [PATCH] Re: Perl for Win32
> It's pretty fundamental that $archname be different for binary INcompatible
> systems. If it's not then that's a bug.
Here's a proposed patch for the config.h templates which
are distributed with the kit
Credited: Gurusamy Sarathy <gsar@engin.umich.edu>
Credited: Peter Prymmer <pvhp@forte.com>
Credited: Tim Bunce <Tim.Bunce@ig.co.uk>
p5p-msgid: Pine.GSO.3.95.
970905123145.12361B-100000@ducks
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
Enhance perly.fixer to help porters.
Ilya Zakharevich [Fri, 5 Sep 1997 00:00:00 +0000]
Emacs CPerl update for 5.004_04
private-msgid:
199710140835.EAA26825@monk.mps.ohio-state.edu
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
myconfig / perl -V: remove randbits and add prototype
In the myconfig / perl -V output, like the following example:
Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.5, archname=sun4-solaris
uname='sunos lion 5.5 generic_103093-03 sun4m sparc sunw,sparcstation-10 '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio= d_sfio=
Compiler:
cc='gcc', optimize='-O6', gccversion=2.7.2.2
cppflags='-I/usr/local/include -I/opt/gnu/include'
ccflags ='-I/usr/local/include -I/opt/gnu/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'
I'd like to change $randbits, in the Compiler section, for $prototype.
Why remove randbits: randbits was added before we had such good and
informative tests in the test suite. The tests now pinpoint the problem
and explain the solution, including recommending the right value for randbits.
Why add prototype: In the medium term there may be advantages to moving
towards using ANSI C prototypes. At the moment there's no way of making
an impact assessment. This would be a first step. Especially when combined
with automated perlbug and perlbug -ok mail handling and archiving.
While I'm on the subject, libpth and libs values should be in quotes.
Any objections?
(Please don't turn this into a "my compiler doesn't support prototypes" rant.)
p5p-msgid:
199709290857.JAA07706@toad.ig.co.uk
Andreas J. Koenig [Fri, 5 Sep 1997 00:00:00 +0000]
Updated CPAN.pm for 5.004_04
private-msgid: sfcpvpv8teo.fsf@anna.in-berlin.de
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
Trap Time::Local infinite loop
(this is the same change as commit
160771401404fad17bea1cbac474c73580214f79, but as applied)
Hugo van der Sanden [Fri, 5 Sep 1997 00:00:00 +0000]
Trap Time::Local infinite loop
Here's a new patch for Time::Local that dies if it detects that it is
looping:
work% perl -wle 'use Time::Local; print timegm(8, 14, 3, 19, 11, 997)'
Couldn't handle date (8, 14, 3, 19, 11, 997) at -e line 1
work%
Under Linux here, it handles all dates in the years 1970 thru 2038
(70-99, 00-38) and dies for all other years. I don't try to address
the fact that strange values are returned for dates in '38 from
February onwards: the 31-bit epoch ends at 03:14:07 19th Jan 2038.
p5p-msgid:
199710030030.BAA17372@crypt.compulink.co.uk
John L. Allen [Fri, 5 Sep 1997 00:00:00 +0000]
Banishing eval from getopt.pl and Getopt/Std.pm
This is a minimal patch *adding no new features*.
I submitted a prior patch that reworded the pods and allowed -- to
terminate args, among other things, but it never made it
in. Perhaps this will.
p5p-msgid: Pine.SOL.3.91.
970920154720.3683A@gateway
John Tobey [Fri, 5 Sep 1997 00:00:00 +0000]
xsubpp fix to allow #ifdef's around entire XSubs
This rather trivial patch fixes a feature broken in 5.004_02's
xsubpp. Namely, #line directives are interfering with the ability to
put #ifdef around entire XSubs.
(Well I'm glad I caught my own bug. ;-) Hope it didn't break too many
of the CPAN modules!!)
p5p-msgid:
199709070034.AAA16457@remote119
Greg Ward [Fri, 5 Sep 1997 00:00:00 +0000]
Document that File::Find doesn't follow symlinks
Subject: following symlinks with File::Find
The behaviour of File::Find with respect to symbolic links is inconsistent
between Perl 5.002/5.003 and 5.004_02. Since 5.004_02's behaviour (don't
follow symlinks) is more consistent with `find' itself, this is probably
more of a documentation bug -- i.e., the File::Find man page should
mention that 1) it doesn't follow symlinks, and 2) previous versions
did, so watch out!
p5p-msgid:
199708191853.OAA07111@bottom.bic.mni.mcgill.ca
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
Syslog.pm and missing _PATH_LOG
(this is the same change as commit
d6a06c6b3ce238e0862e09fdca0c17e9d40e9b2c, but as applied)
Ulrich Pfeifer [Fri, 5 Sep 1997 00:00:00 +0000]
Syslog.pm and missing _PATH_LOG
I just ran into a problem with Syslog.pm. I tried to install some
modules which did call Sys::Syslog::setlogsock('unix'). The following
connect fails because my syslog.ph does not define _PATH_LOG (This is
SunOS 5.5.1).
The easiest way to handle this would be to make setlogsock('unix') a
NOOP if _PATH_LOG is not defined. I am not advocating to ignore it
silently. But can we make setlogsock return a value indicating that
the operation did or did not work? It seems a little cleaner that to
force users to check for _PATH_LOG themselves?
p5p-msgid: p5iuw1cris.fsf@knowway.de.uu.net
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
IO::Socket autoflush by default, assume tcp and PeerAddr
(this is the same change as commit
d103aadb464fdc9458aeaedf1165336dcbe99ff0, but as applied)
Gisle Aas [Thu, 28 Aug 1997 02:36:50 +0000]
IO::Socket autoflush by default, assume tcp and PeerAddr
Subject: IO::Socket suggestion
The following patch to IO::Socket have this effect:
- put IO::Socket objects in autoflush mode initially
- assume Proto => "tcp" if no Proto is given (IO::Socket::INET)
- a single argument to IO::Socket::INET->new is assumed to be
a PeerAddr specification.
Comments?
It allows the following (rather long) one-liner to work:
$ perl -I. -MIO::Socket -e '$s=IO::Socket::INET->new("www.perl.com:80");$s->print("HEAD / HTTP/1.0\n\n"); print<$s>'
Credited: Andy Dougherty <doughera@newton.phys.lafayette.edu>
Credited: M.J.T. Guy <mjtg@cus.cam.ac.uk>
p5p-msgid: hvi07zvo9.fsf@bergen.sn.no
Johan Vromans [Fri, 5 Sep 1997 00:00:00 +0000]
Getopt::Long 2.11
private-msgid: m0xBcdR-000RArC@plume.nl.compuware.com
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
Sys::Hostname fails under Solaris 2.5 when setuid
(this is the same change as commit
b6d5cd8ca8d16f83d5c4c7a0bc602634e3efb321, but as applied)
Patrick Hayes [Wed, 20 Aug 1997 01:05:13 +0000]
Sys::Hostname fails under Solaris 2.5 when setuid
encountered a problem when using the Sys::Hostname under Solaris 2.5.1 in
setuid scripts. The problem is due to Solaris' having removed gethostname from
the list of syscalls. gethostname is now a libc compatability function using
the 'sysinfo' syscall. As the environment I'm using this in requires setuid
execution, the other methods (calling `hostname or `uname -n`) are
inapplicable.
I also noticed that Sys::Hostname requires syscall.ph whereas I find only
sys/syscall.ph. The perl headers were created with the standard:
cd /usr/include; h2ph * sys/*
I've added in the following code to make Hostname.pm work on Solaris. Would it
be possible to integrate this into future releases?
p5p-msgid:
199708201240.OAA04243@goblin.renault.fr
Jan Dubois [Fri, 5 Sep 1997 00:00:00 +0000]
[x] FileHandle.pm fails if Exporter has not been loaded previously
I just found out that FileHandle.pm doesn't work if I don't "use" an exporter module
before it:
% perl -MFileHandle -e "print $^O"
Bareword "Exporter::export" not allowed while "strict subs" in use at I:\Perl\lib/FileHandle.pm line 80.
String found where operator expected at I:\Perl\lib/FileHandle.pm line 80, near "Exporter::export 'Fcntl'"
(Do you need to predeclare Exporter::export?)
syntax error at I:\Perl\lib/FileHandle.pm line 80, near "Exporter::export 'Fcntl'"
BEGIN failed--compilation aborted.
% perl -MExporter -MFileHandle -e "print $^O"
MSWin32
This is with Perl5.004_04 trial 3 on WinNT., but it doesn't look like a new problem.
-Jan
p5p-msgid:
3445e05b.17874041@smtp2.ibm.net -> not
Rujith S. de Silva [Fri, 5 Sep 1997 00:00:00 +0000]
xsubpp: document advanced dynamic typemap usage
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
minor fix for perltrap.pod
(this is the same change as commit
9bf4ea843f7631689691908b2ccde8f571b18cde, but as applied)
Abigail [Fri, 5 Sep 1997 00:00:00 +0000]
minor fix for perltrap.pod
perltrap says 'Variables begin with "$" or "@" in Perl.' (twice)
without addressing the possibility of "%". This patch fixes it.
Of course, variables can start with "*" (typeglobs) or no special
symbol (filehandles, functions) too. Should that be mentioned as
well?
p5p-msgid:
199709170500.BAA14805@fnx.com
Tom Phoenix [Fri, 5 Sep 1997 00:00:00 +0000]
Documenting the perl-thanks address
private-msgid: Pine.GSO.3.96.
970913064628.12359F-100000@julie.teleport.com
Len Johnson [Fri, 5 Sep 1997 00:00:00 +0000]
Minor changes to ease port to MVS
private-msgid:
199709162058.NAA00952@mailsun2.us.oracle.com
Credited: Bud Huff <SMTP%"BAHUFF@us.oracle.com" >
Credited: John Pfuntner <SMTP%"pfuntner@vnet.ibm.com" >
Credited: Peter Prymmer <pvhp@forte.com>
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
Re: "perl -d" dumps core when loading syslog.ph
(this is the same change as commit
0996bf4347dd0a5b669d26c3867f4ed296150f0a, but as applied)
Ilya Zakharevich [Sat, 9 Aug 1997 08:12:20 +0000]
Re: "perl -d" dumps core when loading syslog.ph
In article <m0x4ZGj-000EZYC@alias-2.pr.mcs.net>,
Stephen McCamant <alias@mcs.com> wrote:
> Jochen Wiedmann writes:
> > The following command dumps core on my machine:
> >
> > [joe@laptop joe]$ perl -d -MSys::Syslog
> > Signal SEGV at /sw/linux-i386/perl-5.004.03/lib/site_perl/syslog.ph
> > line 1
> > require syslog.ph called at
> > /sw/share/perl-5.004.03/lib/Sys/Syslog.pm line 111
> > [...]
> > IOT trap/Abort (core dumped)
> >
> > Without "-d" or without loading "syslog.ph" all works fine.
>
> This is almost certainly the same problem Greg Ward reported about a
> week ago:
>
> Greg Ward wrote:
> > In fact, I was able to reduce the bug to
> >
> > % perl -d -e "BEGIN { eval 'sub LOG_KERN () {0<<3;}' }"
>
> I still haven't seen anything from Ilya (whose reply was apparently
> lost in the UPenn changeover), so in the spirit of needing it twice,
> here's a patch:
>
> --- perl5.004_02/pp_ctl.c Sat Aug 9 00:11:51 1997
> +++ perl5.004_02+/pp_ctl.c Fri Aug 29 16:51:36 1997
> @@ -2104,7 +2104,7 @@
Lemme try again. In my missing message I explained that the same
problem may hunt my (?{...}) stuff for regexps.
I removed the monstrous patch proposed in the previous message, here
is the alternative:
Credited: Stephen McCamant <alias@mcs.com>
p5p-msgid: 1997Aug30.034921.2297381@cor.newman.upenn.edu
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
update to installperl for perl5.004_02 to skip CVS dir
(this is the same change as commit
4b66953f587b2138e003f8c94d1fd938314f4325, but as applied)
Tony Sanders [Wed, 27 Aug 1997 11:05:24 +0000]
update to installperl for perl5.004_02 to skip CVS dir
Without this patch, it installs the CVS directories along with the
other lib files. You could probably merge this test with the one
below it (just always set prune or something) -- I'll leave that
decision upto the perl wizards.
p5p-msgid:
199708272307.RAA13451@austin.bsdi.com
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[shell changes from ]
Change from running these commands:
rm -f ext/util/extliblist
touch hints/os390.sh
touch lib/base.pm
touch t/lib/dosglob.t
chmod 555 t/lib/dosglob.t
exit 0
Andy Dougherty [Tue, 12 Aug 1997 23:00:37 +0000]
Improve dual-universe comments in hints/sunos_4_1.sh
On Tue, 12 Aug 1997, Tim Bunce wrote:
> Here's the 5.004_03 trial 1 patch.
5.004_03 trial 1 included the following update to hints/sunos_4_1.sh:
p5p-msgid: Pine.SUN.3.96.
970812170358.14488E-100000@newton.phys
William Middleton [Thu, 4 Sep 1997 12:00:00 +0000]
[OK] Perl5.004_02 on Alpha NT
After applying the patch below, perl5.004_02 builds and passes
all tests 100% on Alpha NT with MSVC 4.2.
The patch simply wraps around the initialization code in
win32.c which calls _control87().
If desired, I can build a binary dist for Alpha NT based on
Sarathy's packlist for his.
Bill
p5p-msgid:
199708072100.OAA13141@ducks
Gurusamy Sarathy [Mon, 11 Aug 1997 18:44:42 +0000]
/x is not a valid shell switch on Win95
This one fixes `Invalid switch' messages on Windows95 when
running system() et al.
p5p-msgid:
199708121720.NAA14760@aatma.engin.umich.edu
Tom Christiansen [Thu, 4 Sep 1997 12:00:00 +0000]
perlfunc.pod error
Considering that writing "whom" for "who" is a pet peeve of mine,
I doubt whether I introduced that one, but let's please fix it anyway. :-)
p5p-msgid:
199708102235.QAA18420@jhereg.perl.com
Paul Marquess [Sun, 10 Aug 1997 10:54:01 +0000]
doc patch for pack("p",undef) packing a NULL pointer
I just noticed that the new feature where pack p/P will generate a NULL
pointer when given undef isn't documented anywhere. So here is a patch
p5p-msgid:
9708102159.AA11726@claudius.bfsec.bt.co.uk
John Redford [Thu, 4 Sep 1997 12:00:00 +0000]
perlop pod inconsistent in presentation of regexp options
[regarding
b7e30b65e77616e7336a6cda54d9c3d5935d0cfc]
Uh, I dont normally comment on patches, but I hope this is rejected. I
have no idea what the 'standard' is, but the modifier is not '/c' (I
dont recall if I refered to it that way in my first message, but I was
being coloquial if so), insofar as the '/' is part of another
syntactic structure which does not even require it to be a '/'.
Credited: Hans Mulder <hansm@icgned.nl>
p5p-msgid:
199708081505.LAA09810@whirlwind.fmr.com
Gurusamy Sarathy [Tue, 5 Aug 1997 04:12:49 +0000]
seen_dot declaration in perl.c needed for VMS
On Thu, 07 Aug 1997 13:04:38 -0000, Brad Hughes wrote:
>I'm not sure this is your bailiwick or not:
>
>After applying perl5_004m2t3 patch, perl.c compile dies with
>
>CC /Define=(DEBUGGING)/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/No
>List PERL.C
>
> if (!xfound && !seen_dot && !xfailed && (Stat(scriptname,&statbuf) < 0
>))
>........................^
>%CC-E-UNDECLARED, In this statement, "seen_dot" is not declared.
>at line number 1796 in file PERL_ROOT:[PERL5_004_01_03]PERL.C;2
>
>C<seen_dot> is not declared in C<#ifdef VMS> code.
Here's a patch. Hope this will go in 4_02 (if it works). Note
this just effectively disables the "'.' in PATH" addition to
the message on VMS. I don't know enough VMS to do anything
else :)
p5p-msgid:
199708072033.QAA09167@aatma.engin.umich.edu
Richard A. Wells [Thu, 4 Sep 1997 12:00:00 +0000]
typos in perl -h output
Typos in perl -h:
Usage: C:\PERL5.004_01\BIN\PERL.EXE [switches] [--] [programfile] [arguments]
[...]
-Idirectory specify @INC/#include directory (may be used more then once)
^^^^
-l[octal] enable line ending processing, specifies line teminator
^^^^^^^^^
[...]
-n assume 'while (<>) { ... }' loop arround your script
^^^^^^^
[...]
p5p-msgid:
6D0BF914BC@gateuhs.harvard.edu
Andy Dougherty [Tue, 12 Aug 1997 01:54:38 +0000]
Show Configure failure reason even with -s
Subject: [PATCH] Re: Problem during configure of perl5.00402
On Mon, 11 Aug 1997, Jim Anderson wrote:
> Configure is failing and not giving any indication why :-( Any help
> appreciated.
> Checking your choice of C compiler, libs, and flags for coherency...
> You have a BIG problem. Shall I abort Configure [y]
> Ok. Stopping Configure.
It's not giving any indication why because you're running in silent
mode. If you didn't have the '-s', you would have seen the contents of
UU/try.msg.
Of course, such a failure is certainly 'essential information' of the type
that Configure -s certainly ought to put out, so Configure probably ought
to have the following patch applied:
p5p-msgid: Pine.SUN.3.96.
970812141623.14256K-100000@newton.phys
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
perlbug -d non-interactive (with patch)
(this is the same change as commit
3eccf6d0e7f74349d397cf28f511c9dfc1b064ba, but as applied)
Ted Ashton [Wed, 6 Aug 1997 22:14:59 +0000]
perlbug -d non-interactive (with patch)
Greetings,
When I am writing to module authors about their modules, I sometimes want to
include the output of perlbug -d at the end of my message. I tried (in vi)
!!perlbug -d, but perlbug complained about being non-interactive. I checked
the source and found a simple fix. I split the check for opt_d off from the
!-t STDOUT and moved it above the if(!-t STDIN).
p5p-msgid:
199708071418.KAA15711@ns.southern.edu
Bill Glicker [Fri, 5 Sep 1997 00:00:00 +0000]
SCO Openserver 5.0.4 - add comment to hint file re compiler bug
Perl 5.004_02 successfully compiles and passes all tests under SCO
Openserver 5.0.4p.
However, there is a bug in the Optimizing C Compiler (ver 2.1.4d). When
using icc as the compiler, optimization must either be turned off or set to
"-O0" -- otherwise the "pack" tests fail. The bug has been reported to SCO.
p5p-msgid: Pine.SCO.3.96.
970811153021.18457A-100000@laura.burrelles.com
Chris Nandor [Fri, 5 Sep 1997 00:00:00 +0000]
Dynamic Loading on MkLinux (osname=linux,archname=ppc-linux)
MkLinux (osname=linux,archname=ppc-linux), which differs slightly from other
linuces, needs special flags passed in order for dynamic loading to work.
Perhaps this should be somehow incorporated into linux.sh or something? I'd
propose a patch, but this is not my area of expertise at all.
instead of the recommended:
ccdlflags='-rdynamic'
it should be:
ccdlflags='-Wl,-E'
Thanks to Shimpei Yamashita <shimpei@socrates.patnet.caltech.edu> for pointing
this out.
Credited: Shimpei Yamashita <shimpei@socrates.patnet.caltech.edu>
p5p-msgid:
33EF1634.B36B6500@pobox.com
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
Win95-proofing pl2bat
(this is the same change as commit
b2dfa14c0b6969b69807f3aadd535d36b8ceb8d3, but as applied)
Gurusamy Sarathy [Mon, 11 Aug 1997 11:01:26 +0000]
Win95-proofing pl2bat
This patch+shell script removes all the *.bat files in
the distribution. Instead, these files will be created
during build time (which will take care of making sure they
work on Win95, in that silly only-nine-args way).
pl2bat is now a little smarter.
p5p-msgid:
199708121733.NAA14888@aatma.engin.umich.edu
Tom Horsley [Fri, 5 Sep 1997 00:00:00 +0000]
CPAN Use of uninitialized value in newest perl
p5p-msgid:
9708091738.AA16435@amber.ssd.hcsc.com
Jarkko Hietaniemi [Fri, 5 Sep 1997 00:00:00 +0000]
5.004_02: Complex/Trig: update
The following patches do not fix actual grave errors but they do:
- make the code more robust (more discontinuities catched)
(e.g. atan(-i), atanh(-1))
- make the results agree on signs and/or conjugate forms with the
results MATLAB gives: the results were already correct thanks to
the periodicity of trig funcs but now they are also consistent.
(e.g. acos(x) did have an unnecessary discontinuity at x = 0)
- for some pure real arguments short-circuit the calculation
to avoid rounding errors (which make epsilons appear where
clear zeros should reign)
Tested on NetBSD 1.2G i686, Linux 2.0.25 i686, Digital UNIX 4.0 EV56.
p5p-msgid:
199708081842.VAA31214@alpha.hut.fi
Mike Stok [Fri, 5 Sep 1997 00:00:00 +0000]
patch for documentation error in FileCache.pm
I think that this patch brings FileCache's pod documentation into line
with the module's behaviour.
Credited: Unknown Contributor <mikebo@tellabs.com>
p5p-msgid: Pine.LNX.3.95.
970810143321.437C-100000@stok.co.uk
Andrew M. Langmead [Fri, 5 Sep 1997 00:00:00 +0000]
The description of the \Q metacharacter is confusing to novices
The perlre man page talks about "quoting" metacharacters. This may
not be the easiest terminology for novice perl programmers to
understand. Also this man page seems to downplay the utility
of the quotemeta() function and \Q escape sequence compared
to the older idiom of s/(\W)/\\$1/g
Maybe text similar to the changes below would be clearer.
p5p-msgid:
199708101946.AA06339@world.std.com
M.J.T. Guy [Fri, 5 Sep 1997 00:00:00 +0000]
pod2man generated .IX lines upset whatis on Solaris
Subject: Re: Perl generates incorrect manpages
John Redford wrote
> Perl is generating manpages which contain lines like:
> .SH "NAME"
> .IX Header "NAME"
> perlbot \- Bag'o Object Tricks (the BOT)
>
> Which on Solaris at least causes the manpage index to think that '.IX'
> 'header' and '"NAME"' are all manpages.
There was a thread about this about two weeks ago under the subject
"Re: pod2man .IX question (for Solaris bug fix)". Kurt Starsinic
posted a patch which didn't get into the 5.004_02 release, probably because
it appears to be incorrect (see below).
> This is trivially fixed by
> moving the .IX to before the .SH:
>
> .IX Header "NAME"
> .SH "NAME"
> perlbot \- Bag'o Object Tricks (the BOT)
It may need something more complicated, since Kurt wrote
:I would like to keep them, if possible, but moving them down a line or two
:doesn't solve the problem. Following is a patch which moves all of the .IX
:lines to the end of the man page, which (I believe) will appease all
:interested parties. This patch DTRT under Solaris 2.5.1/SPARC and OSF1
:V4.0/DEC Alpha, both running perl 5.004 (no patches):
I doubt this last assertion, since I noted a couple of suspicious looking
bits in the patch (in a subsequent message in the above thread). This
is perhaps why Tim didn't include it in 5.004_02. (Also, the patch
was for pod2man rather than pod2man.PL.)
I attach below Kurt's patch with my corrections. I've checked that this
doesn't actually wreck pod2man totally, but I can't test it further since
i) I don't know what the .IX is meant to do.
ii) I don't actually know what the code is meant to be doing.
iii) I don't have a suitable Solaris (etc) system to try on.
Perhaps someone else could take this further.
Credited: John Redford <jmr@whirlwind.fmr.com>
Credited: Kurt Starsinic <kstar@isinet.com>
p5p-msgid: E0wxoUZ-0006Ee-00@ursa.cus.cam.ac.uk
M.J.T. Guy [Fri, 5 Sep 1997 00:00:00 +0000]
perlop pod inconsistent in presentation of regexp options
ts <decoux@moulon.inra.fr> wrote
> man perlop :
>
> entry in the perlfunc manpage.) A failed match
> normally resets the search position to the beginning
> of the string, but you can avoid that by adding the
> "c" modifier (e.g. m//gc). Modifying the target
> string also resets the search position.
Doh! Didn't see that. My excuse is that a search for "/c" doesn't find
it. And since all other modifiers are referred to as C</g> etc, I
submit the following micropatch.
Credited: Hans Mulder <hansm@icgned.nl>
Credited: John Redford <jmr@whirlwind.fmr.com>
p5p-msgid: E0wwnqc-00057s-00@ursa.cus.cam.ac.uk
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
[dummy merge]
This merge exists so that the p5p version of the patch and the applied
version are both in the history
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
-D info in perlrun
(this is the same change as commit
5267b140323062798f51897718a803fcd7de637d, but as applied)
Stephen McCamant [Sat, 9 Aug 1997 07:27:41 +0000]
-D info in perlrun
This changes the description of -Do to its current meaning, tweaks the
entries for -Dl and -Dr, and makes the description prefer the letters
form to the numeric one.
Note 1: The code in magic_get() sets $^D to `debug & 32767', which
loses the value of -DD. Is this intentional?
Note 2: `Label stack' doesn't seem like an especially good name for
the thing -Dl traces. `Context' matches the name of the variable
`cxstack'. If we wanted to retain the letter, it could be called the
`loop' stack, since perlsyn says `A BLOCK by itself (labeled or not)
is semantically equivalent to a loop that executes once', s///g is
like a loop, and subs and formats, um, aren't that important anyway
:-).
Credited: Ilya Zakharevich <ilya@math.ohio-state.edu>
p5p-msgid: m0wxNNL-000EYgC@alias-2.pr.mcs.net
Hallvard B Furuseth [Fri, 5 Sep 1997 00:00:00 +0000]
Further fix to lseek's in lockf_emulate_flock
private-msgid:
199708102225.AAA16970@bombur2.uio.no
Ilya Zakharevich [Fri, 5 Sep 1997 00:00:00 +0000]
Some perldb -> PERLDB_* macro changes were missed
Subject: [PATCH] After 4_02 perldb again
A couple of places where perldb is mentioned slipped through the
cracks of the previous patch:
p5p-msgid:
199708100323.XAA27155@monk.mps.ohio-state.edu
Tim Bunce [Thu, 7 Aug 1997 00:00:00 +0000]
[inseperable differences up to perl 5.004_02]
[editor's note - this list of differences was built manually, so is
either a little inaccurate or the most well preened out of the
"unapplied changes" lists so far. It certainly didn't get the usual
injection of message bodies.
The aim of these changes is to give you a vector for finding a list
message if you have an annotate operation hit this commit]
------ BUILD PROCESS ------
Title: "[PATCH]: HP-UX 10 w/o transition links"
From: Jeff Okamoto <okamoto@hpcc123.corp.hp.com>
Msg-ID: <
199706231650.AA070364627@hpcc123.corp.hp.com>
Files: Configure
Title: "INSTALL updates for GNU ld and __inet_* errors"
From: Andy Dougherty <doughera@newton.phys.lafayette.edu>
Files: INSTALL
------ CORE LANGUAGE ------
Title: "[PATCH] Additional patch for "Can't execute ...""
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Msg-ID: <
199707191651.MAA04897@monk.mps.ohio-state.edu>
Files: pod/perldiag.pod perl.c
See
21fc060b433a5fd003b9aca5789342207c46ada4 and
2a92aaa05aa1acbf01092228d30e9b1d7b2a3f61
Title: "[PATCH] Re: Can't pack literals as pointers"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <
199708012250.SAA20278@aatma.engin.umich.edu>
Files: pod/perldiag.pod pod/perlfunc.pod pp.c t/op/pack.t
On Wed, 25 Jun 1997 00:23:18 GMT, John Tobey wrote:
>
>IMHO, pack("p","foo") should evaluate to a pointer that's valid
>in the current context. pack("p",undef) should return the NULL
>value. Currently, they both produce the error "Modification of a
>read-only value attempted".
>
>This looks pretty easy to fix, so I've prepared a diff against
>the 5.004_01 distribution. This tests fine on my Linux. I hope
>I'm not introducing a memory leak or other ailment...
That doesn't look quite right to me. When provided a literal, you
should point at the actual literal (which normally has a global
lifetime), rather than making a mortal copy of it and pointing at
that. The mortal copy will be destroyed at the next statement
boundary, and you'll be left with a dangling pointer when you
unpack().
You're doing the very thing the XXX comment above was intended to
highlight.
I do agree that literals should be pack('p')-able. So, I'd suggest
the change be modified [...]
Title: "One-liner regex causes SEGV on 5.003 under HP-UX and Linux"
From: Hugo van der Sanden <hv@crypt.compulink.co.uk>
Msg-ID: <
199707061144.MAA04443@crypt.compulink.co.uk>
Files: regexec.c t/op/re_tests
[was originally credited as the same change as
44ed422101809141bc33c2b85c1cff357de4d7bf]
Title: "Free temps before calling END blocks", "Too late destruction"
From: Chip Salzenberg <chip@rio.atlantic.net>
Msg-ID: <m33erfv5hx.fsf@chany-p100.emwp.com>
Files: perl.c
Title: "Forbid "goto" into middle of foreach loop"
From: Chip Salzenberg <chip@rio.atlantic.net>
Files: pod/perldiag.pod pp_ctl.c
Title: "[PATCH] m2t2: problem in NetBSD 1.2D with sfio"
From: Jarkko Hietaniemi <jhi@iki.fi>
Files: perl.h
Title: "Forbid negative splice offset beyond array start"
From: "John L. Allen" <allen@gateway.grumman.com>, Chip Salzenberg
<chip@rio.atlantic.net>
Msg-ID: <Pine.SOL.3.91.
970625111744.19300A-100000@gateway>
Files: pp.c
Title: "Fix memory leak on eval 'sub {}'"
From: Chip Salzenberg <chip@rio.atlantic.net>
Files: pp_ctl.c
Title: "Fix C<qq #hi#>"
From: Chip Salzenberg <chip@rio.atlantic.net>
Files: toke.c
Title: "Don't warn about "${foo}" in string, even if &foo exists"
From: Chip Salzenberg <chip@rio.atlantic.net>
Files: toke.c
Title: "Perldb internal flag rehaul"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: pod/perldebug.pod pod/perlvar.pod perl.h gv.c mg.c op.c perl.c
pp_ctl.c pp_hot.c pp_sys.c sv.c toke.c
Title: "Fix C<print $foo x 2> parsing"
From: "Chuck D. Phillips (NON-HP Employee)" <cdp@hpescdp.fc.hp.com>, Chip
Salzenberg <chip@rio.atlantic.net>
Msg-ID: <
199706121737.KAA00503@palrel3.hp.com>
Files: toke.c
Title: "Fix lockf_emulate_flock() positioning"
From: Chip Salzenberg <chip@rio.atlantic.net>, gen@atd.rdc.ricoh.co.jp
Msg-ID: <
199706091132.UAA00895@wampa.atd.rdc.ricoh.co.jp>
Files: pp_sys.c
Title: "[PATCH] Make DEBUGGING_MSTATS info consistent"
From: Andy Dougherty <doughera@newton.phys.lafayette.edu>
Msg-ID: <Pine.SUN.3.96.
970731131529.3740A-100000@newton.phys>
Files: INSTALL pod/perldelta.pod perl.h
Title: "semctl broken under Linux"
From: Andreas Schwab <schwab@LS5.informatik.uni-dortmund.de>, Andreas
Schwab <schwab@issan.informatik.uni-dortmund.de>, Graham
Barr <gbarr@ti.com>, Tim Bunce <Tim.Bunce@ig.co.uk>
Msg-ID: <
33C38291.2D9302DA@ti.com>,
<
9707040912.AA03470@issan.informatik.uni-dortmund.de>,
<
9707041538.AA08946@toad.ig.co.uk>,
<
9707070924.AA11774@issan.informatik.uni-dortmund.de>,
<
9707090933.AA19012@issan.informatik.uni-dortmund.de>
Files: doio.c
[one change made it, as
8e591e46b4c6543ed80895327199c4a628ce11b6]
Title: "One-liner regex causes SEGV on 5.003 under HP-UX and Linux"
From: Hugo van der Sanden <hv@crypt.compulink.co.uk>
Msg-ID: <
199707061144.MAA04443@crypt.compulink.co.uk>
Files: regexec.c t/op/re_tests
[was originally credited as the same change as
44ed422101809141bc33c2b85c1cff357de4d7bf]
Title: "Fix up problems with *DBM tests"
From: Paul Marquess <pmarquess@bfsec.bt.co.uk>
Files: t/lib/gdbm.t t/lib/ndbm.t t/lib/odbm.t t/lib/sdbm.t
Title: "Faster int to string conversion",
"[PATCH} Re: memory leak in buffer
safety code"
From: Chip Salzenberg <chip@rio.atlantic.net>, Hugo van der Sanden
<hv@crypt.compulink.co.uk>, Tim Bunce <Tim.Bunce@ig.co.uk>
Msg-ID: <
199707140912.KAA09935@crypt.compulink.co.uk>,
<
199707142050.QAA20976@rio.atlantic.net>,
<
199707182035.VAA20990@crypt.compulink.co.uk>,
<
9707151040.AA02883@toad.ig.co.uk>
Files: global.sym sv.c
Title: "Fix '-' flag on sprintf() of floats"
From: Chip Salzenberg <chip@rio.atlantic.net>, Jarkko Hietaniemi
<jhi@iki.fi>
Msg-ID: <
199705270646.JAA02510@alpha.hut.fi>
Files: sv.c
Title: "Don't use atol() for unsigned values", "signedness problem in
pack("N", "value");"
From: Chip Salzenberg <chip@rio.atlantic.net>, Roger Espel Llima
<espel@llaic.univ-bpclermont.fr>
Msg-ID: <
19970531200007.40218@llaic.univ-bpclermont.fr>
Files: sv.c
Title: "Perldb internal flag rehaul"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: pod/perldebug.pod pod/perlvar.pod perl.h gv.c mg.c op.c perl.c
pp_ctl.c pp_hot.c pp_sys.c sv.c toke.c
Title: "[PATCH] Exporter new export_to_level method"
From: epeschko@elmer.tci.com (Ed Peschko)
Files: lib/Exporter.pm
Title: "[MM] Small patch to MakeMaker, new release"
From: "Andreas J. Koenig" <k@anna.in-berlin.de>
Msg-ID: <
199706281603.SAA10869@anna.in-berlin.de>
Files: lib/ExtUtils/Command.pm lib/ExtUtils/Install.pm
lib/ExtUtils/Liblist.pm lib/ExtUtils/MM_Unix.pm
lib/ExtUtils/MakeMaker.pm lib/ExtUtils/Mksymlists.pm
Title: "CPAN.pm, $VERSION and nested (bundled) modules."
From: a.koenig@kulturbox.de (Andreas J. Koenig)
Files: lib/ExtUtils/Install.pm lib/ExtUtils/Liblist.pm
lib/ExtUtils/MM_Unix.pm lib/ExtUtils/MakeMaker.pm
lib/ExtUtils/Mksymlists.pm
Title: "Time::Local patch (plus perl.c and filehand.t)"
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Files: lib/Time/Local.pm perl.c t/lib/filehand.t
Title: "Slightly safer signals"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: mg.c perl.c
Title: "Perldb internal flag rehaul"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: pod/perldebug.pod pod/perlvar.pod perl.h gv.c mg.c op.c perl.c
pp_ctl.c pp_hot.c pp_sys.c sv.c toke.c
Title: "'use UNIVERSAL;' deprecated, do C<UNIVERSAL::isa()> instead",
"UNIVERSAL.pm and import methods"
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Gisle Aas <aas@bergen.sn.no>,
Graham Barr <gbarr@ti.com>, Gurusamy Sarathy
<gsar@engin.umich.edu>, Hugo van der Sanden
<hv@crypt.compulink.co.uk>
Msg-ID: <
199706271701.NAA25664@aatma.engin.umich.edu>,
<
199706271904.UAA00120@crypt.compulink.co.uk>,
<
199706272054.QAA28913@aatma.engin.umich.edu>,
<
199706301554.LAA03763@aatma.engin.umich.edu>,
<
33B22248.7D7C1985@ti.com>,
<E0wf5TN-0006ps-00@taurus.cus.cam.ac.uk>,
<E0wguTR-0005bs-00@ursa.cus.cam.ac.uk>,
<E0whaZJ-0007BA-00@ursa.cus.cam.ac.uk>,
<E0whfHh-0007bW-00@ursa.cus.cam.ac.uk>,
<E0wiyUG-00073j-00@taurus.cus.cam.ac.uk>,
<hiuyv6q9k.fsf@bergen.sn.no>
Files: lib/Class/Struct.pm lib/File/Compare.pm lib/File/Copy.pm
t/op/universal.t universal.c
[two changes made it, as
d704f39a0db2dc23790dfd9d7bd59ce9928a6e2c,
e09f3e01ccd721309f0eb0aae224d84db2e8436a]
------ PORTABILITY - WIN32 ------
Title: "[PATCH] Embedding threaded apps in perl.dll"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <
199707261518.LAA24346@aatma.engin.umich.edu>,
<
199707301833.OAA19570@aatma.engin.umich.edu>
Files: win32/win32.c
[one change made it, as
4dd614da4d1132b957c4951dd00f64d81b89dc20]
Title: "minor win32 scribbles"
From: Hugo van der Sanden <hv@crypt.compulink.co.uk>
Msg-ID: <
199707270832.JAA19399@crypt.compulink.co.uk>
Files: README.win32
[nitpicking
f7c603cbfba7c97f77e257c42aa119ffdb47fe1e]
Title: "[PATCH] binary coexistence on win32", "[RESEND] [PATCH] binary
coexistence on win32"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <
199707250109.VAA02666@aatma.engin.umich.edu>,
<
199707301829.OAA19516@aatma.engin.umich.edu>
Files: lib/ExtUtils/Mksymlists.pm win32/win32.h win32/win32io.h
win32/win32iop.h win32/makedef.pl win32/win32.c
win32/win32io.c
Title: "WIN32 Build - pod2xxx.bat Missing?", "[PATCH] Re: WIN32 Build -
pod2xxx.bat Missing?"
From: Chris Williams <chrisw@netinfo.com.au>, Gurusamy Sarathy
<gsar@engin.umich.edu>
Msg-ID: <
199707011423.KAA15855@aatma.engin.umich.edu>,
<
33B8B962.D96FA1F5@netinfo.com.au>
Files: win32/Makefile win32/makefile.mk
Title: "[PATCH] docs for win32 utilities"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <
199707250045.UAA02510@aatma.engin.umich.edu>
Files: win32/bin/pl2bat.bat win32/bin/runperl.bat
Title: "[PATCH] trial2: some batch files won't run"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <
199708040226.WAA17301@aatma.engin.umich.edu>
Files: win32/bin/pl2bat.bat win32/bin/runperl.bat
Title: "[PATCH] win32 extras and embedding"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <
199707250232.WAA03421@aatma.engin.umich.edu>,
<
199707301831.OAA19528@aatma.engin.umich.edu>
Files: dosish.h win32/win32.h perl.c win32/config.bc win32/config_H.bc
win32/makedef.pl win32/perllib.c win32/win32.c
[one change was applied (hastily), as
ad2e33dc060dc2ccf73a5ff1557a69a9b09c30c8]
------ PORTABILITY - OTHER ------
Title: "Additional OS/2 patches"
From: Gurusamy Sarathy <gsar@engin.umich.edu>, Ilya Zakharevich
<ilya@math.ohio-state.edu>
Msg-ID: <
199708020823.EAA19521@monk.mps.ohio-state.edu>,
<
199708021424.KAA28561@aatma.engin.umich.edu>,
<
199708042108.RAA27671@aatma.engin.umich.edu>
Files: README.os2 os2/Changes perl.c
[one change was applied, as
d8c2d278168b862ff4120ad8e5887d37d31f858b]
Title: "make depend loop fix and minor OS/2 improvements to build process"
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Files: Makefile.SH hints/os2.sh os2/Makefile.SHs
Title: "Minor VMS patches"
From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
Msg-ID: <01ILCUO6XXTE000WFK@hmivax.humgen.upenn.edu>
Files: lib/ExtUtils/MM_VMS.pm vms/vmsish.h vms/descrip.mms vms/test.com
vms/vms.c vms/ext/filespec.t
Title: "[PATCH] Two un-disabled tests for VMS"
From: Dan Sugalski <sugalsd@lbcc.cc.or.us>
Msg-ID: <3.0.2.32.
19970718095842.00879220@stargate.lbcc.cc.or.us>
Files: vms/test.com
Title: "fix substr fix (tests 27 etc)", "perl5.004_02 trial 1 available
(with substr bug and still some"
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Hugo van der Sanden
<hv@crypt.compulink.co.uk>, Jarkko Hietaniemi <jhi@iki.fi>
Msg-ID: <
199707301759.SAA02899@crypt.compulink.co.uk>,
<
199707302228.BAA18032@alpha.hut.fi>,
<
199707310929.KAA06515@crypt.compulink.co.uk>,
<E0wtruH-0002JM-00@ursa.cus.cam.ac.uk>
Files: pp.c
Title: "Fwd: substr("foo", -1000)", "substr: warn if substring doesn't
intersect original at all"
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Jarkko Hietaniemi <jhi@iki.fi>
Msg-ID: <
199707100655.JAA14924@alpha.hut.fi>,
<E0wm1JG-0000UY-00@taurus.cus.cam.ac.uk>
Files: pod/perlfunc.pod pp.c t/op/substr.t
[one change was applied, as
d9fdd1afe4b88705294e21dc4e070c42d3d9a4d8]
Title: "[PATCH] Changes for VMS 7.1 support"
From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>, Dan Sugalski
<sugalsd@lbcc.cc.or.us>
Msg-ID: <01ILDXUH0J1W00026U@hmivax.humgen.upenn.edu>,
<3.0.2.32.
19970718095935.0087a2d0@stargate.lbcc.cc.or.us>
Files: vms/sockadapt.h vms/config.vms vms/sockadapt.c
------ DOCUMENTATION ------
Title: "Document bug fix in localization of $1 etc."
From: Chip Salzenberg <salzench@nielsenmedia.com>
Files: pod/perldelta.pod
Title: "[BUG:PATCH] Missing semicolon message wrong in perldiag"
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>
Msg-ID: <E0welEn-0002vT-00@taurus.cus.cam.ac.uk>,
<E0wfRJU-0006Aw-00@taurus.cus.cam.ac.uk>
Files: pod/perldiag.pod
[one change was applied, as
702d120df290e0de1b21f167f7d0110b35ee2fef]
Title: "OK: perl <some_version> on <some_system> (corrected)", "enhancements
to perlbug -ok"
From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Stephen McCamant <alias@mcs.com>
Msg-ID: <E0wukVt-0006Da-00@ursa.cus.cam.ac.uk>,
<E0wvMQl-00055y-00@ursa.cus.cam.ac.uk>,
<m0wv81x-000EYPC@alias-2.pr.mcs.net>
Files: utils/Makefile utils/perlbug.PL
Title: "perldoc doesn't grok Win32 UNC paths"
From: Warren Jones <wjones@tc.fluke.com>
Msg-ID: <97Jun17.184420pdt.35728-1@gateway.fluke.com>,
<97Jun18.165618pdt.35713-1@gateway.fluke.com>
Files: utils/perldoc.PL
[one change was applied, as
f72119fc50f0d88b02501ba41112f82ab99f0c3b]
Ilya Zakharevich [Mon, 16 Jun 1997 00:18:02 +0000]
perldoc under OS/2
We split path on $Config{path_sep} instead of '/' (Yes!), check for
.cmd and .bat files if needed, and use POSIX::tmpnam to get a tmp
file (last only on OS/2 for extra safety).
Enjoy,
p5p-msgid:
199707180340.XAA03114@monk.mps.ohio-state.edu