This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
27 years agoUpdated to IO-1.12.
Perl 5 Porters [Sun, 6 Oct 1996 22:08:34 +0000 (22:08 +0000)]
Updated to IO-1.12.

27 years agoperl 5.003_06: dump.c embed.h gv.c run.c
Perl 5 Porters [Sun, 6 Oct 1996 23:58:13 +0000 (23:58 +0000)]
perl 5.003_06: dump.c embed.h gv.c run.c

Restore the 5.003 gv_fullname() and gv_efullname() functions.
Provide new 3-arg forms gv_fullname3() and gv_efullname3().

27 years agoRe: pre extending hash? - need speed
Spider Boardman [Mon, 30 Sep 1996 05:13:28 +0000 (01:13 -0400)]
Re: pre extending hash? - need speed

The patch below (which is relative to perl5.001l) implements
"keys %hash = 50_000;" (or other integer-evaluable sizes) for
pre-sizing hashes.  I've only moved the patch forward from
when I first did it.  I'm sure the code in hv_ksplit could be
improved.

27 years agoVMS patches to 5.003_05
Charles Bailey [Thu, 3 Oct 1996 20:31:46 +0000 (16:31 -0400)]
VMS patches to 5.003_05

27 years agoperl 5.003_06: configure
Sven Verdoolaege [Mon, 30 Sep 1996 13:01:05 +0000 (14:01 +0100)]
perl 5.003_06: configure

Date: Mon, 30 Sep 1996 14:01:05 +0100
From: Sven Verdoolaege <skimo@breughel.ufsia.ac.be>

Warn the user of case-insensitive file systems that they may have
accidentally gotten 'configure' instead of 'Configure'.

27 years agoPod typos, pod2man bugs, and miscellaneous installation comments
Joseph S. Myers [Fri, 20 Sep 1996 14:08:33 +0000 (15:08 +0100)]
Pod typos, pod2man bugs, and miscellaneous installation comments

Here is a patch for various typos and other defects in the Perl
5.003_05 pods, including the pods embedded in library modules.

27 years agoChanged Larry's address to larry@wall.org.
Perl 5 Porters [Mon, 7 Oct 1996 02:13:47 +0000 (02:13 +0000)]
Changed Larry's address to larry@wall.org.

27 years agoperl 5.003_06: MANIFEST
Perl 5 Porters [Sat, 28 Sep 1996 13:11:06 +0000 (15:11 +0200)]
perl 5.003_06: MANIFEST

Date: Sun, 22 Sep 1996 00:59:56 +0200
From: Gisle Aas <aas@aas.no>
Subject: More standard library test scripts

This is a collection of test scripts for the standard library modules.
Some of the tests does not pass unless some of the patches I have sent
out are applied.

Date: Sat, 28 Sep 1996 15:11:06 +0200
From: Andreas Koenig <k@anna.in-berlin.de>
Subject: Dale's posting as patch (Was: Perl 5.003_5 make fails on NS3.2 - CURED)

Handle NeXT, POSIX, and setpgid in pp_sys.c and POSIX.

Date: Mon, 7 Oct 1996 22:03:00 +0300
From: Jarkko Hietaniemi <jhi@alpha.hut.fi>
Subject: LC_COLLATE.

Big patch to add, document, and test LC_COLLATE support.

added perli18n.pod.

27 years agoLC_COLLATE.
Jarkko Hietaniemi [Mon, 7 Oct 1996 19:03:00 +0000 (22:03 +0300)]
LC_COLLATE.

Big patch to add, document, and test LC_COLLATE support.

added LC_COLLATE doc.

27 years agoperl 5.003_06: Configure
Sven Verdoolaege [Mon, 30 Sep 1996 13:01:05 +0000 (14:01 +0100)]
perl 5.003_06: Configure

Add -Wl,rpath option for irix* to find the installed shared
libperl.so

Add /shlib to libpth.  It is used by Digital Unix 4.0.

Date: Mon, 30 Sep 1996 14:01:05 +0100
From: Sven Verdoolaege <skimo@breughel.ufsia.ac.be>

Detect Cygnus Win32, or at least don't let Configure get fooled
into thinking it's OS/2.

27 years agoUpdated for 5.003_06.
Perl 5 Porters [Tue, 8 Oct 1996 02:54:09 +0000 (02:54 +0000)]
Updated for 5.003_06.

27 years agoChange to subversion 6.
Perl 5 Porters [Mon, 30 Sep 1996 03:47:47 +0000 (03:47 +0000)]
Change to subversion 6.

27 years agoperl 5.003_05: [patch introduction and re-organisation] perl-5.003_05
Andy Dougherty [Wed, 11 Sep 1996 21:54:17 +0000 (21:54 +0000)]
perl 5.003_05: [patch introduction and re-organisation]

# This is my patch perl5.003_05.pat to perl5.003_04
# The full description is below.
# Please execute the following commands before applying this patch.
# (You can feed this patch to 'sh' to do so.)
#  Andy Dougherty               <doughera@lafcol.lafayette.edu>

# We'll create a new test, but patch won't automatically make it
# executable.
touch t/io/read.t
chmod +x t/io/read.t

exit 0

This is patch perl5.003_05.pat to perl version 5.003_04.
This takes you from 5.003_04 to 5.003_05.

To apply this patch, run the above commands,
cd to your perl source directory and then type

        patch -p1 -N < perl5.003_05.pat

The changes are described after each /^Index:/ line below.  This is
designed so you can examine each change with a command such as

        csplit -k perl5.003_05.pat '/^Index:/' '{99}'

Patch and enjoy,

    Andy Dougherty              doughera@lafcol.lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042

27 years agoVMS 5.003_05 Update.
Perl 5 Porters [Sat, 7 Sep 1996 03:16:19 +0000 (03:16 +0000)]
VMS 5.003_05 Update.

27 years agoperl 5.003_05: utils/perldoc.PL
Perl 5 Porters [Sat, 7 Sep 1996 03:12:28 +0000 (03:12 +0000)]
perl 5.003_05: utils/perldoc.PL

More choices in the pager war.  Unfortunately, we can't rely on
all users agreeing with the Sysadmin's choice, nor can we
assign a default preference order, since opinions vary.  If the
user doesn't have $ENV{PAGER} set, we do want to pick up one that
at least works, so we'll try whatever Configure found.

27 years agoFix typo $Config{'has_sockets'} ought to be $Config{'d_socket'};
Perl 5 Porters [Sat, 7 Sep 1996 03:12:01 +0000 (03:12 +0000)]
Fix typo $Config{'has_sockets'} ought to be $Config{'d_socket'};

27 years agoupdated h2xs
Ilya Zakharevich [Fri, 6 Sep 1996 10:09:20 +0000 (06:09 -0400)]
updated h2xs

Changes:
a) Docs and examples for -x updated;
b) Path to xxxx.h would not be changed to /usr/include/xxxx.h
unless this file exists (outside of VMS, I'm afraid to make an error
there). - Useful with -x option, when the file may be eaten via -I
inside -F.
c) .h file would be scanned only if needed.
d) typemap would be generated (with T_PTROBJ).
e) Documentation (=list) for autogenerated guys would be
included into POD.
f) duplicated XSUBs would not be generated;
g) arguments to XSUBs being arrays are recognized (note that
xsubpp would probably choke on such guys).

-x option requires C-Scan-0.3 (releases a couple of minutes ago to
    ftp://ftp.math.ohio-state.edu/pub/users/ilya/perl
should propagate to CPAN soon).

27 years agoperl 5.003_05: unixish.h
Perl 5 Porters [Wed, 11 Sep 1996 21:06:04 +0000 (21:06 +0000)]
perl 5.003_05: unixish.h

Change comment style so that IBM's picky xlc compiler doesn't
think we've mistakenly tried to nest comments.

27 years agoRe: UNIVERSAL::class busted
Graham Barr [Thu, 29 Aug 1996 06:05:10 +0000 (06:05 +0000)]
Re: UNIVERSAL::class busted

yes, but I also noticed that this does not check that the reference
is an object, so the patch should be

27 years agoPack Patch (was Re: 5.002 - pack/unpack does not do "I" right)
Kenneth Albanowski [Tue, 3 Sep 1996 21:49:22 +0000 (17:49 -0400)]
Pack Patch (was Re: 5.002 - pack/unpack does not do "I" right)

27 years agoperl 5.003_05: t/op/inc.t util.c
Perl 5 Porters [Mon, 2 Sep 1996 23:00:14 +0000 (23:00 +0000)]
perl 5.003_05: t/op/inc.t util.c

One last LONG & co. fix (yet another cut'n'paste error) and a few
minor cleanups. Nothing crucial.

27 years agoPerl 5.003.03: race condition in t/lib/io_sock.t
Lupe Christoph [Wed, 4 Sep 1996 02:54:41 +0000 (02:54 +0000)]
Perl 5.003.03: race condition in t/lib/io_sock.t

io_sock.t works by forking a subprocess it can communicate with.
It has the subprocess wait for the main process by sleeping 10
seconds or until an alarm arrives.

With my setup, the alarm signal arrives *before* the child
has a chance to ignore the alarm signal.

I fixed this by moving the "$SIG{ALRM} = sub {};" up before the
fork. It does not hurt to have the parent ignore alarms, too.

27 years agoperl 5.003_05: t/io/read.t
Perl 5 Porters [Tue, 3 Sep 1996 01:53:21 +0000 (01:53 +0000)]
perl 5.003_05: t/io/read.t

Clear any buffer space exposed by by read().
This is almost certainly a bug-fix.

27 years agoMinor potential bug in AV creation
Chip Salzenberg [Fri, 23 Aug 1996 21:26:42 +0000 (17:26 -0400)]
Minor potential bug in AV creation

Fix more spots where we had PerlIO_stderr() and should have had
Perl_debug_log instead.

I wasn't the one who originated this patch.  But it looks like it
would improve the safety of AV creation.

Remove potentially incorrect casts on PerlIO_set_ptrcnt.
'ptr' is already STDCHAR, which is supposed to be the type of
char used in stdio.h, so we shouldn't have to cast it.

27 years agoperl 5.003_05: pp_sys.c
Perl 5 Porters [Mon, 9 Sep 1996 21:11:03 +0000 (21:11 +0000)]
perl 5.003_05: pp_sys.c

Clear any buffer space exposed by by read().
This is almost certainly a bug-fix.

Undef and then re-define my_chsize from Perl_my_chsize to
just plain chsize if this system HAS_CHSIZE.  This probably only
applies to SCO.  This shows the perils of having internal
functions with the same name as external library functions :-).

Use CLK_TCK if HZ is not available.

27 years agoperl 5.003_05: pp_hot.c
Perl 5 Porters [Thu, 29 Aug 1996 13:14:51 +0000 (15:14 +0200)]
perl 5.003_05: pp_hot.c

Date: Thu, 05 Sep 1996 00:25:28 -0400
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Subject: minor misc. cleanup

This patch makes some minor cleanups to the sources.  No change
in functionality whatsoever.

Date: Thu, 29 Aug 1996 15:14:51 +0200
From: Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
Subject: more TIEHANDLE

This adds support for a READLINE method.

27 years agoperl 5.003_05: pp.c
Perl 5 Porters [Tue, 3 Sep 1996 21:49:22 +0000 (17:49 -0400)]
perl 5.003_05: pp.c

Date: Fri, 23 Aug 1996 17:22:40 -0400 (EDT)
From: Chip Salzenberg <salzench@nielsenmedia.com>
Subject: Minor integer speedups in mathematics

This patch provides minor speedups by using integer math and SVt_IV
values when performing bitwise operations and modulus.

Date: Tue, 3 Sep 1996 17:49:22 -0400 (EDT)
From: Kenneth Albanowski <kjahds@kjahds.com>
Subject: Pack Patch (was Re: 5.002 - pack/unpack does not do "I" right)

(double)auint cast added for call to sv_setnv().

27 years agoperl 5.003_05: pod/perlvar.pod
Perl 5 Porters [Sun, 8 Sep 1996 22:09:04 +0000 (22:09 +0000)]
perl 5.003_05: pod/perlvar.pod

Be explicit about $/="" matching empty lines, that is, lines
with no spaces or tabs.

Change blank lines to empty lines.

27 years agoMore (and less!) 425traps
Perl 5 Porters [Sun, 8 Sep 1996 22:09:04 +0000 (22:09 +0000)]
More (and less!) 425traps

Here's documentation on the change in split's behavior between Perl 4
and Perl 5.

Large integer traps

Precedence

warn STDERR

Change blank lines to empty lines.

27 years agomore TIEHANDLE
Sven Verdoolaege [Thu, 29 Aug 1996 13:14:51 +0000 (15:14 +0200)]
more TIEHANDLE

This adds support for a READLINE method.

27 years agoDocument correct C<use POSIX ":wait_h";> usage.
Perl 5 Porters [Sun, 8 Sep 1996 20:39:59 +0000 (20:39 +0000)]
Document correct C<use POSIX ":wait_h";> usage.

27 years agoperl 5.003_05: pod/perlfunc.pod
Perl 5 Porters [Wed, 11 Sep 1996 21:03:53 +0000 (21:03 +0000)]
perl 5.003_05: pod/perlfunc.pod

Document correct C<use POSIX ":wait_h";> usage.

Add notes about POSIX [gs]etpgrp.

27 years agoperl 5.003_05: dev/null
Perl 5 Porters [Sun, 8 Sep 1996 23:24:21 +0000 (23:24 +0000)]
perl 5.003_05: dev/null

New script to check for common errors in pods.  This is not
normally called during the perl build process, but you can
use it with  B<make check>.

27 years agoperl 5.003_05: pod/Makefile
Perl 5 Porters [Sun, 8 Sep 1996 23:26:45 +0000 (23:26 +0000)]
perl 5.003_05: pod/Makefile

Remove trailing spaces in pods.
Include a call to the checkpods script in the Makefile (though it's
not ordinarily used by users).

27 years agoperl 5.003_05: perlsdio.h
Perl 5 Porters [Sat, 7 Sep 1996 03:11:14 +0000 (03:11 +0000)]
perl 5.003_05: perlsdio.h

Don't supply redundant parameters for PerlIO_open and PerlIO_fdopen.

Include PerlIO_reopen and PerlIO_getname.

s/FILE_(CNT|PTR)_LVALUE/STDIO_(CNT|PTR)_LVALUE to fix a typo.
This had prevented SV_FAST_FGETS from working anywhere.

Include PerlIO_canset_cnt.  I'm not sure how this is supposed to
differ from STDIO_CNT_LVALUE.

27 years agoperl 5.003_05: perlio.c
Perl 5 Porters [Sat, 7 Sep 1996 03:11:03 +0000 (03:11 +0000)]
perl 5.003_05: perlio.c

Eliminate potential "signed vs. unsigned" warning

Add PerlIO_reopen and PerlIO_cgetname functions.

27 years agoperl 5.003_05: perl.h
Perl 5 Porters [Mon, 9 Sep 1996 21:26:18 +0000 (21:26 +0000)]
perl 5.003_05: perl.h

One last LONG & co. fix (yet another cut'n'paste error) and a few
minor cleanups. Nothing crucial.

Make a little more C++-friendly for IBM's CSET++ compiler.

Enhance detection of [gs]etpgrp() variants.  Some systems have
BSD-style behavior for one and POSIX for the other.  Use
[gs]etpgid() instead, whenever possible.

27 years agoMake floating point constants Locale-friendly.
Perl 5 Porters [Thu, 5 Sep 1996 00:42:36 +0000 (00:42 +0000)]
Make floating point constants Locale-friendly.

27 years agoRe: \ ( @array ) busted for lexical @array (once more)
Gurusamy Sarathy [Wed, 4 Sep 1996 02:54:56 +0000 (02:54 +0000)]
Re: \ ( @array ) busted for lexical @array (once more)

27 years agoAdd _STDIO_LOADED (VMS) to list of guard symbols.
Perl 5 Porters [Sat, 7 Sep 1996 03:10:43 +0000 (03:10 +0000)]
Add _STDIO_LOADED (VMS) to list of guard symbols.

27 years agoperl 5.003_05: mg.h
Perl 5 Porters [Sun, 8 Sep 1996 00:55:02 +0000 (00:55 +0000)]
perl 5.003_05: mg.h

Replace the oft-repeated mg_ptr incantation with
the simple MgPVKEY macro.

Rename MgPVKEY to MgPV (to match with HePV elsewhere).  Add
additional parens around the "mg".

27 years agoIntegerize mg.c; eliminate warning on C< local($)) >
Chip Salzenberg [Fri, 23 Aug 1996 21:20:22 +0000 (17:20 -0400)]
Integerize mg.c; eliminate warning on C< local($)) >

Ok, here's a tested patch for the debugger problem.
I was missing the fact that DB::dbline magic is actually
uppercase (which means hv_store_ent() etc., will pass SV keys
to the vtbl_dbline handlers).

Replace the oft-repeated mg_ptr incantation with
the simple MgPVKEY macro.

Rename MgPVKEY to MgPV (to match with HePV elsewhere).  Add
additional parens around the "mg".

(lines near 584) Part of VMS changes.  I don't know what this did.

This patch converts magic variables ($!, $^E, etc.) to use integers
(C<sv_setiv>) instead of floats.  It also eliminates a warning from
C< local($)) >, via a hack similar to $!.

27 years agoperl 5.003_05: makedepend.SH
Perl 5 Porters [Sat, 7 Sep 1996 02:38:34 +0000 (02:38 +0000)]
perl 5.003_05: makedepend.SH

This patch eliminates "\|" in sed patterns in makedepend.SH, since
they're not really needed anyway in this one case.

27 years agosyslog.pl `use Socket' lossage
Roderick Schertler [Wed, 4 Sep 1996 00:33:54 +0000 (20:33 -0400)]
syslog.pl `use Socket' lossage

syslog.pl tries but fails to use
Socket.pm, the problem is that use doesn't return a true value.  This
module should be recast in terms of Sys::Syslog, of course.

27 years agoperl 5.003_05: lib/open3.pl
Perl 5 Porters [Sat, 7 Sep 1996 23:49:09 +0000 (23:49 +0000)]
perl 5.003_05: lib/open3.pl

The I/O directions on the dad_wtr and kid_rdr were backwards.
IO/Open3.pm didn't have this error.

27 years agoperl 5.003_05: lib/Math/Complex.pm
Perl 5 Porters [Sun, 8 Sep 1996 00:40:34 +0000 (00:40 +0000)]
perl 5.003_05: lib/Math/Complex.pm

There was a mistake in the sqrt routine in lib/Math/Complex.pm that
gave wrong answers when the magnitude of the imaginary part of the
argument exceeded the magnitude of the real part.  Line 69 had too
many sqrt($y)'s.  Further, expressions were re-arranged so that
calls to the expensive real sqrt() routine were reduced from 4 to 2
in this case.

27 years agoCwd::fastcwd in File::Find
Michael Mahan [Wed, 4 Sep 1996 02:55:19 +0000 (02:55 +0000)]
Cwd::fastcwd in File::Find

Is there a good reason why File::Find uses Cwd::fastcwd instead of
Cwd:cwd when fastcwd isn't as portable?
[In particular, fastcwd() doesn't work on AFS.]

27 years agoperl 5.003_05: lib/ExtUtils/MakeMaker.pm
Perl 5 Porters [Sun, 8 Sep 1996 20:13:54 +0000 (20:13 +0000)]
perl 5.003_05: lib/ExtUtils/MakeMaker.pm

Updated to MakeMaker-5.38.

Updated to MakeMaker-5.39 to allow CFLAGS in hint files.

27 years agoUpdated to MakeMaker-5.38.
Perl 5 Porters [Tue, 3 Sep 1996 03:59:43 +0000 (03:59 +0000)]
Updated to MakeMaker-5.38.

27 years agoUpdated to MakeMaker-5.38.
Perl 5 Porters [Tue, 3 Sep 1996 04:42:42 +0000 (04:42 +0000)]
Updated to MakeMaker-5.38.

27 years agoperl 5.003_05: lib/ExtUtils/Install.pm
Perl 5 Porters [Sat, 7 Sep 1996 03:10:33 +0000 (03:10 +0000)]
perl 5.003_05: lib/ExtUtils/Install.pm

Updated to MakeMaker-5.38.

Fix for VMS utime.

27 years agoperl 5.003_05: lib/AnyDBM_File.pm
Perl 5 Porters [Thu, 5 Sep 1996 04:14:21 +0000 (04:14 +0000)]
perl 5.003_05: lib/AnyDBM_File.pm

AnyDBM_File (modifying ISA does not work as expected)
Now behaves as documented:  Modifying ISA works to select
order in which *DB* modules are tried.  The default is still
the same.

Add helpful "die" message to end of AnyDBM_File.  Previously
it would return a 0, and the failure would eventually show up
somewhere else in the script and be hard to track down.  It is
a failure if perl can't open AnyDBM_File.  The test regression
suite is supposed to indicate this as a failure too.

27 years agoRe: installperl feature request (was: Re: Upgrade 4.0x to 5.001m)
author scotth@sgi.com 842220273 +0000 [Sun, 8 Sep 1996 22:04:33 +0000 (22:04 +0000)]
Re: installperl feature request (was: Re: Upgrade 4.0x to 5.001m)

Fix installperl so that the -n option really only prints commands.
(previously, it would still do the mkdirs.)

an "ignore installed" option, so that it doesn't bother to check
to see if the target already exists (an optimization that I
*don't* want it to do when I do #1 above)

27 years agoperl 5.003_05: hv.c
Perl 5 Porters [Thu, 5 Sep 1996 06:52:21 +0000 (02:52 -0400)]
perl 5.003_05: hv.c

Date: Thu, 05 Sep 1996 00:25:28 -0400
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Subject: minor misc. cleanup

This patch makes some minor cleanups to the sources.  No change
in functionality whatsoever.

Date: Thu, 05 Sep 1996 02:52:21 -0400
From: Gurusamy Sarathy <gsar@engin.umich.edu>

Subject: debugger problems--another patch (was Re: 5.003_04)

I have tried to avoid copying of hash keys that are passed to
magical hashes, but it seems that copying may be unavoidable
since the hv_*_ent() functions could be PADTMPs (and other
SVs that may get reused) as keys.

VMS dynamic %ENV fix

27 years agoperl 5.003_05: hints/sunos_4_1.sh
Perl 5 Porters [Sun, 8 Sep 1996 23:40:23 +0000 (23:40 +0000)]
perl 5.003_05: hints/sunos_4_1.sh

Describe solution for the __lib_version problem with acc on
SunOS.

27 years agoperl 5.003_05: hints/solaris_2.sh
Perl 5 Porters [Tue, 10 Sep 1996 02:16:49 +0000 (02:16 +0000)]
perl 5.003_05: hints/solaris_2.sh

Catch GNU ld even though it doesn't identify itself as a GNU tool.
Thanks to Tim Pierce <twpierce@midway.uchicago.edu>.

27 years agoperl 5.003_05: hints/sco.sh
Perl 5 Porters [Mon, 2 Sep 1996 22:18:45 +0000 (22:18 +0000)]
perl 5.003_05: hints/sco.sh

Turn off optimization for stock cc.  This appears to
prevent miniperl core dumps.

27 years agoperl 5.003_05: hints/hpux.sh
Perl 5 Porters [Wed, 11 Sep 1996 20:58:51 +0000 (20:58 +0000)]
perl 5.003_05: hints/hpux.sh

Add note about possible gcc GR3 warning message.

Remove [gs]etpgrp workaround.  Configure & perl.h should handle
this now.

27 years agoperl 5.003_05: hints/convexos.sh
Perl 5 Porters [Wed, 11 Sep 1996 20:58:36 +0000 (20:58 +0000)]
perl 5.003_05: hints/convexos.sh

Remove [gs]etpgrp workaround.  Configure & perl.h should handle
this now.

27 years agoMake a little more C++-friendly for IBM's CSET++ compiler.
Perl 5 Porters [Thu, 5 Sep 1996 23:59:55 +0000 (23:59 +0000)]
Make a little more C++-friendly for IBM's CSET++ compiler.

27 years agoPatch to inhibit autosplit on Socket.pm
Andreas Koenig [Thu, 5 Sep 1996 07:58:08 +0000 (09:58 +0200)]
Patch to inhibit autosplit on Socket.pm

This patch inhibits production and use of a completely useless
auto/Socket/autosplit.ix.

27 years agoTry to work around "bad free" in dbmclose().
Perl 5 Porters [Sun, 8 Sep 1996 20:20:53 +0000 (20:20 +0000)]
Try to work around "bad free" in dbmclose().

27 years agoperl 5.003_05: ext/ODBM_File/ODBM_File.xs
Perl 5 Porters [Sat, 7 Sep 1996 23:55:22 +0000 (23:55 +0000)]
perl 5.003_05: ext/ODBM_File/ODBM_File.xs

Attempt to correct for "Bad free" in Ultrix and HPUX versions of
odbm.

27 years agoFileHandle::DESTROY for fd 0
Roderick Schertler [Wed, 4 Sep 1996 02:55:31 +0000 (02:55 +0000)]
FileHandle::DESTROY for fd 0

This fixes FileHandle::DESTROY when called on stdin.

27 years agoNo AutoLoader for Fcntl
Chip Salzenberg [Thu, 5 Sep 1996 22:19:14 +0000 (18:19 -0400)]
No AutoLoader for Fcntl

Just like Socket, Fcntl doesn't need splitting and AutoLoading.

27 years agoUpdate to DB_File 1.03.
Perl 5 Porters [Sat, 7 Sep 1996 03:18:27 +0000 (03:18 +0000)]
Update to DB_File 1.03.

27 years agoNewer CPerl-mode
Ilya Zakharevich [Sat, 7 Sep 1996 02:31:23 +0000 (02:31 +0000)]
Newer CPerl-mode

27 years agoperl 5.003_05: config_h.SH
Perl 5 Porters [Wed, 11 Sep 1996 20:44:25 +0000 (20:44 +0000)]
perl 5.003_05: config_h.SH

Updated to match Configure.

Changed the DLSYM_NEEDS_UNDERSCORE comment to
/**/ to conform to metaconfig style.

27 years agoUpdated to match newest config_h.SH.
Perl 5 Porters [Wed, 11 Sep 1996 02:36:18 +0000 (02:36 +0000)]
Updated to match newest config_h.SH.

28 years agoturbidity in av.[ch]
Gurusamy Sarathy [Sun, 10 Dec 1995 05:21:31 +0000 (00:21 -0500)]
turbidity in av.[ch]

Some unclean code that I noticed today.

27 years agoVMS 5.003_05 Update.
Perl 5 Porters [Sat, 7 Sep 1996 03:16:00 +0000 (03:16 +0000)]
VMS 5.003_05 Update.

27 years agoUpdated to match Configure.
Perl 5 Porters [Wed, 11 Sep 1996 02:55:15 +0000 (02:55 +0000)]
Updated to match Configure.

27 years agoperl 5.003_05: Makefile.SH
Perl 5 Porters [Tue, 10 Sep 1996 01:12:44 +0000 (01:12 +0000)]
perl 5.003_05: Makefile.SH

A new heredoc tag in Makefile.SH needs to be quoted.

shrpenv stuff moved to Configure.

27 years agoperl 5.003_05: MANIFEST
Perl 5 Porters [Sun, 8 Sep 1996 23:27:23 +0000 (23:27 +0000)]
perl 5.003_05: MANIFEST

Add new test t/io/read.t.

Add new hints files for ODBM_File for ultrix and hpux.

Add new pod checker script.

27 years agoperl 5.003_05: INSTALL
Perl 5 Porters [Sat, 7 Sep 1996 02:04:41 +0000 (02:04 +0000)]
perl 5.003_05: INSTALL

Correct libperl5 -> libperl typo.

Describe MakeMaker's Warning (will try anyway) messages.

More info on where and how to send reports.

Add info on non-Unix ports.

27 years agoperl 5.003_05: Configure
Perl 5 Porters [Wed, 11 Sep 1996 20:44:25 +0000 (20:44 +0000)]
perl 5.003_05: Configure

Allow command line or hint-file overrides of $afs.

Allow trailing spaces in nm output for HPUX10.

Check for newer BIND 'search' directives in /etc/resolv.conf as well
as older 'domain' directive.

Enhance detection of [gs]etpgrp() variants.  Some systems have
BSD-style behavior for one and POSIX for the other.  Use
[gs]etpgid() instead, whenever possible.

Include -s in the -h summary of available options.

Allow command-line override of $afs.

Handle trailing spaces in nm-output on HPUX10.

Set shrpenv for handling LD_RUN_PATH, if needed. (This used to
be in Makefile.SH.  Now it's available for other modules too.)

When using shared libperl, avoid LD_RUN_PATH if possible by adding
correct ld flags.  Currently, Solaris and NetBSD get the correct
-R $archlibexp/CORE, and Linux gets its
-Wl,-rpath,$archlibexp/CORE flag.  Other contributions are
welcome.

27 years agoUpdated for 5.003_05.
Perl 5 Porters [Wed, 11 Sep 1996 21:54:17 +0000 (21:54 +0000)]
Updated for 5.003_05.

27 years agoChange to subversion 5.
Perl 5 Porters [Mon, 2 Sep 1996 22:55:03 +0000 (22:55 +0000)]
Change to subversion 5.

27 years agoperl 5.003_04: [patch introduction and re-organisation] perl-5.003_04
Andy Dougherty [Mon, 2 Sep 1996 03:16:25 +0000 (03:16 +0000)]
perl 5.003_04: [patch introduction and re-organisation]

# The full description is below.
# Please execute the following commands before applying this patch.
# (You can feed this patch to 'sh' to do so.)
#  Andy Dougherty               <doughera@lafcol.lafayette.edu>

rm -f hints/dnix.sh
rm -f os2/notes

# We'll create a new test, but patch won't automatically make it
# executable.
touch t/op/gv.t
chmod +x t/op/gv.t

exit 0

This is patch perl5.003_04.pat to perl version 5.003_03.
This takes you from 5.003_03 to 5.003_04.

To apply this patch, run the above commands,
cd to your perl source directory and then type

        patch -p1 -N < perl5.003_04.pat

The changes are described after each /^Index/ line below.  This is
designed so you can examine each change with a command such as

        csplit -k perl5.003_04.pat '/^Index:/' '{99}'

Patch and enjoy,

    Andy Dougherty              doughera@lafcol.lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042

27 years agoperl 5.003_04: utils/perldoc.PL
Perl 5 Porters [Wed, 28 Aug 1996 03:04:54 +0000 (03:04 +0000)]
perl 5.003_04: utils/perldoc.PL

Use col -x to filter out half-line feeds (ESC-9) from
HP-UX nroff -man output.  (col -x isn't portable -- SunOS
doesn't support the -x option.)

27 years agoMake leading =head NAME item a paragraph so pod2man finds it.
Perl 5 Porters [Wed, 28 Aug 1996 04:04:04 +0000 (04:04 +0000)]
Make leading =head NAME item a paragraph so pod2man finds it.

27 years agoPatch for LONG_MAX & co.
Perl 5 Porters [Fri, 30 Aug 1996 01:52:45 +0000 (01:52 +0000)]
Patch for LONG_MAX & co.

    __DIE__ (with patch)

sv_2pv() might call croak() (which is not prepared to handle that
when it calls sv_2pv(), itself).  Likewise for warn() (but under
slightly more esoteric circumstances--mg_get() in sv_2pv() might
trigger a call to warn()).

PERL_BADLANG is examined by default before issuing a warning during
    internationalization.

27 years agolval substr() coredumps with refs (with patch)
Perl 5 Porters [Wed, 28 Aug 1996 02:32:42 +0000 (02:32 +0000)]
lval substr() coredumps with refs (with patch)

substr() in lvalue context interacts in buggy fashion with SVs that
are !SvOK.  This manifests itself with lexicals that have a REFCNT of
1, since these are merely "cleared in place" by setting SvOK_off.

substr() coredumps with a target that is a ref, when it is used in
an lvalue context.
The patch below corrects the problem by stringifying the reference
first (and emitting a warning when appropriate).

27 years agoFAKE typeglobs seriously busted (with patch)
Perl 5 Porters [Wed, 28 Aug 1996 02:42:55 +0000 (02:42 +0000)]
FAKE typeglobs seriously busted (with patch)

Handling of fake typeglobs (scalars that are really globs
in disguise) is seriously busted since 5.002 (it wasn't
so in 5.001n).

The problem is that mg_get() on a glob calls gv_efullname()
which might coerce its first arg to a string.

27 years agoRe: truncate with file name does not work (with patch)
Perl 5 Porters [Wed, 28 Aug 1996 02:51:28 +0000 (02:51 +0000)]
Re: truncate with file name does not work (with patch)

The prototype for truncate was changed so that perl won't die
with C<use strict;> when the first arg is a bareword (filehandle).
I think it was Tom (as in "tchrist") who brought this up.

Here's a patch that undoes the damage, makes it work with
C<use strict;>, and adds to the testsuite.

The "not implemented" branch is missing a "\n".

27 years agoTrack SVs for destruction when -DPURIFY
Chip Salzenberg [Mon, 2 Sep 1996 00:08:15 +0000 (00:08 +0000)]
Track SVs for destruction when -DPURIFY

This patch removes a few obvious redundancies in the source.

This patch changes neither behavior nor performance.  However, it does
reduce code size and improve maintainability by combining some common
code in gv_fullname() and gv_efullname().

When checking for memory leaks, I compiled Perl with "-DPURIFY".
Although that flag improves the leak checking, it also breaks
destruction of global objects, because SVs aren't kept in captive
arenas any more.

This patch rectifies the problem by providing an alternative
method for keeping track of SVs when Perl is compiled for Purify.
It has no effect on normal operation.

Add comment about assert(len >=0) when len is unsigned anyway.

27 years agoPatch for LONG_MAX & co.
Perl 5 Porters [Sun, 1 Sep 1996 22:00:42 +0000 (22:00 +0000)]
Patch for LONG_MAX & co.

This patch changes neither behavior nor performance.  However, it does
reduce code size and improve maintainability by combining some common
code in gv_fullname() and gv_efullname().

27 years agoPatch for LONG_MAX & co.
Perl 5 Porters [Wed, 28 Aug 1996 03:20:21 +0000 (03:20 +0000)]
Patch for LONG_MAX & co.

substr() in lvalue context interacts in buggy fashion with SVs that
are !SvOK.  This manifests itself with lexicals that have a REFCNT of
1, since these are merely "cleared in place" by setting SvOK_off.

substr() coredumps with a target that is a ref, when it is used in
an lvalue context.
The patch below corrects the problem by stringifying the reference
first (and emitting a warning when appropriate).

27 years agodocument xsubpp SCOPE:
Perl 5 Porters [Thu, 29 Aug 1996 10:21:33 +0000 (10:21 +0000)]
document xsubpp SCOPE:

27 years agolval substr() coredumps with refs (with patch)
Perl 5 Porters [Wed, 28 Aug 1996 02:32:42 +0000 (02:32 +0000)]
lval substr() coredumps with refs (with patch)

substr() coredumps with a target that is a ref, when it is used in
an lvalue context.
The patch below corrects the problem by stringifying the reference
first (and emitting a warning when appropriate).

27 years agoperl 5.003_04: perlio.c
Perl 5 Porters [Thu, 29 Aug 1996 10:27:29 +0000 (10:27 +0000)]
perl 5.003_04: perlio.c

Removes an incorrect prototype for setlinebuf from
perlio.c because it conflicts with the correct declaration in
MachTen's stdio.h (and possibly other stdio's as well).

Secondly, the code in perlio.c is not handling the (!PERLIO_IS_STDIO &
HAS_F[GS]ETPOS) case.  The patch fixes this omission (in a rather lumpen
manner).  I don't think this should affect platforms which try to hack a
different path through the #ifdef forest, but this assertion would benefit
from testing...

Dominic Dunlop

27 years agoperl 5.003_04: os2/os2ish.h
Perl 5 Porters [Thu, 29 Aug 1996 22:24:29 +0000 (22:24 +0000)]
perl 5.003_04: os2/os2ish.h

SH_PATH_INI added (needed to redefine SH_PATH for binary
    distribution).
SH_PATH is redefined.

27 years agoSH_PATH_INI vs. BIN_SH
Perl 5 Porters [Thu, 29 Aug 1996 22:17:56 +0000 (22:17 +0000)]
SH_PATH_INI vs. BIN_SH

27 years agoperllib vs. LIBPERL
Perl 5 Porters [Thu, 29 Aug 1996 22:17:45 +0000 (22:17 +0000)]
perllib vs. LIBPERL

27 years agoRe: truncate with file name does not work (with patch)
Perl 5 Porters [Wed, 28 Aug 1996 02:37:41 +0000 (02:37 +0000)]
Re: truncate with file name does not work (with patch)

The prototype for truncate was changed so that perl won't die
with C<use strict;> when the first arg is a bareword (filehandle).
I think it was Tom (as in "tchrist") who brought this up.

Here's a patch that undoes the damage, makes it work with
C<use strict;>, and adds to the testsuite.

27 years agoUpdated. See opcode.pl.
Perl 5 Porters [Thu, 29 Aug 1996 09:28:26 +0000 (09:28 +0000)]
Updated.  See opcode.pl.

27 years agoUpdate perlio-related variables.
Perl 5 Porters [Thu, 29 Aug 1996 01:58:44 +0000 (01:58 +0000)]
Update perlio-related variables.

27 years agoFAKE typeglobs seriously busted (with patch)
Perl 5 Porters [Sun, 1 Sep 1996 22:02:06 +0000 (22:02 +0000)]
FAKE typeglobs seriously busted (with patch)

Handling of fake typeglobs (scalars that are really globs
in disguise) is seriously busted since 5.002 (it wasn't
so in 5.001n).
The problem is that mg_get() on a glob calls gv_efullname()
which might coerce its first arg to a string.

Sub-critical patch to conceivably fix some %SIG problems. (Shared hash key
weren't being properly detected by some of the sig magic, but as shared
hash keys wouldn't normally be used in %SIG it's unlikely this is a
significant problem.)

This patch changes neither behavior nor performance.  However, it does
reduce code size and improve maintainability by combining some common
code in gv_fullname() and gv_efullname().

27 years agoperl 5.003_04: malloc.c
Perl 5 Porters [Thu, 29 Aug 1996 09:12:59 +0000 (09:12 +0000)]
perl 5.003_04: malloc.c

A patch to perl5.003_02/malloc to give a sensible error abort() message
in ANSI C, and to give it to stderr instead of stdout.

Use config_h's STRINGIFY macro instead of pre-ANSI "p".

27 years agoperl 5.003_04: lib/perl5db.pl
Perl 5 Porters [Wed, 28 Aug 1996 03:19:54 +0000 (03:19 +0000)]
perl 5.003_04: lib/perl5db.pl

Ilya's debugger patch.
Undefined subroutine &Carp::longmess called at
    /opt/perl5.003_03/lib/perl5db.pl line 1423.

Make perl5db compatible with the recent 'strict refs' enforcement
in %SIG.