perl.git
22 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.

22 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".

23 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 $!.

22 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.

22 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.

22 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.

22 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.

22 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.]

22 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.

22 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.

22 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.

22 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.

22 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.

22 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)

22 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

22 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.

22 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>.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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().

22 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.

22 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.

22 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.

22 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.

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

22 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.

22 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.

23 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.

22 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.

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

22 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.

22 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.

22 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.

22 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.

22 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.

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

22 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

22 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.)

22 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.

22 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.

22 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).

22 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.

22 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".

22 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.

22 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().

22 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).

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

22 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).

22 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

22 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.

22 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

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

22 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.

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

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

22 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().

22 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".

22 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.

22 years agoperl 5.003_04: lib/Test/Harness.pm
Perl 5 Porters [Thu, 29 Aug 1996 01:53:45 +0000 (01:53 +0000)] 
perl 5.003_04: lib/Test/Harness.pm

Add a return value to runtests - non-zero if all tests ran ok,
zero otherwise.

22 years agoperl 5.003_04: lib/ExtUtils/xsubpp
Perl 5 Porters [Fri, 30 Aug 1996 01:53:30 +0000 (01:53 +0000)] 
perl 5.003_04: lib/ExtUtils/xsubpp

Fix SCOPE?  (See pod/perlxs.pod).
Up version number to 1.938.

22 years ago.C$(obj_ext) removed under OS/2 - conflicts with .c$(obj_ext).
Perl 5 Porters [Thu, 29 Aug 1996 22:17:02 +0000 (22:17 +0000)] 
.C$(obj_ext) removed under OS/2 - conflicts with .c$(obj_ext).

22 years agoperl 5.003_04: hints/ultrix_4.sh
Perl 5 Porters [Thu, 29 Aug 1996 22:35:13 +0000 (22:35 +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.

22 years agoFixes for sh vs. bin_sh + cleanup.
Perl 5 Porters [Thu, 29 Aug 1996 22:16:48 +0000 (22:16 +0000)] 
Fixes for sh vs. bin_sh + cleanup.

22 years agoperl 5.003_04: hints/irix_6_2.sh hints/mpeix.sh
Perl 5 Porters [Thu, 29 Aug 1996 22:34:35 +0000 (22:34 +0000)] 
perl 5.003_04: hints/irix_6_2.sh hints/mpeix.sh

Change optimize=-g to optimize=none to avoid pulling in -DDEBUGGING,
unless that's what the user really wants.

22 years agoRemove the d_bsdpgrp hint. The defaults should be ok.
Perl 5 Porters [Wed, 28 Aug 1996 01:11:26 +0000 (01:11 +0000)] 
Remove the d_bsdpgrp hint.  The defaults should be ok.

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

Sorry about adding yet another #ifdef forest, but hopefully this
should resolve the *_MAX issues permanently. It adds to the
previously defined PERL_LONG_MAX, PERL_LONG_MIN, and PERL_ULONG_MAX
symbols the complete set of
/PERL_U?(CHAR|SHORT|INT|LONG)_(MAX|MIN)/, and installs aliases to
those from /(I|U)(8|16|32|V)_(MAX|MIN)/ so that for any standard
Perl typedef, like I32 or UV, you can reference I32_MAX or UV_MIN,
and get appropriate figures. All references to LONG_(MIN|MAX) are
changed appropriately.

The .c changes have the side effect of making cast_uv properly use quad
limits if quads are in use, but longs aren't 64 bit. Hopefully this all
works, but I don't have any handy Crays to try it out on.

Add notes on perl's internal types, specifically Quad_t and IV.

22 years agoRe: glob in Safe compartment allows shell access
Perl 5 Porters [Wed, 28 Aug 1996 03:23:45 +0000 (03:23 +0000)] 
Re: glob in Safe compartment allows shell access

I've moved the glob op into the same opcode tag as backticks and system
and added a comment.

22 years agoperl 5.003_04: ext/IO/lib/IO/File.pm
Perl 5 Porters [Thu, 29 Aug 1996 10:20:23 +0000 (10:20 +0000)] 
perl 5.003_04: ext/IO/lib/IO/File.pm

This patch fixes a bug observed by Tom Christiansen: IO::File::new
didn't allow for file permissions after the file mode.  Here's a patch.

This patch documents the behavior of IO::File::{new,open} with
regard to open modes.  It also documents the exportation of Fcntl
constants.

22 years agoperl 5.003_04: ext/FileHandle/FileHandle.pm
Perl 5 Porters [Thu, 29 Aug 1996 02:55:08 +0000 (02:55 +0000)] 
perl 5.003_04: ext/FileHandle/FileHandle.pm

This patch documents the behavior of FileHandle::{new,open} with
regard to open modes.  It also documents the exportation of Fcntl
constants.

This patch fixes a bug observed by Tom Christiansen: FileHandle::new
didn't allow for file permissions after the file mode.  Here's a patch.

22 years agoperl 5.003_04: dump.c gv.c op.c pp_ctl.c pp_sys.c proto.h run.c
Perl 5 Porters [Sun, 1 Sep 1996 22:00:43 +0000 (22:00 +0000)] 
perl 5.003_04: dump.c gv.c op.c pp_ctl.c pp_sys.c proto.h run.c

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().

22 years agoperl 5.003_04: config_h.SH
Perl 5 Porters [Thu, 29 Aug 1996 22:32:23 +0000 (22:32 +0000)] 
perl 5.003_04: config_h.SH

Change /*#define../**/ into /*#define../ **/
to make IBM's xlc compiler shut up about nested comments.
The /*#define FOO /**/ is a perfectly legal un-nested comment, and
I wish IBM would fix it's blasted compiler instead.  In the meantime
we'll take mercy on the poor AIX user and get rid of the screenfulls
of stupid warning messages.  Thanks to Hallvard B Furuseth
<h.b.furuseth@usit.uio.no> for the fix.

22 years agoUpdated. Note new comments to make AIX happy.
Perl 5 Porters [Fri, 30 Aug 1996 03:05:52 +0000 (03:05 +0000)] 
Updated.  Note new comments to make AIX happy.

22 years agorandom cleanup
Perl 5 Porters [Wed, 28 Aug 1996 02:44:46 +0000 (02:44 +0000)] 
random cleanup

This patch removes a few obvious redundancies in the source.

22 years agoUpdated.
Perl 5 Porters [Fri, 30 Aug 1996 01:51:08 +0000 (01:51 +0000)] 
Updated.

22 years agoperl 5.003_04: Makefile.SH
Perl 5 Porters [Thu, 29 Aug 1996 22:17:13 +0000 (22:17 +0000)] 
perl 5.003_04: Makefile.SH

For building shared libperl, relocate whole rule to
inside the if test -f $osname/Makefile.SHs case.

22 years agoperl 5.003_04: MANIFEST
Perl 5 Porters [Thu, 29 Aug 1996 22:34:02 +0000 (22:34 +0000)] 
perl 5.003_04: MANIFEST

os2/notes removed

obsolete hints/dnix.sh removed.

New typeglob test.

22 years agoperl 5.003_04: INSTALL
Perl 5 Porters [Fri, 30 Aug 1996 01:28:21 +0000 (01:28 +0000)] 
perl 5.003_04: INSTALL

Change name of shared perl library to libperl, instead of
libperl5.

Add notes about fragility of shared libperl and the usefulness
of archlib to separate different binaries.

22 years agoperl 5.003_04: Configure
Perl 5 Porters [Thu, 29 Aug 1996 22:32:23 +0000 (22:32 +0000)] 
perl 5.003_04: Configure

Change name of shared libperl library back to libperl.so.xxx,
so that a simple -lperl picks up either libperl.a or
libperl.so.xxx.

Check if $sh='' in case we've reloaded an old config.sh

22 years agoUpdated for 5.003_04.
Perl 5 Porters [Mon, 2 Sep 1996 03:16:25 +0000 (03:16 +0000)] 
Updated for 5.003_04.

22 years agoSUBVERSION 4.
Perl 5 Porters [Wed, 28 Aug 1996 22:33:44 +0000 (22:33 +0000)] 
SUBVERSION 4.

23 years agoperl 5.003_03: [patch introduction and re-organisation] perl-5.003_03
Andy Dougherty [Sun, 25 Aug 1996 01:27:42 +0000 (01:27 +0000)] 
perl 5.003_03: [patch introduction and re-organisation]

# This is my patch perl5.003_03.pat to perl5.003_02
# 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>

# Absorbed into Changes5.002
rm -f Changes.Conf

# Not needed.
rm -f ext/POSIX/mkposixman.pl

# Moved to README.os2.  I'm not sure why the README files are
# here rather than in the appropriate subdirectories.
rm -f os2/README

# Not needed.
rm -f pod/Makefile.PL

# New test for bit ops
touch t/op/bop.t

# Patches that create new tests don't always make them executable.
chmod +x t/*/*.t

# Create a new directory for Porting and Patching info.
mkdir Porting

exit 0

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

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

        patch -p1 -N < perl5.003_03.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_03.pat '/^Index:/' '{99}'

Patch and enjoy,

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

23 years agoperl 5.003_03: x2p/str.c
Perl 5 Porters [Fri, 16 Aug 1996 00:27:34 +0000 (00:27 +0000)] 
perl 5.003_03: x2p/str.c

Use Configure's FILE_filbuf macro instead of a raw _filbuf.

----------------
Version 5.003_02

23 years agoKeep 5.003's RCS info.
Perl 5 Porters [Fri, 16 Aug 1996 10:46:55 +0000 (10:46 +0000)] 
Keep 5.003's RCS info.

23 years agoperl 5.003_03: x2p/Makefile.SH
Perl 5 Porters [Mon, 19 Aug 1996 00:56:38 +0000 (00:56 +0000)] 
perl 5.003_03: x2p/Makefile.SH

Use Configure's $sh and $make_set_make.

Remove MAB stuff, since it's now in ccflags.

Keep 5.003's RCS info.

23 years agoperl 5.003_03: writemain.SH
Perl 5 Porters [Fri, 16 Aug 1996 10:45:14 +0000 (10:45 +0000)] 
perl 5.003_03: writemain.SH

Remove unnecessary curlies.  (They are a leftover from
an older auto_init mechanism.)

23 years agoperl 5.003_03: utils/h2ph.PL
Perl 5 Porters [Mon, 19 Aug 1996 00:52:35 +0000 (00:52 +0000)] 
perl 5.003_03: utils/h2ph.PL

Make h2ph architecture-independent by using Config at run-time
rather than extraction time.

23 years agoperl 5.003_03: util.c
Perl 5 Porters [Mon, 19 Aug 1996 00:51:33 +0000 (00:51 +0000)] 
perl 5.003_03: util.c

Include <unistd.h>.

Use correct types for safe*alloc and safefree functions.

23 years agoperl 5.003_03: toke.c
Perl 5 Porters [Mon, 19 Aug 1996 00:50:55 +0000 (00:50 +0000)] 
perl 5.003_03: toke.c

Include <unistd.h>.

Use memcmp instead of bcmp even when we don't care about order.

23 years agoperl 5.003_03: t/op/split.t
Perl 5 Porters [Sun, 25 Aug 1996 00:14:19 +0000 (00:14 +0000)] 
perl 5.003_03: t/op/split.t

If a regex supplied to split() contains paranthesized subpatterns
that can result in null matches, perl coredumps.

23 years agoSupport bit operations on strings longer than 15 bytes.
Perl 5 Porters [Sun, 25 Aug 1996 00:23:01 +0000 (00:23 +0000)] 
Support bit operations on strings longer than 15 bytes.

23 years agoUse memcmp instead of bcmp even when we don't care about order.
Perl 5 Porters [Mon, 19 Aug 1996 00:46:59 +0000 (00:46 +0000)] 
Use memcmp instead of bcmp even when we don't care about order.

23 years agoFix safe*alloc and safefree prototypes.
Perl 5 Porters [Mon, 19 Aug 1996 00:44:34 +0000 (00:44 +0000)] 
Fix safe*alloc and safefree prototypes.

23 years agoperl 5.003_03: pp_sys.c
Perl 5 Porters [Thu, 22 Aug 1996 02:15:39 +0000 (02:15 +0000)] 
perl 5.003_03: pp_sys.c

Include <unistd.h>, <sys/wait.h>, and <sys/resource.h>.
(The latter two are especially for NetBSD.)

Don't assume sys/time.h and sys/select.h can't coexist.

Use Pause macro.

23 years agoperl 5.003_03: pp_hot.c
Perl 5 Porters [Sun, 25 Aug 1996 00:01:52 +0000 (00:01 +0000)] 
perl 5.003_03: pp_hot.c

Use memcmp instead of bcmp even when we don't care about order.

Add support for tied filehandles.

23 years agoperl 5.003_03: pp.c
Perl 5 Porters [Sun, 25 Aug 1996 00:13:55 +0000 (00:13 +0000)] 
perl 5.003_03: pp.c

Add support for tied filehandles.

If a regex supplied to split() contains paranthesized subpatterns
that can result in null matches, perl coredumps.

23 years agoFix a minor nit regarding Exporter.
Perl 5 Porters [Sun, 25 Aug 1996 00:08:57 +0000 (00:08 +0000)] 
Fix a minor nit regarding Exporter.

23 years agoperl 5.003_03: pod/perlipc.pod
Perl 5 Porters [Sun, 25 Aug 1996 00:19:05 +0000 (00:19 +0000)] 
perl 5.003_03: pod/perlipc.pod

Fix typo.

Untaint port number.