Sven Verdoolaege [Mon, 30 Sep 1996 13:01:05 +0000]
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'.
Joseph S. Myers [Fri, 20 Sep 1996 14:08:33 +0000]
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.
Perl 5 Porters [Mon, 7 Oct 1996 02:13:47 +0000]
Changed Larry's address to larry@wall.org.
Perl 5 Porters [Sat, 28 Sep 1996 13:11:06 +0000]
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.
Jarkko Hietaniemi [Mon, 7 Oct 1996 19:03:00 +0000]
LC_COLLATE.
Big patch to add, document, and test LC_COLLATE support.
added LC_COLLATE doc.
Sven Verdoolaege [Mon, 30 Sep 1996 13:01:05 +0000]
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.
Perl 5 Porters [Tue, 8 Oct 1996 02:54:09 +0000]
Updated for 5.003_06.
Perl 5 Porters [Mon, 30 Sep 1996 03:47:47 +0000]
Change to subversion 6.
Andy Dougherty [Wed, 11 Sep 1996 21:54:17 +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
Perl 5 Porters [Sat, 7 Sep 1996 03:16:19 +0000]
VMS 5.003_05 Update.
Perl 5 Porters [Sat, 7 Sep 1996 03:12:28 +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.
Perl 5 Porters [Sat, 7 Sep 1996 03:12:01 +0000]
Fix typo $Config{'has_sockets'} ought to be $Config{'d_socket'};
Ilya Zakharevich [Fri, 6 Sep 1996 10:09:20 +0000]
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).
Perl 5 Porters [Wed, 11 Sep 1996 21:06:04 +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.
Graham Barr [Thu, 29 Aug 1996 06:05:10 +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
Kenneth Albanowski [Tue, 3 Sep 1996 21:49:22 +0000]
Pack Patch (was Re: 5.002 - pack/unpack does not do "I" right)
Perl 5 Porters [Mon, 2 Sep 1996 23:00:14 +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.
Lupe Christoph [Wed, 4 Sep 1996 02:54:41 +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.
Perl 5 Porters [Tue, 3 Sep 1996 01:53:21 +0000]
perl 5.003_05: t/io/read.t
Clear any buffer space exposed by by read().
This is almost certainly a bug-fix.
Chip Salzenberg [Fri, 23 Aug 1996 21:26:42 +0000]
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.
Perl 5 Porters [Mon, 9 Sep 1996 21:11:03 +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.
Perl 5 Porters [Thu, 29 Aug 1996 13:14:51 +0000]
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.
Perl 5 Porters [Tue, 3 Sep 1996 21:49:22 +0000]
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().
Perl 5 Porters [Sun, 8 Sep 1996 22:09:04 +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.
Perl 5 Porters [Sun, 8 Sep 1996 22:09:04 +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.
Sven Verdoolaege [Thu, 29 Aug 1996 13:14:51 +0000]
more TIEHANDLE
This adds support for a READLINE method.
Perl 5 Porters [Sun, 8 Sep 1996 20:39:59 +0000]
Document correct C<use POSIX ":wait_h";> usage.
Perl 5 Porters [Wed, 11 Sep 1996 21:03:53 +0000]
perl 5.003_05: pod/perlfunc.pod
Document correct C<use POSIX ":wait_h";> usage.
Add notes about POSIX [gs]etpgrp.
Perl 5 Porters [Sun, 8 Sep 1996 23:24:21 +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>.
Perl 5 Porters [Sun, 8 Sep 1996 23:26:45 +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).
Perl 5 Porters [Sat, 7 Sep 1996 03:11:14 +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.
Perl 5 Porters [Sat, 7 Sep 1996 03:11:03 +0000]
perl 5.003_05: perlio.c
Eliminate potential "signed vs. unsigned" warning
Add PerlIO_reopen and PerlIO_cgetname functions.
Perl 5 Porters [Mon, 9 Sep 1996 21:26:18 +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.
Perl 5 Porters [Thu, 5 Sep 1996 00:42:36 +0000]
Make floating point constants Locale-friendly.
Gurusamy Sarathy [Wed, 4 Sep 1996 02:54:56 +0000]
Re: \ ( @array ) busted for lexical @array (once more)
Perl 5 Porters [Sat, 7 Sep 1996 03:10:43 +0000]
Add _STDIO_LOADED (VMS) to list of guard symbols.
Perl 5 Porters [Sun, 8 Sep 1996 00:55:02 +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".
Chip Salzenberg [Fri, 23 Aug 1996 21:20:22 +0000]
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 $!.
Perl 5 Porters [Sat, 7 Sep 1996 02:38:34 +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.
Roderick Schertler [Wed, 4 Sep 1996 00:33:54 +0000]
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.
Perl 5 Porters [Sat, 7 Sep 1996 23:49:09 +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.
Perl 5 Porters [Sun, 8 Sep 1996 00:40:34 +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.
Michael Mahan [Wed, 4 Sep 1996 02:55:19 +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.]
Perl 5 Porters [Sun, 8 Sep 1996 20:13:54 +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.
Perl 5 Porters [Tue, 3 Sep 1996 03:59:43 +0000]
Updated to MakeMaker-5.38.
Perl 5 Porters [Tue, 3 Sep 1996 04:42:42 +0000]
Updated to MakeMaker-5.38.
Perl 5 Porters [Sat, 7 Sep 1996 03:10:33 +0000]
perl 5.003_05: lib/ExtUtils/Install.pm
Updated to MakeMaker-5.38.
Fix for VMS utime.
Perl 5 Porters [Thu, 5 Sep 1996 04:14:21 +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.
author scotth@sgi.com 842220273 +0000 [Sun, 8 Sep 1996 22:04:33 +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)
Perl 5 Porters [Thu, 5 Sep 1996 06:52:21 +0000]
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
Perl 5 Porters [Sun, 8 Sep 1996 23:40:23 +0000]
perl 5.003_05: hints/sunos_4_1.sh
Describe solution for the __lib_version problem with acc on
SunOS.
Perl 5 Porters [Tue, 10 Sep 1996 02:16:49 +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>.
Perl 5 Porters [Mon, 2 Sep 1996 22:18:45 +0000]
perl 5.003_05: hints/sco.sh
Turn off optimization for stock cc. This appears to
prevent miniperl core dumps.
Perl 5 Porters [Wed, 11 Sep 1996 20:58:51 +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.
Perl 5 Porters [Wed, 11 Sep 1996 20:58:36 +0000]
perl 5.003_05: hints/convexos.sh
Remove [gs]etpgrp workaround. Configure & perl.h should handle
this now.
Perl 5 Porters [Thu, 5 Sep 1996 23:59:55 +0000]
Make a little more C++-friendly for IBM's CSET++ compiler.
Andreas Koenig [Thu, 5 Sep 1996 07:58:08 +0000]
Patch to inhibit autosplit on Socket.pm
This patch inhibits production and use of a completely useless
auto/Socket/autosplit.ix.
Perl 5 Porters [Sun, 8 Sep 1996 20:20:53 +0000]
Try to work around "bad free" in dbmclose().
Perl 5 Porters [Sat, 7 Sep 1996 23:55:22 +0000]
perl 5.003_05: ext/ODBM_File/ODBM_File.xs
Attempt to correct for "Bad free" in Ultrix and HPUX versions of
odbm.
Roderick Schertler [Wed, 4 Sep 1996 02:55:31 +0000]
FileHandle::DESTROY for fd 0
This fixes FileHandle::DESTROY when called on stdin.
Chip Salzenberg [Thu, 5 Sep 1996 22:19:14 +0000]
No AutoLoader for Fcntl
Just like Socket, Fcntl doesn't need splitting and AutoLoading.
Perl 5 Porters [Sat, 7 Sep 1996 03:18:27 +0000]
Update to DB_File 1.03.
Ilya Zakharevich [Sat, 7 Sep 1996 02:31:23 +0000]
Newer CPerl-mode
Perl 5 Porters [Wed, 11 Sep 1996 20:44:25 +0000]
perl 5.003_05: config_h.SH
Updated to match Configure.
Changed the DLSYM_NEEDS_UNDERSCORE comment to
/**/ to conform to metaconfig style.
Perl 5 Porters [Wed, 11 Sep 1996 02:36:18 +0000]
Updated to match newest config_h.SH.
Gurusamy Sarathy [Sun, 10 Dec 1995 05:21:31 +0000]
turbidity in av.[ch]
Some unclean code that I noticed today.
Perl 5 Porters [Sat, 7 Sep 1996 03:16:00 +0000]
VMS 5.003_05 Update.
Perl 5 Porters [Wed, 11 Sep 1996 02:55:15 +0000]
Updated to match Configure.
Perl 5 Porters [Tue, 10 Sep 1996 01:12:44 +0000]
perl 5.003_05: Makefile.SH
A new heredoc tag in Makefile.SH needs to be quoted.
shrpenv stuff moved to Configure.
Perl 5 Porters [Sun, 8 Sep 1996 23:27:23 +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.
Perl 5 Porters [Sat, 7 Sep 1996 02:04:41 +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.
Perl 5 Porters [Wed, 11 Sep 1996 20:44:25 +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.
Perl 5 Porters [Wed, 11 Sep 1996 21:54:17 +0000]
Updated for 5.003_05.
Perl 5 Porters [Mon, 2 Sep 1996 22:55:03 +0000]
Change to subversion 5.
Andy Dougherty [Mon, 2 Sep 1996 03:16:25 +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
Perl 5 Porters [Wed, 28 Aug 1996 03:04:54 +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.)
Perl 5 Porters [Wed, 28 Aug 1996 04:04:04 +0000]
Make leading =head NAME item a paragraph so pod2man finds it.
Perl 5 Porters [Fri, 30 Aug 1996 01:52:45 +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.
Perl 5 Porters [Wed, 28 Aug 1996 02:32:42 +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).
Perl 5 Porters [Wed, 28 Aug 1996 02:42:55 +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.
Perl 5 Porters [Wed, 28 Aug 1996 02:51:28 +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".
Chip Salzenberg [Mon, 2 Sep 1996 00:08:15 +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.
Perl 5 Porters [Sun, 1 Sep 1996 22:00:42 +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().
Perl 5 Porters [Wed, 28 Aug 1996 03:20:21 +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).
Perl 5 Porters [Thu, 29 Aug 1996 10:21:33 +0000]
document xsubpp SCOPE:
Perl 5 Porters [Wed, 28 Aug 1996 02:32:42 +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).
Perl 5 Porters [Thu, 29 Aug 1996 10:27:29 +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
Perl 5 Porters [Thu, 29 Aug 1996 22:24:29 +0000]
perl 5.003_04: os2/os2ish.h
SH_PATH_INI added (needed to redefine SH_PATH for binary
distribution).
SH_PATH is redefined.
Perl 5 Porters [Thu, 29 Aug 1996 22:17:56 +0000]
SH_PATH_INI vs. BIN_SH
Perl 5 Porters [Thu, 29 Aug 1996 22:17:45 +0000]
perllib vs. LIBPERL
Perl 5 Porters [Wed, 28 Aug 1996 02:37:41 +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.
Perl 5 Porters [Thu, 29 Aug 1996 09:28:26 +0000]
Updated. See opcode.pl.
Perl 5 Porters [Thu, 29 Aug 1996 01:58:44 +0000]
Update perlio-related variables.
Perl 5 Porters [Sun, 1 Sep 1996 22:02:06 +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().
Perl 5 Porters [Thu, 29 Aug 1996 09:12:59 +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".
Perl 5 Porters [Wed, 28 Aug 1996 03:19:54 +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.
Perl 5 Porters [Thu, 29 Aug 1996 01:53:45 +0000]
perl 5.003_04: lib/Test/Harness.pm
Add a return value to runtests - non-zero if all tests ran ok,
zero otherwise.
Perl 5 Porters [Fri, 30 Aug 1996 01:53:30 +0000]
perl 5.003_04: lib/ExtUtils/xsubpp
Fix SCOPE? (See pod/perlxs.pod).
Up version number to 1.938.
Perl 5 Porters [Thu, 29 Aug 1996 22:17:02 +0000]
.C$(obj_ext) removed under OS/2 - conflicts with .c$(obj_ext).
Perl 5 Porters [Thu, 29 Aug 1996 22:35:13 +0000]
perl 5.003_04: hints/ultrix_4.sh
Don't call optimize=-g, just call optimize=none. The -g
pulls in -DDEBUGGING, which might not be wanted.