This is a live mirror of the Perl 5 development currently hosted at
24 years agoFix possible buffer overflow under VMS
Chip Salzenberg [Sat, 1 Mar 1997 06:14:33 +0000 (18:14 +1200)]
Fix possible buffer overflow under VMS

24 years agoFix typo in NeXT dynaloader
Chip Salzenberg [Wed, 23 Apr 1997 18:29:12 +0000 (06:29 +1200)]
Fix typo in NeXT dynaloader

24 years agoEliminate Alpha warnings
Hallvard B Furuseth [Thu, 24 Apr 1997 21:45:10 +0000 (09:45 +1200)]
Eliminate Alpha warnings
Signed-off-by: Hallvard B Furuseth <>
24 years agoFix lingering '%S' in XS_VERSION_BOOTCHECK
Chip Salzenberg [Wed, 23 Apr 1997 14:27:36 +0000 (02:27 +1200)]
Fix lingering '%S' in XS_VERSION_BOOTCHECK

24 years agoWin32 update (three patches)
Gurusamy Sarathy [Thu, 24 Apr 1997 17:13:30 +0000 (05:13 +1200)]
Win32 update (three patches)
Signed-off-by: Gurusamy Sarathy <>
24 years agoHP-UX hint update
Chuck D. Phillips [Mon, 28 Apr 1997 05:35:07 +0000 (23:35 -0600)]
HP-UX hint update

Subject: suggested changes to hpux hints file

NOTE: It *might* not work under 11.x, but at least it's not guaranteed
to fail.  :-)


24 years agoNetBSD hint update
matthew green [Fri, 25 Apr 1997 10:18:02 +0000 (20:18 +1000)]
NetBSD hint update

hi folks... been a while since i posted here...

someone told me that 5.004 was happening RFSN... so i thought it was
time to update the hints/ file, as it needs it.


24 years ago[differences between cumulative patch application and perl-5.003_97i] perl-5.003_97i
Chip Salzenberg [Thu, 24 Apr 1997 12:00:00 +0000 (00:00 +1200)]
[differences between cumulative patch application and perl-5.003_97i]

24 years ago[inseparable changes from match from perl-5.003_97h to perl-5.003_97i]
Perl 5 Porters [Thu, 24 Apr 1997 12:00:00 +0000 (00:00 +1200)]
[inseparable changes from match from perl-5.003_97h to perl-5.003_97i]


Subject: Provide memset() if it's missing
From: Chip Salzenberg <>
Files: global.sym perl.h proto.h util.c

Subject: Don't tell GCC that warn(), croak(), and die() are printf-lik
From: Chip Salzenberg <>
Files: proto.h


Subject: FAQ udpate (24-apr-97)
Date: Thu, 24 Apr 1997 16:47:23 -0600 (MDT)
From: Nathan Torkington <>
Files: pod/perlfaq*.pod



Subject: Misc. sv_vcatpvfn() fixes
From: Hugo van der Sanden <>
Files: gv.c mg.c op.c perl.c pp.c pp_ctl.c sv.c toke.c util.c

Subject: Enforce order of sprintf() elements
From: Chip Salzenberg <>
Files: sv.c

Subject: Guard against long numbers, <<LONG_DELIM, and <long glob>
From: Chip Salzenberg <>
Files: global.sym mg.c perl.c pod/perldiag.pod proto.h toke.c util.c

Subject: Guard against C<goto> to deeply nested label
From: Chip Salzenberg <>
Files: pod/perldiag.pod pp_ctl.c

Subject: Guard against overflow in dup2() emulation
From: Chip Salzenberg <>
Files: util.c

Subject: Win32: Guard against long function names
From: Chip Salzenberg <>
Files: win32/win32sck.c

Subject: Make mess() always work, by using a non-arena SV
From: Chip Salzenberg <>
Files: perl.c util.c

Subject: When copying a format line, take only its string value
From: Chip Salzenberg <>
Files: sv.c

Subject: Fix LEAKTEST numbers
From: Chip Salzenberg <>
Files: ext/DynaLoader/dl_vms.xs handy.h os2/os2.c util.c vms/vms.c win32/win32.c win32/win32sck.c

24 years agoDocument new {,s}printf() behavior
Chip Salzenberg [Wed, 23 Apr 1997 23:48:51 +0000 (11:48 +1200)]
Document new {,s}printf() behavior

24 years agoFix buffer overflow in a2p
Chip Salzenberg [Thu, 10 Apr 1997 19:49:15 +0000 (07:49 +1200)]
Fix buffer overflow in a2p

24 years agoMath::{Complex,Trig} update
Gurusamy Sarathy [Thu, 24 Apr 1997 22:21:44 +0000 (01:21 +0300)]
Math::{Complex,Trig} update


24 years agoHandle symlinks, high permission bits in File::Path
Chip Salzenberg [Wed, 16 Apr 1997 17:47:04 +0000 (05:47 +1200)]
Handle symlinks, high permission bits in File::Path

24 years agoDon't core dump if my_inet_aton() get a NULL
Chip Salzenberg [Thu, 19 Dec 1996 22:11:20 +0000 (10:11 +1200)]
Don't core dump if my_inet_aton() get a NULL

24 years agoAlways NUL-terminate opsets
Chip Salzenberg [Fri, 18 Apr 1997 16:37:00 +0000 (04:37 +1200)]
Always NUL-terminate opsets

24 years agoCope with a <db.h> that isn't related to DB
Jarkko Hietaniemi [Thu, 24 Apr 1997 17:28:39 +0000 (20:28 +0300)]
Cope with a <db.h> that isn't related to DB


24 years agoUndo private patch
Chip Salzenberg [Sun, 13 Apr 1997 09:06:24 +0000 (21:06 +1200)]
Undo private patch

24 years agoFix scalar leak in pp_prtf()
Doug MacEachern [Thu, 24 Apr 1997 17:06:21 +0000 (13:06 -0400)]
Fix scalar leak in pp_prtf()


24 years ago[differences between cumulative patch application and perl-5.003_97h] perl-5.003_97h
Chip Salzenberg [Tue, 22 Apr 1997 12:00:00 +0000 (00:00 +1200)]
[differences between cumulative patch application and perl-5.003_97h]

24 years ago[inseparable changes from match from perl-5.003_97g to perl-5.003_97h]
Perl 5 Porters [Tue, 22 Apr 1997 12:00:00 +0000 (00:00 +1200)]
[inseparable changes from match from perl-5.003_97g to perl-5.003_97h]


Subject: Fix up Linux hints for tcsh, and Configure patch
Date: Tue, 22 Apr 1997 11:02:27 -0400 (EDT)
From: Andy Dougherty <>
Files: Configure hints/
Msg-ID: Pine.SOL.3.95q.970422101051.2506C-100000@fractal.lafayette.e

    (applied based on p5p patch as commit 1eb1b1cb9647b817d039bb17afa3e74940b5ef92)

Subject: There is no standard answer to 'Use suidperl?'
From: Chip Salzenberg <>
Files: hints/ hints/ hints/ hints/


Subject: Support PRINTF for tied handles
Date: Sun, 20 Apr 1997 18:26:13 -0400
From: Doug MacEachern <>
Files: pod/perldelta.pod pod/perltie.pod pp_sys.c t/op/misc.t

    (applied based on p5p patch as commit e7c5525577c16ee25e3521e86aca2b5105dba394)


Subject: Fix bitwise shifts and pack('w') on Crays
From: Chip Salzenberg <>
Files: pp.c


Subject: FAQ udpate (23-apr-97)
Date: Wed, 23 Apr 1997 12:22:55 -0600 (MDT)
From: Nathan Torkington <>
Files: pod/perlfaq*.pod



Subject: Mondo Cool patch for buffer safety and convenience
From: Chip Salzenberg <>
Files: XSUB.h doop.c dump.c ext/DynaLoader/dl_dlopen.xs ext/DynaLoader/dl_hpux.xs ext/DynaLoader/dl_next.xs ext/DynaLoader/dlutils.c ext/ODBM_File/ODBM_File.xs global.sym gv.c interp.sym mg.c op.c perl.c perl.h pod/perlguts.pod pp.c pp_ctl.c pp_hot.c pp_sys.c proto.h regcomp.c regexec.c sv.c toke.c util.c

Subject: Problems with glob
Date: Sun, 20 Apr 1997 02:44:32 -0400 (EDT)
From: Ilya Zakharevich <>
Files: op.c

    (applied based on p5p patch as commit a1230b335277820e65b8a9454ab751341204cf4f)

Subject: Fix scalar leak in closures
From: Chip Salzenberg <>
Files: op.c scope.c

Subject: Refine error messages re: anon subs' prototypes
From: Chip Salzenberg <>
Files: op.c

Subject: Outermost scope is void, not scalar
From: Chip Salzenberg <>
Files: pp_ctl.c

24 years agoFix up Linux hints for tcsh, and Configure patch
Andy Dougherty [Tue, 22 Apr 1997 15:02:27 +0000 (11:02 -0400)]
Fix up Linux hints for tcsh, and Configure patch

perl5.003_97[mumble,mumble] contained some hints to work around a csh bug
in some versions of Linux.

Unfortunately, that hint doesn't work for a variety of reasons.  If
anyone's really interested in the anatomy of a failed hint, I can oblige.
Or you can just trust me :-)

private-msgid: Pine.SOL.3.95q.970422101051.2506C-100000@fractal.lafayette.e

24 years agoTwo doublewords less
Jarkko Hietaniemi [Sun, 20 Apr 1997 19:38:13 +0000 (22:38 +0300)]
Two doublewords less


24 years agoProblems with glob
Ilya Zakharevich [Sun, 20 Apr 1997 06:44:32 +0000 (02:44 -0400)]
Problems with glob

This patch seems to make it on _93 (I recall that on _93 overwritten
`glob' just does not make it for <blah>):


24 years agoDon't put leading newline on numeric strings
Andreas Koenig [Wed, 23 Apr 1997 08:47:00 +0000 (10:47 +0200)]
Don't put leading newline on numeric strings

Subject: NeXT fails one test due to atoi

pragme/constants has a test that does the equivalent of:

    print " \t\n1234" == 1234 ? "ok" : "not ok";

This test prints "not ok" on the NeXT. Here's some background how the
NeXT behaves with several leading whitespaces.

    koenig@franz:/M/extra/sources/perl/perl5.003_97% perl -le '
    print " \t\n1234" == 1234 ? "ok" : "not ok";
    print " 1234" == 1234 ? "ok" : "not ok";
    print "\t1234" == 1234 ? "ok" : "not ok";
    print "\n1234" == 1234 ? "ok" : "not ok";
    not ok
    not ok

I'd recommend the following patch:


24 years agoSupport PRINTF for tied handles
Doug MacEachern [Sun, 20 Apr 1997 22:26:13 +0000 (18:26 -0400)]
Support PRINTF for tied handles

A mod_perl user just asked why "print ..." is sent to the browser but
"printf ..." goes to the term window.  Sorry this is coming in late,
this question has been asked a few times in the past, but I forgot
about it :-(


24 years agoSilence warnings on simple C<use ops>
Roderick Schertler [Sat, 19 Apr 1997 14:22:43 +0000 (10:22 -0400)]
Silence warnings on simple C<use ops>


24 years agoCroak on C<use autouse> without module name
Chip Salzenberg [Tue, 1 Apr 1997 18:17:04 +0000 (06:17 +1200)]
Croak on C<use autouse> without module name

24 years agoMath::Complex update
Jarkko Hietaniemi [Wed, 23 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Math::Complex update

24 years agoWin32 update (two patches)
Gurusamy Sarathy [Wed, 23 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Win32 update (two patches)

24 years ago[differences between cumulative patch application and perl-5.003_97g] perl-5.003_97g
Chip Salzenberg [Fri, 18 Apr 1997 00:00:00 +0000 (00:00 +0000)]
[differences between cumulative patch application and perl-5.003_97g]

24 years ago[inseparable changes from match from perl-5.003_97f to perl-5.003_97g]
Perl 5 Porters [Fri, 18 Apr 1997 00:00:00 +0000 (00:00 +0000)]
[inseparable changes from match from perl-5.003_97f to perl-5.003_97g]


Subject: Improve sysseek(), remove systell(), fix Opcode
From: Chip Salzenberg <>
Files: doio.c ext/Opcode/Makefile.PL ext/Opcode/ ext/Opcode/Opcode.xs global.sym pod/perldelta.pod pod/perldiag.pod pod/perlfunc.pod pp_sys.c proto.h t/op/sysio.t toke.c


Subject: Document {,un}pack changes
Date: Fri, 18 Apr 97 13:49:39 BST
From: Paul Marquess <>
Files: pod/perldelta.pod pod/perldiag.pod

    (applied based on p5p patch as commit 7f505e5d2748dc2677688b22967678392a186b16)


Subject: SECURITY FIX: 'Identifier too long'
From: Chip Salzenberg <>
Files: pod/perldelta.pod pod/perldiag.pod toke.c

24 years agoDocument {,un}pack changes
Paul Marquess [Fri, 18 Apr 1997 12:49:39 +0000 (13:49 +0100)]
Document {,un}pack changes

Here is a documentation patch for the changes to pack & unpack.


24 years agoMake h2ph generate constant subs
Roderick Schertler [Fri, 18 Apr 1997 18:23:46 +0000 (14:23 -0400)]
Make h2ph generate constant subs

>> Shouldn't these:
>>     eval 'sub RUN_LVL {1;}';
>> be:
>>     eval 'sub RUN_LVL() {1;}';
> I'd say so.  Who can tell us whether h2ph is easily changeable?

It is, here's a patch.  It could still use changes so that it emits new
style sub invocations so that more constant folding happens, but that's
trickier.  Additional changes in the patch are removal of a "chdir
/usr/include" (which prevented you from converting files in other
directories and wasn't needed for the standard invocation) and addition
of a -d switch to specify output directory (so I could test my changes
more easily).

Somewhere around here I've got the start of regression suite for h2ph,
remind me to dust it off for _50.

Another bug in h2ph it would be nice to fix:

    $ echo "
     #define FOO (BAR || BAZ)
#if FOO
#endif" | h2ph | perl
    Undefined subroutine &main::BAR called at - line 1.

I can't regenerate my vendor's current headers due to this one.


24 years agoFix NAME in SDBM_File build
Chip Salzenberg [Fri, 18 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Fix NAME in SDBM_File build

24 years agoPatch to Getopt::Long
Johan Vromans [Fri, 18 Apr 1997 21:24:00 +0000 (22:24 +0100)]
Patch to Getopt::Long


24 years agoMinor, optional patch to Makefile.SH
Randy J. Ray [Fri, 18 Apr 1997 01:32:17 +0000 (19:32 -0600)]
Minor, optional patch to Makefile.SH

This is the (minor) change I made to add a "purecovperl" target to the
Makefile. Just a copy of the pureperl and quantperl targets:


24 years agoFix tcsh hack in Configure
Chip Salzenberg [Fri, 18 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Fix tcsh hack in Configure

24 years agoFix unnecessary re-linking
Chip Salzenberg [Fri, 18 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Fix unnecessary re-linking

24 years agoRemove pp_method() inefficiency from last patch
Chip Salzenberg [Fri, 18 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Remove pp_method() inefficiency from last patch

24 years agoSECURITY FIX: Buffer overflow in gv_fetchfile()
Chip Salzenberg [Fri, 18 Apr 1997 00:00:00 +0000 (00:00 +0000)]
SECURITY FIX: Buffer overflow in gv_fetchfile()

24 years agoExtUtils/ not built on Win32
Nick Ing-Simmons [Fri, 18 Apr 1997 17:42:32 +0000 (18:42 +0100)]
ExtUtils/ not built on Win32


24 years agoIrix update
Scott Henry [Fri, 18 Apr 1997 19:37:24 +0000 (12:37 -0700)]
Irix update

>>>>> "A" == Andy Dougherty <> writes:

A> On 17 Apr 1997, Scott Henry wrote:
>> My recommendation is that, should be
>> duplicates of (the recently changed)  As best as I can
>> determine this far ahead of release, will be the same,
>> too.

A> In which case, they should all just be  If 6.0 and 6.1 need
A> separate hints files, then we can have and

A> If we use the generic, then
A> 1.  We don't have pointless, error-prone duplication of hint files.
A> 2.  We magically get covered even when 6.5 and 6.6 are released and we're
A> still stuck at 5.004. :-)

EXCELLENT idea!  I'll make up my patch that way.

[editor's note: the patch never hit the mailing list, but this message
seems relevant]


24 years agoFix (and test) spaces in {,un}pack()
Chip Salzenberg [Fri, 18 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Fix (and test) spaces in {,un}pack()

24 years ago[differences between cumulative patch application and perl-5.003_97f] perl-5.003_97f
Chip Salzenberg [Thu, 17 Apr 1997 00:00:00 +0000 (00:00 +0000)]
[differences between cumulative patch application and perl-5.003_97f]

24 years ago[inseparable changes from match from perl-5.003_97e to perl-5.003_97f]
Perl 5 Porters [Thu, 17 Apr 1997 00:00:00 +0000 (00:00 +0000)]
[inseparable changes from match from perl-5.003_97e to perl-5.003_97f]


Subject: New operator systell()
From: Chip Salzenberg <>
Files: doio.c ext/Opcode/ pod/perldelta.pod pod/perldiag.pod pod/perlfunc.pod pp_sys.c t/op/sysio.t toke.c

Subject: Allow constant sub to be optimized when called with parens
From: Chip Salzenberg <>
Files: toke.c

Subject: Make {,un}pack fail on invalid pack types
From: Chip Salzenberg <>
Files: pod/perldiag.pod pp.c


Subject: Fix bitwise ops and {,un}pack() on Cray CPUs
From: Chip Salzenberg <>
Files: pp.c

Subject: VMS update
From: Charles Bailey <>
Files: lib/ lib/File/ lib/ vms/perly_c.vms vms/vms.c vms/

Subject: Win32 update (three patches)
From: Gurusamy Sarathy <>
Files: lib/ lib/ExtUtils/ lib/ExtUtils/ lib/File/ win32/Makefile win32/ win32/perllib.c win32/win32.c win32/win32iop.h


Subject: Document size restrictions for packed integers
From: Jarkko Hietaniemi <>
Files: pod/perlfunc.pod


Subject: Fix bug in Opcode when (maxo & 15) > 8
From: Chip Salzenberg <>
Files: ext/Opcode/Makefile.PL ext/Opcode/ ext/Opcode/Opcode.xs

24 years agoDoc updates: INSTALL-1.13, pumpkin.pod-1.9
Andy Dougherty [Thu, 17 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Doc updates: INSTALL-1.13, pumpkin.pod-1.9

24 years agoRevise quotewords()
Shishir Gundavaram [Tue, 1 Apr 1997 21:53:42 +0000 (09:53 +1200)]
Revise quotewords()

24 years broke again
Andreas Koenig [Thu, 17 Apr 1997 11:36:28 +0000 (13:36 +0200)] broke again

Somehow this line was lost during recent patching. It was in 2.32 but
not in 2.33 up.


24 years agoLinux hints: Allow build w/o suidperl, prefer tcsh to csh
Michael De La Rue [Thu, 17 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Linux hints: Allow build w/o suidperl, prefer tcsh to csh

24 years agoFix use of var before init in util.c
Gurusamy Sarathy [Wed, 16 Apr 1997 23:42:41 +0000 (19:42 -0400)]
Fix use of var before init in util.c

I thought I sent this a few sub-subversions ago, but it
seems to be missing in 3_97e.


24 years agoFix error messages on method lookup failure
Chip Salzenberg [Thu, 17 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Fix error messages on method lookup failure

24 years ago[inseparable changes from patch from perl-5.003_97d to perl-5.003_97e] perl-5.003_97e
Perl 5 Porters [Mon, 14 Apr 1997 12:00:00 +0000 (00:00 +1200)]
[inseparable changes from patch from perl-5.003_97d to perl-5.003_97e]


Subject: New operator: sysseek()
From: Chip Salzenberg <>
Files: doio.c ext/Opcode/Makefile.PL ext/Opcode/ global.sym pod/perldelta.pod pod/perlfunc.pod pp_sys.c t/op/sysio.t toke.c

Subject: Allow recursive substitution again
From: Chip Salzenberg <>
Files: pod/perldelta.pod pod/perldiag.pod pp_hot.c


Subject: Use size_t for socket size parameters of GNU libc
From: Chip Salzenberg <>
Files: doio.c pp_sys.c

Subject: Win32 update (four patches)
From: Gurusamy Sarathy <>
Files: MANIFEST README.win32 dosish.h ext/SDBM_File/Makefile.PL ext/SDBM_File/sdbm/Makefile.PL ext/SDBM_File/sdbm/sdbm.c ext/SDBM_File/sdbm/sdbm.h lib/ExtUtils/ perl.c utils/perlbug.PL utils/perldoc.PL win32/Makefile win32/TEST win32/config.H win32/config.w32 win32/config_h.PL win32/config_sh.PL win32/perllib.c win32/runperl.c win32/win32.c win32/win32io.c win32/win32sck.c


Subject: Add CGI to perldelta.pod and improve its description in MANIFEST
From: Chip Salzenberg <>
Files: MANIFEST pod/perldelta.pod

Subject: Describe probs with majordomo 1.94.1
From: Chip Salzenberg <>
Files: pod/perldelta.pod

Subject: Fix description of /\G/g
From: Chip Salzenberg <>
Files: pod/perlop.pod

Subject: Mention '...' operator in precedence table
Date: Sun, 13 Apr 1997 11:24:16 -0600
From: Tom Christiansen <>
Files: pod/perlop.pod



Subject: New API function: perl_eval_pv()
Date: Mon, 14 Apr 1997 17:13:41 -0400
From: Doug MacEachern <>
Files: perl.c pod/perlcall.pod pod/perldelta.pod pod/perlembed.pod pod/perlguts.pod proto.h


Subject: Fix C< s//whatever/ >, which reuses old pattern
From: Chip Salzenberg <>
Files: pp_hot.c regexec.c

24 years agoxsubpp incorrectly handles 'class::newthing()'
John Q. Linux [Sat, 12 Apr 1997 22:01:33 +0000 (15:01 -0700)]
xsubpp incorrectly handles 'class::newthing()'


24 years agoClean up format of dlopen() debug info
Hallvard B Furuseth [Fri, 24 Jan 1997 15:29:00 +0000 (03:29 +1200)]
Clean up format of dlopen() debug info

24 years agoSys::Syslog: hyphens in hostnames
Jarkko Hietaniemi [Tue, 15 Apr 1997 14:21:53 +0000 (17:21 +0300)]
Sys::Syslog: hyphens in hostnames

Jerome Abela writes:
 > In sub connect of Sys::Syslog, someone wrote:
 >         ($host) = $host_uniq =~ /(\w+)/;
 > But, if the name contains a '-', it gets truncated. The RE should
 > rather be someting like [a-zA-Z0-9-]+, shouldn't it ?


24 years g{,e}cos
Tom Christiansen [Sun, 13 Apr 1997 01:35:54 +0000 (19:35 -0600)] g{,e}cos


24 years ago[dummy merge]
Chip Salzenberg [Mon, 14 Apr 1997 12:00:00 +0000 (00:00 +1200)]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

24 years agoUpdate File::Path
Chip Salzenberg [Mon, 14 Apr 1997 12:00:00 +0000 (00:00 +1200)]
Update File::Path

(this is the same change as commit 8a37cc0e712cfd90de4a433c1b9be391b72daf86, but as applied)

24 years agoUpdate File::Path
Andreas Koenig [Tue, 15 Apr 1997 14:01:07 +0000 (16:01 +0200)]
Update File::Path

>>>>> Chip Salzenberg writes:

 > According to Andreas Koenig:
>> I'd prefer to have consistent semantics on all platforms. My patch
>> treats the third parameter ($safe) in a way that matches the current
>> description in the pods better. This means, on all systems a chmod +rw
>> is tried before removing a file or directory unless the $safe
>> parameter is specified.

 > No, that's not useful.  UNIX systems pay *no* attention to the
 > permissions of "x" when unlinking "/y/x"; all that matter are the
 > permissions of "/y".

Ouch. Too-Quick-oh. <Blush>

Sure thing is, I want to chmod 777 always for _directories_ before I
remove them, because they may contain subdirectories that need to be
removed recursively. So I want them both read- and writeable. Stupid
thing was that I applied the same idea to files.

>> In addition File::Path becomes strict clean.

 > Well, that would be useful.  Could you separate that part of the patch
 > from the always-chmod part?

I redid it. This time with a test that fails with current perl and
works with my patch in place.


24 years agodiagnostics: $/ gotcha
Andreas Koenig [Tue, 15 Apr 1997 18:14:01 +0000 (20:14 +0200)]
diagnostics: $/ gotcha

diagnostics does not localize $\ when it comes to printing.


24 years agoDebugger update
Ilya Zakharevich [Mon, 14 Apr 1997 21:15:27 +0000 (17:15 -0400)]
Debugger update


24 years agoRefresh CGI to 2.34
Chip Salzenberg [Tue, 15 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Refresh CGI to 2.34

24 years agoUse '-fPIC' for debugging compiles under Solaris with gcc
Hallvard B Furuseth [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Use '-fPIC' for debugging compiles under Solaris with gcc

24 years agoPut extensions' autoload files in $archlib
Chip Salzenberg [Wed, 2 Apr 1997 21:49:53 +0000 (09:49 +1200)]
Put extensions' autoload files in $archlib

24 years agoFix comments in seed()
Hallvard B Furuseth [Mon, 14 Apr 1997 17:58:38 +0000 (19:58 +0200)]
Fix comments in seed()


24 years ago[dummy merge]
Chip Salzenberg [Mon, 14 Apr 1997 12:00:00 +0000 (00:00 +1200)]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

24 years agoFix for environment leak
Chip Salzenberg [Mon, 14 Apr 1997 12:00:00 +0000 (00:00 +1200)]
Fix for environment leak

(this is the same change as commit 114695e977a20e0c66aa94b08414017d929a3f66, but as applied)

24 years agoFix for environment leak
Sven Verdoolaege [Tue, 15 Apr 1997 08:32:46 +0000 (10:32 +0200)]
Fix for environment leak

This patch fixes a leak in my_setenv.
I know this is close to the release of 5.004, but this is
relatively important for long running FastCGI programs.

I can prove the correctness :-)


24 years agoReturn a value from PerlIO_{,un}getc
Hallvard B Furuseth [Sun, 13 Apr 1997 12:28:14 +0000 (14:28 +0200)]
Return a value from PerlIO_{,un}getc


24 years agoFix STMT_{START,END} under g++
Steven Parkes [Mon, 14 Apr 1997 19:35:34 +0000 (12:35 -0700)]
Fix STMT_{START,END} under g++

Subject: perl.h with g++ (97b)

({}) is not allowed in C++, so the STMT_START selection macro should be
changed from
    # if defined(__GNUC__) && !defined(__STRICT_ANSI__)
    # if defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(__cplusplus)


24 years ago[differences between cumulative patch application and perl-5.003_97d]
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
[differences between cumulative patch application and perl-5.003_97d]

24 years ago[inseparable changes from match from perl-5.003_97c to perl-5.003_97d] perl-5.003_97d
Perl 5 Porters [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
[inseparable changes from match from perl-5.003_97c to perl-5.003_97d]


Subject: more (err, less) doubled words
Date: Fri, 11 Apr 1997 22:31:25 +0300 (EET DST)
From: Jarkko Hietaniemi <>
Files: ext/DB_File/ ext/DynaLoader/ ext/IO/lib/IO/ lib/ lib/ lib/ExtUtils/ lib/IPC/ lib/IPC/ lib/ pod/perlcall.pod pod/perldiag.pod pod/perlfaq1.pod pod/perlfaq3.pod pod/perlfaq5.pod pod/perlfaq7.pod pod/perlfaq8.pod pod/perlipc.pod



Subject: win32: perl5db patch
Date: Thu, 10 Apr 1997 17:42:13 -0400
From: Gurusamy Sarathy <>
Files: lib/

    (applied based on p5p patch as commit 56cbacacb6c634a626b06407cbd555bc1519a2d5)

Subject: Enhancements to debugger, Term::ReadLine, Term::Cap
Date: Thu, 10 Apr 1997 15:48:07 -0400 (EDT)
From: Ilya Zakharevich <>
Files: lib/Term/ lib/Term/ lib/

    (applied based on p5p patch as commit 6fb2d361298c4eb5d42f1f63b0f74a60d407e546)


Subject: New error msg for low-key failure of C<require>
From: Chip Salzenberg <>
Files: pod/perldiag.pod pp_ctl.c t/pragma/strict-subs t/pragma/strict-vars

24 years agoEnhancements to debugger, Term::ReadLine, Term::Cap
Ilya Zakharevich [Thu, 10 Apr 1997 19:48:07 +0000 (15:48 -0400)]
Enhancements to debugger, Term::ReadLine, Term::Cap

Chip wrote:
> I wonder if the public beta can be based on *this* one...

Pity I'm late.

This patch
1) Fixes Term::Cap which thought that absolute paths start
with '/';
2) Adds a new method `ornaments' to Term::ReadLine;
2a) Documents an old method `tkRunning' of Term::ReadLine;
3) Adds a new `O'ption to debugger: ornaments.  Possible
values are 0, 1, or comma-separated list of 4 terminal
capabilities to surround prompt and the command line.



24 years agoLittle patch for perl5.003_97c/pod/perlpod.pod
Ralf S. Engelschall [Fri, 11 Apr 1997 20:48:37 +0000 (22:48 +0200)]
Little patch for perl5.003_97c/pod/perlpod.pod


24 years agowin32: perl5db patch
Gurusamy Sarathy [Thu, 10 Apr 1997 21:42:13 +0000 (17:42 -0400)]
win32: perl5db patch

The debugger doesn't work on win32 without this patch.
(You'd think C<-e> will work on pseudo devices like "CON",
but the _stat() in the C runtime doesn't cooperate).


24 years ago[dummy merge]
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (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

24 years agoFreudian slip error in perlsub.pod
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Freudian slip error in perlsub.pod

(this is the same change as commit b7a03ccba4c2b93b96002aca9f411649e099dcc0, but as applied)

24 years agoFreudian slip error in perlsub.pod
Bruce Barnett [Fri, 11 Apr 1997 17:55:07 +0000 (13:55 -0400)]
Freudian slip error in perlsub.pod


24 years agoExplain //g and \G issues
Gurusamy Sarathy [Sat, 12 Apr 1997 20:48:41 +0000 (16:48 -0400)]
Explain //g and \G issues


24 years agoUse B<> for options in Class::Struct pod
Hugo van der Sanden [Thu, 10 Apr 1997 18:16:27 +0000 (19:16 +0100)]
Use B<> for options in Class::Struct pod

Solaris 2.5.1, all clean except in `make install`:
  ../perl -I ../lib ../pod/pod2man --section=3 --official
Class/ > /usr/local/lib/perl5/man/man3/Class::Struct.tmp
../pod/pod2man: bad option in paragraph 57 of Class/ ``-w''
should be [CB]<-w>

Patch enclosed. Here are the test results:
All tests successful.
u=0.56  s=0.5  cu=30.51  cs=16.6  scripts=148  tests=4059


24 years agotypo in lib/
Bruce Barnett [Fri, 11 Apr 1997 18:00:54 +0000 (14:00 -0400)]
typo in lib/


24 years agoAdd B<-o> option to a2p, for old awk; make new the default
Chip Salzenberg [Thu, 6 Mar 1997 15:48:20 +0000 (03:48 +1200)]
Add B<-o> option to a2p, for old awk; make new the default

24 years agoFix undef warning in Math::BigInt
Chip Salzenberg [Tue, 19 Nov 1996 00:07:25 +0000 (12:07 +1200)]
Fix undef warning in Math::BigInt

24 years agoComplex update (five patches)
Jarkko Hietaniemi [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Complex update (five patches)

24 years ago[dummy merge]
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (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

24 years agoMM_Unix patch for use under CVS
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
MM_Unix patch for use under CVS

(this is the same change as commit d3e8569c62819ccd17f9de64244d9bd181aa37b6, but as applied)

24 years agoMM_Unix patch for use under CVS
Ulrich Pfeifer [Fri, 11 Apr 1997 12:59:00 +0000 (14:59 +0200)]
MM_Unix patch for use under CVS

Subject: Re: MM_Unix patch

>>>>> "Nick" == Nick Ing-Simmons <> writes:

    Nick> Seems a little strong did you mean /^\.#/ ?

No. Every '#' in a Makefile file list will break the list:

 | FILES = foo \
 |         bar#bazz \
 |         bizz
 | all:
 |  @echo $(FILES)
 | % make -f ~/tmp/Makefile
 | foo bar

Below is a more complete patch.


24 years agoMinor type cleanup
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Minor type cleanup

24 years agoPut "dXSUB_SYS" last in declarations
Chip Salzenberg [Fri, 21 Mar 1997 02:50:39 +0000 (14:50 +1200)]
Put "dXSUB_SYS" last in declarations

24 years agoBefore 'BEGIN not safe', explain why
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Before 'BEGIN not safe', explain why

24 years agoupdate to 5.003_97b/hint/
Scott Henry [Sat, 12 Apr 1997 01:05:03 +0000 (18:05 -0700)]
update to 5.003_97b/hint/

It is possible with the 7.1 compilers for IRIX-6.2 and later to
change the default compiler options for the system.  You need to
explicitely select the compiler options in the hints file to avoid
mix-n-match ABI problems.  I also added some additional commentary...
Patch against 5.003_97b follows:


24 years agoFix label on C<for(;;)> statement
Chip Salzenberg [Thu, 6 Mar 1997 15:46:36 +0000 (03:46 +1200)]
Fix label on C<for(;;)> statement

24 years agoFix C< $x=''; pos($x)=0; $x=~/\G$/ >
Chip Salzenberg [Mon, 7 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Fix C< $x=''; pos($x)=0; $x=~/\G$/ >

24 years ago[dummy merge]
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (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

24 years agoFix for incorrect overloaded assignment
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Fix for incorrect overloaded assignment

(this is the same change as commit 9de372454b482d4516b3f3c85b686af8cb18d211, but as applied)

24 years agoFix for incorrect overloaded assignment
Ilya Zakharevich [Fri, 11 Apr 1997 22:25:33 +0000 (18:25 -0400)]
Fix for incorrect overloaded assignment

Subject: Re: overloading problem

Jarkko Hietaniemi writes:
> Please proofread for me. Isn't what Chris is trying to do
>  to get overloading to promote the unblessed scalar $c
>  containing '2' to a Math::Complex blessed object?
> Please correct me if I am wrong but isn't this impossible?
> As there are only three possibilities for binops: normally ordered
> arguments, inverted arguments, modifying binop: the overloading will
> swap the honest Math::Complex $z as the first argument _and_ pass the
> third argument to minus() as undef (perldoc overload) and therefore
>  a) the value of the result will be $z - $c, not $c - $z
>  b) minus() will modify $z, not $c
> I may just too sleepy...

Looks like an overeager optimization... Try this:


24 years ago[differences between cumulative patch application and perl-5.003_97c] perl-5.003_97c
Chip Salzenberg [Mon, 7 Apr 1997 00:00:00 +0000 (00:00 +0000)]
[differences between cumulative patch application and perl-5.003_97c]

24 years ago[inseparable changes from match from perl-5.003_97b to perl-5.003_97c]
Perl 5 Porters [Mon, 7 Apr 1997 00:00:00 +0000 (00:00 +0000)]
[inseparable changes from match from perl-5.003_97b to perl-5.003_97c]


Subject: Fix syntax error in Configure comment(!)
From: Chip Salzenberg <>
Files: Configure

Subject: For Solaris, if -DDEBUGGING, default to '-KPIC', not '-Kpic'
From: Chip Salzenberg <>
Files: Configure

Subject: Fix usage of dXSUB_SYS, esp. in ExtUtils::Miniperl
From: Chip Salzenberg <>
Files: dosish.h os2/os2ish.h plan9/plan9ish.h vms/vmsish.h


Subject: Refine setgroups() behavior of C<$)>
From: Chip Salzenberg <>
Files: mg.c pod/perldelta.pod pod/perlvar.pod

Subject: Forbid -[Mm] on #! line
From: Chip Salzenberg <>
Files: pod/perldelta.pod pod/perldiag.pod toke.c


Subject: Special mkdir() for VMS
Date: Tue, 08 Apr 1997 12:33:56 -0400 (EDT)
From: Charles Bailey <>
Files: dosish.h lib/ExtUtils/ lib/File/ os2/os2ish.h plan9/plan9ish.h pp_sys.c unixish.h vms/vms.c vms/vmsish.h

    (applied based on p5p patch as commit ebec1d4b2ca9c08d24035a369c7aa782aa058e66)


Subject: IO::Socket doc fix
Date: Tue, 08 Apr 1997 15:30:43 -0400
From: Roderick Schertler <>
Files: ext/IO/lib/IO/

    (applied based on p5p patch as commit 4a51304ce091cb6d1ccc9f25e11753bd7d985b32)


Subject: Replace Class::Template with improved Class::Struct
From: Jim Miner <>
Files: MANIFEST lib/Class/ lib/Class/ lib/File/ lib/Net/ lib/Net/ lib/Net/ lib/Net/ lib/Time/ lib/Time/ lib/Time/ lib/User/ lib/User/ pod/perldelta.pod pod/perlfaq7.pod pod/perlmod.pod pod/perltoot.pod

Subject: MakeMaker pathname patch
Date: Wed, 9 Apr 1997 20:08:23 +0100
From: Nick Ing-Simmons <>
Files: lib/ExtUtils/ lib/ExtUtils/

    (applied based on p5p patch as commit 9cbbd68ff8edc7de96e3471de49538d0b2b98173)

Subject: Fix configuration of new socket
From: Chip Salzenberg <>
Files: ext/IO/lib/IO/

24 years agoSpecial mkdir() for VMS
Charles Bailey [Tue, 8 Apr 1997 16:33:56 +0000 (12:33 -0400)]
Special mkdir() for VMS

Subject: Re: Make failures in perl5.003_96 on AXP/VMS 6.2

Henrik Tougaard <> wrote:
> When I try to build Perl 5.003_96 on my AXP:
>   DEC C V5.3-006 on OpenVMS Alpha V6.2-1H3
> I get the following error:

. . .

>   Writing Descrip.MMS for Fcntl
>   MMS
>   %MMS-F-GWKNOPRN, There are no known sources for the current target
>     [--.LIB].EXISTS.
>   %MMS-F-ABORT, For target [.LIB]FCNTL.PM, CLI returned abort status:
>     %X10EE8064.

That's a bug introduced with the win32 support in _94 -- it assumes
dirname($dir) will return the name of $dir's parent, not $dir itself.
I've appended a fix for that, and for a problem with the DECCRTL
mkdir() (doesn't like trailing '/') that gets me to a clean build
for _94.  complex.t fails -- runs out of memory after sucking down
around 70 MB, but I don't know whether it's a Perl bug or just
a pathological test.

I haven't got beyond _94 yet -- I've been swamped for the past couple
weeks, and it's going to get worse before it gets better :-/ -- but
I'll try to pick up the newer patches and test them as soon as I
can.  In the meantime, reports from other folks, doc updates (especially
for the installation instructions), etc. are most welcome. :-)


24 years agoIO::Socket doc fix
Roderick Schertler [Tue, 8 Apr 1997 19:30:43 +0000 (15:30 -0400)]
IO::Socket doc fix