platform/upstream/perl.git
24 years agoUpdate Changes.
Jarkko Hietaniemi [Wed, 8 Nov 2000 19:30:21 +0000 (19:30 +0000)]
Update Changes.

p4raw-id: //depot/perl@7613

24 years agois this the appropriate patch to fix: [ID 20001106.006] find2perl generated scripts...
David Dyck [Wed, 8 Nov 2000 10:05:44 +0000 (02:05 -0800)]
is this the appropriate patch to fix: [ID 20001106.006] find2perl generated scripts issue new lstat()    on filehandle _ warning
Message-ID: <Pine.LNX.4.30.0011080957440.2572-100000@dd.tc.fluke.com>

p4raw-id: //depot/perl@7612

24 years agoRe: Patch 7533 prevents malloc.c from compiling on MachTen
Dominic Dunlop [Tue, 7 Nov 2000 12:05:25 +0000 (13:05 +0100)]
Re: Patch 7533 prevents malloc.c from compiling on MachTen
Message-Id: <p04320403b62d8e0870cf@[192.168.1.4]>

p4raw-id: //depot/perl@7611

24 years agoDo not test UTF-8 locales since that the tests would require
Jarkko Hietaniemi [Wed, 8 Nov 2000 18:25:14 +0000 (18:25 +0000)]
Do not test UTF-8 locales since that the tests would require
polymorphic regexen.

p4raw-id: //depot/perl@7610

24 years agoLocale buglets.
Vadim Konovalov [Wed, 8 Nov 2000 20:01:39 +0000 (23:01 +0300)]
Locale buglets.

Subject: RE: Locales support (setlocale) fixes
From: "Konovalov, Vadim" <vkonovalov@lucent.com>
Message-ID: <402099F49BEED211999700805FC7359F825283@ru0028exch01.spb.lucent.com>

p4raw-id: //depot/perl@7609

24 years agoDeleting $ENV{PATH} in VMS is not recommendable.
Jarkko Hietaniemi [Wed, 8 Nov 2000 17:00:16 +0000 (17:00 +0000)]
Deleting $ENV{PATH} in VMS is not recommendable.

p4raw-id: //depot/perl@7608

24 years agoPATCH std stdio for (Free)BSD
Nicholas Clark [Wed, 8 Nov 2000 15:36:29 +0000 (15:36 +0000)]
PATCH std stdio for (Free)BSD
Message-ID: <20001108153629.D98736@plum.flirble.org>

p4raw-id: //depot/perl@7607

24 years agoForgot to bump the line numbers in #7601.
Jarkko Hietaniemi [Wed, 8 Nov 2000 16:43:31 +0000 (16:43 +0000)]
Forgot to bump the line numbers in #7601.

p4raw-id: //depot/perl@7606

24 years agoMore careful detection of how well NVs and UVs mix.
Nicholas Clark [Wed, 8 Nov 2000 15:14:12 +0000 (15:14 +0000)]
More careful detection of how well NVs and UVs mix.

Subject: [PATCH] Re: NV preserving UV (wasRe: [ID 20001007.002] Not OK: perl v5.7.0 +DEVEL7158 on armv4l-linux-64int 2.2.17-rmk1 (UNINSTALLED))
Message-ID: <20001108151412.B98736@plum.flirble.org>

Added some SIGFPE paranoia.

p4raw-id: //depot/perl@7605

24 years ago[patch perl@7595] VMS configure.com tweak
Craig A. Berry [Wed, 8 Nov 2000 00:24:12 +0000 (18:24 -0600)]
[patch perl@7595] VMS configure.com tweak
Message-Id: <p04330103b62e879ceeff@[192.168.56.177]>

p4raw-id: //depot/perl@7604

24 years agoint/ptr casts in perlio.c
Robin Barker [Wed, 8 Nov 2000 11:11:39 +0000 (11:11 +0000)]
int/ptr casts in perlio.c
Message-Id: <200011081111.LAA07377@tempest.npl.co.uk>

p4raw-id: //depot/perl@7603

24 years agoFix for the tie-refhash string table leaks.
Nick Ing-Simmons [Wed, 8 Nov 2000 13:03:04 +0000 (13:03 +0000)]
Fix for the tie-refhash string table leaks.
Message-Id: <200011081303.NAA07042@mikado.tiuk.ti.com>

p4raw-id: //depot/perl@7602

24 years agoTry to avoid flockless and emulationless places.
Jarkko Hietaniemi [Wed, 8 Nov 2000 14:21:08 +0000 (14:21 +0000)]
Try to avoid flockless and emulationless places.

p4raw-id: //depot/perl@7601

24 years agoOverrideable keys, each, pop, push, shift, splice, unshift.
Casey R. Tweten [Fri, 3 Nov 2000 11:09:12 +0000 (06:09 -0500)]
Overrideable keys, each, pop, push, shift, splice, unshift.

Subject: [PATCH] prototyped functions that should be overrideable
Message-ID: <Pine.OSF.4.21.0011031100470.17471-100000@home.kiski.net>

p4raw-id: //depot/perl@7600

24 years agoMake perlbug not insist on dumping to a file when stdout isn't a tty.
Kurt D. Starsinic [Mon, 6 Nov 2000 21:39:01 +0000 (16:39 -0500)]
Make perlbug not insist on dumping to a file when stdout isn't a tty.

Subject: [PATCH] perlbug.PL
Message-ID: <20001106213901.B20955@O2.chapin.edu>

p4raw-id: //depot/perl@7599

24 years agoBad thinko in #7581 (I used the test program with the expanded
Jarkko Hietaniemi [Tue, 7 Nov 2000 23:42:00 +0000 (23:42 +0000)]
Bad thinko in #7581 (I used the test program with the expanded
values as-is).

p4raw-id: //depot/perl@7598

24 years agocygwin port
Fifer, Eric [Tue, 7 Nov 2000 18:08:51 +0000 (18:08 +0000)]
cygwin port
Message-ID: <779F20BCCE5AD31186A50008C75D99791717BB@silldn_mail1.sanwaint.com>

Synchronize with Cygwin 1.1.5.

p4raw-id: //depot/perl@7597

24 years agoperlhack updates from H.Merijn Brand.
Jarkko Hietaniemi [Tue, 7 Nov 2000 21:39:25 +0000 (21:39 +0000)]
perlhack updates from H.Merijn Brand.

p4raw-id: //depot/perl@7596

24 years agoUpdate Changes.
Jarkko Hietaniemi [Tue, 7 Nov 2000 20:21:41 +0000 (20:21 +0000)]
Update Changes.

p4raw-id: //depot/perl@7595

24 years agoBe more robust in Dynaloader.pm.
Jarkko Hietaniemi [Tue, 7 Nov 2000 19:18:58 +0000 (19:18 +0000)]
Be more robust in Dynaloader.pm.

p4raw-id: //depot/perl@7594

24 years agoAUTHORS update.
Jarkko Hietaniemi [Tue, 7 Nov 2000 16:49:31 +0000 (16:49 +0000)]
AUTHORS update.

p4raw-id: //depot/perl@7593

24 years agonormalize relative paths in virtualized current directory on windows,
Gurusamy Sarathy [Tue, 7 Nov 2000 16:39:51 +0000 (16:39 +0000)]
normalize relative paths in virtualized current directory on windows,
under ithreads (avoids ".." etc showing up in what Cwd::cwd()
returns)

p4raw-id: //depot/perl@7592

24 years agoToo profiler-happy: with optimization the #7590 actually makes
Jarkko Hietaniemi [Tue, 7 Nov 2000 16:04:26 +0000 (16:04 +0000)]
Too profiler-happy: with optimization the #7590 actually makes
the test to run 0.5% _slower_.  Requires much more instrumentation.
Retract #7590.

p4raw-id: //depot/perl@7591

24 years agoShave off about 5% (Digital UNIX, -g, pixie) of the op/regexp
Jarkko Hietaniemi [Tue, 7 Nov 2000 15:51:13 +0000 (15:51 +0000)]
Shave off about 5% (Digital UNIX, -g, pixie) of the op/regexp
execution time in regcomp.c S_cl_any() and S_cl_is_anything()
by using memset() and testing bytewise (as opposed to bitwise).

p4raw-id: //depot/perl@7590

24 years agoconfigure.com and st-lock.t changes for
Craig A. Berry [Mon, 6 Nov 2000 23:45:30 +0000 (18:45 -0500)]
configure.com and st-lock.t changes for
Message-Id: <0011079735.AA973576259@univpress.com>

p4raw-id: //depot/perl@7589

24 years agoTweak #7587.
Jarkko Hietaniemi [Tue, 7 Nov 2000 01:03:28 +0000 (01:03 +0000)]
Tweak #7587.

p4raw-id: //depot/perl@7588

24 years agoA doc addition for bug id 20001105.019, beware \p.
Jarkko Hietaniemi [Tue, 7 Nov 2000 01:00:27 +0000 (01:00 +0000)]
A doc addition for bug id 20001105.019, beware \p.

p4raw-id: //depot/perl@7587

24 years agoFake support of holey files in win/dosish platforms.
kipp@shonanblue.ne.jp [Mon, 6 Nov 2000 13:30:55 +0000 (05:30 -0800)]
Fake support of holey files in win/dosish platforms.

Subject: SDBM_File under MS-Windows95/98 does not work correctly. (APR#1302)
Message-Id: <200011062130.eA6LUpZ17387@smtp3.ActiveState.com>

p4raw-id: //depot/perl@7586

24 years agoPod updates
Stephen P. Potter [Mon, 6 Nov 2000 18:56:43 +0000 (13:56 -0500)]
Pod updates
Message-Id: <200011062357.SAA18173@spotter.yi.org>

p4raw-id: //depot/perl@7585

24 years agoVarargs don't always work too well if one puts an unsigned
Yitzchak Scott-Thoennes [Mon, 6 Nov 2000 15:19:05 +0000 (07:19 -0800)]
Varargs don't always work too well if one puts an unsigned
char on the stack and pop an unsigned quad off the stack.

Subject: Re: [ID 20001103.002] Not OK: perl v5.7.0 +DEVEL7523 on os2-64int-ld-2.30 (UNINSTALLED)
Message-ID: <pxzB6gzkgKXY092yn@efn.org>

p4raw-id: //depot/perl@7584

24 years ago%ENV note tweaks from Dan Sugalski.
Jarkko Hietaniemi [Mon, 6 Nov 2000 23:58:48 +0000 (23:58 +0000)]
%ENV note tweaks from Dan Sugalski.

p4raw-id: //depot/perl@7583

24 years agoglibc5 detection by __GNU_LIBRARY__.
Jarkko Hietaniemi [Mon, 6 Nov 2000 23:05:49 +0000 (23:05 +0000)]
glibc5 detection by __GNU_LIBRARY__.

p4raw-id: //depot/perl@7582

24 years agoMake the stdio test program of 7427 less noisy while being
Jarkko Hietaniemi [Mon, 6 Nov 2000 22:51:29 +0000 (22:51 +0000)]
Make the stdio test program of 7427 less noisy while being
compiled so that Digital UNIX wouldn't get both
d_stdio_ptr_lval_nochange_cnt and d_stdio_ptr_lval_sets_cnt
undefined.  This makes perlio happy.

p4raw-id: //depot/perl@7581

24 years agoDocument %ENV = () portability issues.
Jarkko Hietaniemi [Mon, 6 Nov 2000 22:41:41 +0000 (22:41 +0000)]
Document %ENV = () portability issues.

p4raw-id: //depot/perl@7580

24 years agoVOS updates from Paul Green.
Jarkko Hietaniemi [Mon, 6 Nov 2000 21:29:24 +0000 (21:29 +0000)]
VOS updates from Paul Green.

p4raw-id: //depot/perl@7579

24 years agoSanitize the environment further.
Jarkko Hietaniemi [Mon, 6 Nov 2000 21:00:40 +0000 (21:00 +0000)]
Sanitize the environment further.

p4raw-id: //depot/perl@7578

24 years agoRe-introduce 7552 lost in integration.
Jarkko Hietaniemi [Mon, 6 Nov 2000 20:53:51 +0000 (20:53 +0000)]
Re-introduce 7552 lost in integration.

p4raw-id: //depot/perl@7577

24 years agoAdmit that the test leaks scalars.
Jarkko Hietaniemi [Mon, 6 Nov 2000 20:33:46 +0000 (20:33 +0000)]
Admit that the test leaks scalars.

p4raw-id: //depot/perl@7576

24 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 6 Nov 2000 20:17:08 +0000 (20:17 +0000)]
Integrate perlio:

[  7574]
Remove debug. Try (Mmap_t) on madvise() call.

p4raw-link: @7574 on //depot/perlio: 4a4a611618e8ff6d5ad41c0e944ec39ce1bd0e52

p4raw-id: //depot/perl@7575

24 years agoRemove debug. Try (Mmap_t) on madvise() call.
Nick Ing-Simmons [Mon, 6 Nov 2000 20:07:28 +0000 (20:07 +0000)]
Remove debug. Try (Mmap_t) on madvise() call.

p4raw-id: //depot/perlio@7574

24 years agoUpdate Changes.
Jarkko Hietaniemi [Mon, 6 Nov 2000 13:56:05 +0000 (13:56 +0000)]
Update Changes.

p4raw-id: //depot/perl@7573

24 years agoRe: rsync'ed patches vs. rsync'ed source
H.Merijn Brand [Mon, 6 Nov 2000 10:11:42 +0000 (11:11 +0100)]
Re: rsync'ed patches vs. rsync'ed source
Message-Id: <20001106100920.9BAD.H.M.BRAND@hccnet.nl>

p4raw-id: //depot/perl@7572

24 years agoAUTHORS updates.
Jarkko Hietaniemi [Mon, 6 Nov 2000 01:45:51 +0000 (01:45 +0000)]
AUTHORS updates.

p4raw-id: //depot/perl@7571

24 years agoFix for
David Dyck [Fri, 28 Jul 2000 17:19:16 +0000 (10:19 -0700)]
Fix for

Subject: [ID 20000728.005] perl -P broken
Message-Id: <200007290019.RAA08484@dd.tc.fluke.com>

(hopefully).  The fix is also not complete, it seems to break
BOM swallowing for libc5 systems, but until someone figures
out a way to do this without ftell(), this will do.

p4raw-id: //depot/perl@7570

24 years agoDocument that the evaled syntax errors cause scalar leaks.
Jarkko Hietaniemi [Mon, 6 Nov 2000 00:05:30 +0000 (00:05 +0000)]
Document that the evaled syntax errors cause scalar leaks.

p4raw-id: //depot/perl@7569

24 years agoopmini.o can linger from Configures past.
Jarkko Hietaniemi [Sun, 5 Nov 2000 23:14:47 +0000 (23:14 +0000)]
opmini.o can linger from Configures past.

p4raw-id: //depot/perl@7568

24 years agoFake __FUNCTION__ for non-gcc builds, cast madvise()
Jarkko Hietaniemi [Sun, 5 Nov 2000 21:28:39 +0000 (21:28 +0000)]
Fake __FUNCTION__ for non-gcc builds, cast madvise()
first argument correctly.

p4raw-id: //depot/perl@7567

24 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 5 Nov 2000 21:15:56 +0000 (21:15 +0000)]
Integrate perlio:

[  7564]
Added a mmap layer as a "subclass" of perlio.
PERLIO=mmap ./perl harness passes

p4raw-link: @7564 on //depot/perlio: 06da4f118d1ab8f806eb47383dca6d6e4bbe0469

p4raw-id: //depot/perl@7566

24 years agoUse -dM for gcc (the suggested patch did it only for Linux,
Pixel [Sun, 5 Nov 2000 21:49:34 +0000 (22:49 +0100)]
Use -dM for gcc (the suggested patch did it only for Linux,
but I think it can be generalized).

Subject: Re: connect and $!{EINPROGRESS} pb (was [ID 20001030.010] [PATCH] io_multihomed.t failing)
Message-ID: <ly8zqygn4x.fsf@leia.mandrakesoft.com>

p4raw-id: //depot/perl@7565

24 years agoAdded a mmap layer as a "subclass" of perlio.
Nick Ing-Simmons [Sun, 5 Nov 2000 21:09:18 +0000 (21:09 +0000)]
Added a mmap layer as a "subclass" of perlio.
PERLIO=mmap ./perl harness passes

p4raw-id: //depot/perlio@7564

24 years agoAdd a note for future generations about bug id 20000229.006.
Jarkko Hietaniemi [Sun, 5 Nov 2000 19:48:55 +0000 (19:48 +0000)]
Add a note for future generations about bug id 20000229.006.

p4raw-id: //depot/perl@7563

24 years agoFix for bug id 19990615.008, pos() unset during s///ge.
Jarkko Hietaniemi [Sun, 5 Nov 2000 19:38:24 +0000 (19:38 +0000)]
Fix for bug id 19990615.008, pos() unset during s///ge.

p4raw-id: //depot/perl@7562

24 years agoAdd =pod to be tidy.
Jarkko Hietaniemi [Sun, 5 Nov 2000 18:21:46 +0000 (18:21 +0000)]
Add =pod to be tidy.

p4raw-id: //depot/perl@7561

24 years agoUpgrade to Storable 1.0.6, from Raphael Manfredi.
Jarkko Hietaniemi [Sun, 5 Nov 2000 17:38:46 +0000 (17:38 +0000)]
Upgrade to Storable 1.0.6, from Raphael Manfredi.

p4raw-id: //depot/perl@7560

24 years ago[Corrected/tested PATCH] Re: [ID 20001102.008] Not OK: perl v5.7.0 +DEVEL7503 on...
Peter J. Farley III [Sun, 5 Nov 2000 11:55:59 +0000 (06:55 -0500)]
[Corrected/tested PATCH] Re: [ID 20001102.008] Not OK: perl v5.7.0 +DEVEL7503 on i686-linux 2.2.16
Message-Id: <4.3.1.0.20001105115341.00b35160@pop5.banet.net>

p4raw-id: //depot/perl@7559

24 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 5 Nov 2000 17:29:19 +0000 (17:29 +0000)]
Integrate perlio:

[  7555]
Fix read from STDERR on raw unix layer for Solaris where fd 2 is
open RDWR so does not fail. (pragma/warnings 303 again...)

[  7554]
Fix case where ungetc(f,EOF) was allowed.
Move PerlIO_ungetc() near PerlIO_putc()/PerlIO_getc() in the file
so we can see similarities.
Use types more carefully and a STDCHAR array in hope that this will
fix Jarkko's 64bit machine.

p4raw-link: @7555 on //depot/perlio: 8f24bd7931e1129a30ea0a951e81eecafa42f53b
p4raw-link: @7554 on //depot/perlio: 313ca112ae76354c03e7aff0a3e35062e8173ef0

p4raw-id: //depot/perl@7558

24 years agoA fix of sorts for 20000329.026, a better error message
Jarkko Hietaniemi [Sun, 5 Nov 2000 17:22:01 +0000 (17:22 +0000)]
A fix of sorts for 20000329.026, a better error message
for a missing "use charnames" when using the \N{...}.

p4raw-id: //depot/perl@7557

24 years agoTest tweak: show also the failed locales.
Lupe Christoph [Sun, 5 Nov 2000 12:39:27 +0000 (13:39 +0100)]
Test tweak: show also the failed locales.

Subject: [ID 20001105.001] Not OK: perl v5.7.0 +DEVEL7523 on i86pc-solaris 2.8
Message-Id: <200011051139.MAA12442@lupe-christoph.de>

p4raw-id: //depot/perl@7556

24 years agoFix read from STDERR on raw unix layer for Solaris where fd 2 is
Nick Ing-Simmons [Sun, 5 Nov 2000 11:09:34 +0000 (11:09 +0000)]
Fix read from STDERR on raw unix layer for Solaris where fd 2 is
open RDWR so does not fail. (pragma/warnings 303 again...)

p4raw-id: //depot/perlio@7555

24 years agoFix case where ungetc(f,EOF) was allowed.
Nick Ing-Simmons [Sun, 5 Nov 2000 10:10:13 +0000 (10:10 +0000)]
Fix case where ungetc(f,EOF) was allowed.
Move PerlIO_ungetc() near PerlIO_putc()/PerlIO_getc() in the file
so we can see similarities.
Use types more carefully and a STDCHAR array in hope that this will
fix Jarrko's 64bit machine.

p4raw-id: //depot/perlio@7554

24 years agoFix for
Andrew Pimlott [Wed, 4 Oct 2000 23:17:44 +0000 (19:17 -0400)]
Fix for

Subject: [ID 20001004.007] taint propogation is inconsistent
Message-Id: <m13h1XU-000SEmC@nolfolan.idiomtech.com>

The culprit was sv_setsv() which was rather blindly
propagating taint, which lead to behaviour where if
a tainted anon hash value was seen all the hash values
from then on at that level became tainted, or at any
upper levels in the case of nested anon hashes.

p4raw-id: //depot/perl@7553

24 years agoSome cpps don't like splitting conditionals across several lines.
Jarkko Hietaniemi [Sat, 4 Nov 2000 23:44:18 +0000 (23:44 +0000)]
Some cpps don't like splitting conditionals across several lines.

p4raw-id: //depot/perl@7552

24 years agoIntegrate mainline
Nick Ing-Simmons [Sat, 4 Nov 2000 23:40:44 +0000 (23:40 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@7551

24 years agoIntegrate mainline again
Nick Ing-Simmons [Sat, 4 Nov 2000 23:39:05 +0000 (23:39 +0000)]
Integrate mainline again

p4raw-id: //depot/perlio@7550

24 years agoFix for
Andrew Pimlott [Wed, 4 Oct 2000 21:57:43 +0000 (17:57 -0400)]
Fix for

Subject: [ID 20001004.006] undef is never tainted
Message-Id: <m13h0I3-000SEmC@nolfolan.idiomtech.com>

An undef read from a slurped file was not tainted.

p4raw-id: //depot/perl@7549

24 years agoTest tweak ($Config{useperlio} is by default undef) .
Jarkko Hietaniemi [Sat, 4 Nov 2000 22:56:21 +0000 (22:56 +0000)]
Test tweak ($Config{useperlio} is by default undef) .

p4raw-id: //depot/perl@7548

24 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 4 Nov 2000 22:43:56 +0000 (22:43 +0000)]
Integrate perlio:

[  7539]
PerlIO infrastructure complete.

[  7538]
Type tweaks + less contorted allocation scheme

[  7537]
Fix for stdio as default "discipline" - PerlIO_init() was fdopen(2,"w")'ing
a fresh FILE * rather than re-using stderr. Which meant PerlIO_stderr() was
fully buffered rather than unbuffered (on Solaris, Linux seemed to do something
sensible) which lead to some interesting fails.

[  7535]
Implement stack of layers - (perlio.c _is_ derived from the old file honest...)
- Works on Linux with
perlio + unix
stdio
- Works on Solaris with
perlio + unix
- Fails ONE test (print to STDIN should fail) on Solaris with stdio.
- Fails (hangs in openpid) if you try and stack
perlio + stdio - Linux stdio's read() logic is hanging.

[  7492]
Change files which are mysteriously different to mainline to be
copies of mainline.

[  7491]
Perlio fixes discovered on big-endian & very traditional Solaris:
- typo in endian code in putc.
- Don't allow read of write-only files and vice-versa
- and off-by-one in flush-all loop.
Remove debug calls as they were using GCC specific features.

[  7484]
PerlIO passes all tests.

[  7482]
Include <unistd.h> to get correct lseek() prototype etc.
(I thought perl.h did that) - down to two fails
- comp/require.t (last test)
- lib/io_xs.t - possibly import/export of FILE * ?

[  7480]
Fixed two bugs:
- error code not being set on close (of broken pipe)
- append mode was truncating.
At least one seek/tell bug remains.

[  7479]
Prototype (stdio-like) PerlIO passing basic tests. Checked in
in case of accidents. Still several worrying fails, no line disciplines yet.

p4raw-link: @7539 on //depot/perlio: f3862f8bcf6d3aa824432654b287f4ebd64db17f
p4raw-link: @7538 on //depot/perlio: 05d1247b4b0324742a6edccf90ff347d8905fcdb
p4raw-link: @7537 on //depot/perlio: c7fc522f3f7e35723803aaacf8c326dac22dae76
p4raw-link: @7535 on //depot/perlio: 9e353e3b7330a59ca210e75e4484e7762fcd1ce4
p4raw-link: @7492 on //depot/perlio: e9e021e644582e6ca1e9f6b4c1f1a8a7c7e2a58d
p4raw-link: @7491 on //depot/perlio: f89522bf4daaf3c639b016283ffbace973e9c323
p4raw-link: @7484 on //depot/perlio: b1ef6e3bd726972447a8b536231f096656903bb3
p4raw-link: @7482 on //depot/perlio: 02f66e2f9235025f08502389e56df70aa71733c0
p4raw-link: @7480 on //depot/perlio: bb9950b796df42e2f824a072ae878c87e977be20
p4raw-link: @7479 on //depot/perlio: 6f9d8c32c6a78a47c6088f50d7051d779f712ee1

p4raw-id: //depot/perl@7547

24 years agoConfigure would use a bad $myuname from an old config.sh.
Andy Dougherty [Sat, 4 Nov 2000 14:15:29 +0000 (09:15 -0500)]
Configure would use a bad $myuname from an old config.sh.

Subject: [PATCH 5.6.1-to-be and 5.7.x] Very old Configure myuname bug
Message-ID: <Pine.SOL.4.10.10011041410120.982-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@7546

24 years agoLocales support (setlocale) fixes
Vadim Konovalov [Sat, 4 Nov 2000 10:15:48 +0000 (13:15 +0300)]
Locales support (setlocale) fixes
From: "Konovalov, Vadim" <vkonovalov@lucent.com>
Message-ID: <402099F49BEED211999700805FC7359F82511F@ru0028exch01.spb.lucent.com>

Modified quite a bit to be more portable.

p4raw-id: //depot/perl@7545

24 years agoDying is too strict here, better just skip.
Jarkko Hietaniemi [Sat, 4 Nov 2000 22:32:47 +0000 (22:32 +0000)]
Dying is too strict here, better just skip.

p4raw-id: //depot/perl@7544

24 years agoMerge mainline
Nick Ing-Simmons [Sat, 4 Nov 2000 21:55:13 +0000 (21:55 +0000)]
Merge mainline

p4raw-id: //depot/perlio@7543

24 years agoMore Changes tweakery.
Jarkko Hietaniemi [Sat, 4 Nov 2000 21:09:28 +0000 (21:09 +0000)]
More Changes tweakery.

p4raw-id: //depot/perl@7542

24 years agoChanges fixups.
Jarkko Hietaniemi [Sat, 4 Nov 2000 20:58:18 +0000 (20:58 +0000)]
Changes fixups.

p4raw-id: //depot/perl@7541

24 years agoLocale tweakery. Add test case for bug id 20000809.003 to op/misc,
Jarkko Hietaniemi [Sat, 4 Nov 2000 20:42:38 +0000 (20:42 +0000)]
Locale tweakery.  Add test case for bug id 20000809.003 to op/misc,
create a "fast path" for locale name probing using "locale -a"
if available, squash finally hopefully the s?printf resetting
the numeric locale (since, IIUC perllocale, it never shouldn't).

p4raw-id: //depot/perl@7540

24 years agoPerlIO infrastructure complete.
Nick Ing-Simmons [Sat, 4 Nov 2000 19:56:10 +0000 (19:56 +0000)]
PerlIO infrastructure complete.

p4raw-id: //depot/perlio@7539

24 years agoType tweaks + less contorted allocation scheme
Nick Ing-Simmons [Sat, 4 Nov 2000 14:31:32 +0000 (14:31 +0000)]
Type tweaks + less contorted allocation scheme

p4raw-id: //depot/perlio@7538

24 years agoFix for stdio as default "discipline" - PerlIO_init() was fdopen(2,"w")'ing
Nick Ing-Simmons [Sat, 4 Nov 2000 12:40:42 +0000 (12:40 +0000)]
Fix for stdio as default "discipline" - PerlIO_init() was fdopen(2,"w")'ing
a fresh FILE * rather than re-using stderr. Which meant PerlIO_stderr() was
fully buffered rather than unbuffered (on Solaris, Linux seemed to do something
sensible) which lead to some interesting fails.

p4raw-id: //depot/perlio@7537

24 years agoAdd FCNTL_CAN_LOCK.
Andy Dougherty [Fri, 3 Nov 2000 15:32:14 +0000 (10:32 -0500)]
Add FCNTL_CAN_LOCK.

Subject: Re: [ID 20001030.011] Not OK: perl v5.7.0 +DEVEL7481 on VMS_AXP V7.1 (UNINSTALLED)
Message-ID: <Pine.SOL.4.10.10011031528090.29-100000@maxwell.phys.lafayette.edu>

Subject: Re: [ID 20001030.011] Not OK: perl v5.7.0 +DEVEL7481 on VMS_AXP V7.1 (UNINSTALLED)
From: Andy Dougherty <doughera@lafayette.edu>
In-Reply-To: <4.3.1.0.20001031222203.00b24b20@pop5.banet.net>
Message-ID: <Pine.SOL.4.10.10011031532170.29-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@7536

24 years agoImplement stack of layers - (perlio.c _is_ derived from the old file honest...)
Nick Ing-Simmons [Fri, 3 Nov 2000 22:19:10 +0000 (22:19 +0000)]
Implement stack of layers - (perlio.c _is_ derived from the old file honest...)
  - Works on Linux with
     perlio + unix
     stdio
   - Works on Solaris with
     perlio + unix
   - Fails ONE test (print to STDIN should fail) on Solaris with stdio.
   - Fails (hangs in openpid) if you try and stack
     perlio + stdio - Linux stdio's read() logic is hanging.

p4raw-id: //depot/perlio@7535

24 years agoRe: README.aix
H.Merijn Brand [Fri, 3 Nov 2000 16:03:15 +0000 (17:03 +0100)]
Re: README.aix
Message-Id: <20001103151040.95C6.H.M.BRAND@hccnet.nl>

p4raw-id: //depot/perl@7534

24 years agobetter messages from malloc()
Ilya Zakharevich [Wed, 1 Nov 2000 23:39:56 +0000 (18:39 -0500)]
better messages from malloc()
Message-ID: <20001101233956.A520@monk.mps.ohio-state.edu>

p4raw-id: //depot/perl@7533

24 years agoThe #7521 touched things it shouldn't have.
Jarkko Hietaniemi [Fri, 3 Nov 2000 00:11:56 +0000 (00:11 +0000)]
The #7521 touched things it shouldn't have.

p4raw-id: //depot/perl@7532

24 years agoPerl@7504, vms/gen_shrfls.pl
Charles Lane [Thu, 2 Nov 2000 16:58:36 +0000 (11:58 -0500)]
Perl@7504, vms/gen_shrfls.pl
Message-Id: <001102165758.31020@DUPHY4.Physics.Drexel.Edu>

p4raw-id: //depot/perl@7531

24 years agoFix the problem discussed in
Jarkko Hietaniemi [Thu, 2 Nov 2000 22:08:49 +0000 (22:08 +0000)]
Fix the problem discussed in

Subject: [ID 20001015.004] Fwd: Tie::SubstrHash -- bug & fix (all Perl versions)
Date: Mon, 16 Oct 2000 04:48:59 +0300 (EET DST)
Message-Id: <200010160148.EAA14523@alpha.hut.fi>

originally from Linc Madison.  Also Andreas König's comments
taken into account.  Some other problems with Tie::SubstrHash
fixed: didn't croak when the table exceeded the requested number
of entries (as documented) but instead when the number of entries
exceeded the size of the table, a croak() had an unnecessary \n,
didn't have a CLEAR method, documented that there is no exists().
Didn't fix to be strict-proof because the module uses &foo; and
dynamic scope.  Added a test script exercizing both first tamely
the basic functionality, and then the failure cases reported by
Linc Madison.

p4raw-id: //depot/perl@7530

24 years agorecv() can fail and return undef.
Alexey V. Barantsev [Thu, 2 Nov 2000 20:12:20 +0000 (23:12 +0300)]
recv() can fail and return undef.

Subject: [ID 20001102.003] Net::Ping patch: "Bad arg lenght" error appears if host is unreachable
Message-Id: <200011021712.UAA07919@dallas.kazbek.ispras.ru>

p4raw-id: //depot/perl@7529

24 years agoDetpyo.
Jarkko Hietaniemi [Thu, 2 Nov 2000 17:49:09 +0000 (17:49 +0000)]
Detpyo.

p4raw-id: //depot/perl@7528

24 years agoAdd Tie::RefHash::Nestable (lives in Tie/RefHash.pm),
Edward Avis [Thu, 2 Nov 2000 15:24:30 +0000 (15:24 +0000)]
Add Tie::RefHash::Nestable (lives in Tie/RefHash.pm),
fix a autovivification bug in Tie::RefHash, add tests for both.

Subject: Re: Tie::RefHash: use hash refs as keys in nested hashes
Message-ID: <Pine.LNX.4.21.0011021516010.8344-100000@texel03.doc.ic.ac.uk>

p4raw-id: //depot/perl@7527

24 years agoTest::Harness revealed buglets in the new DynaLoader.
Andreas König [Thu, 2 Nov 2000 11:26:48 +0000 (12:26 +0100)]
Test::Harness revealed buglets in the new DynaLoader.

Subject: [ID 20001102.001] Not OK: perl v5.7.0 +DEVEL7523 on i686-linux 2.2.16a (UNINSTALLED)
Message-Id: <m3vgu6k6tz.fsf@ak-71.mind.de>

p4raw-id: //depot/perl@7526

24 years agoThe entry for #7503 was missing.
Jarkko Hietaniemi [Wed, 1 Nov 2000 23:52:08 +0000 (23:52 +0000)]
The entry for #7503 was missing.

p4raw-id: //depot/perl@7525

24 years agoUpdate Changes.
Jarkko Hietaniemi [Wed, 1 Nov 2000 23:40:52 +0000 (23:40 +0000)]
Update Changes.

p4raw-id: //depot/perl@7524

24 years agoMore tweaking on the #7522 theme.
Jarkko Hietaniemi [Wed, 1 Nov 2000 22:57:09 +0000 (22:57 +0000)]
More tweaking on the #7522 theme.

p4raw-id: //depot/perl@7523

24 years agoExpand %Config variables and %ENV variables only if
Jarkko Hietaniemi [Wed, 1 Nov 2000 22:06:15 +0000 (22:06 +0000)]
Expand %Config variables and %ENV variables only if
so requested during build time using the
PERL_BUILD_EXPAND_CONFIG_VARS and PERL_BUILD_EXPAND_ENV_VARS.
Not expanding makes relocating distributions easier.

p4raw-id: //depot/perl@7522

24 years agoMake the POSIX::setuid and POSIX::setgid to really call setuid()
Garry T. Williams [Mon, 4 Sep 2000 12:09:44 +0000 (08:09 -0400)]
Make the POSIX::setuid and POSIX::setgid to really call setuid()
and setgid() because they were just changing $< and $( which means
only changing the real uid/gid, as opposed to changing both
real and effective ids.  (The alternative way could have been
in POSIX.pm to change $> and $), too, but making a direct call
to the C API feels cleaner.)  Fixes the bug

Subject: [ID 20000904.005] POSIX::setuid() Doesn't Call setuid()
Message-Id: <200009041609.e84G9iN12155@ifr.inside.zvolve.net>

p4raw-id: //depot/perl@7521

24 years ago[ID 20000904.004] perlsec Manual Page Incorrect Doing "Safe Backticks"
Garry T. Williams [Mon, 4 Sep 2000 11:32:38 +0000 (07:32 -0400)]
[ID 20000904.004] perlsec Manual Page Incorrect Doing "Safe Backticks"
Message-Id: <200009041532.e84FWcl12106@ifr.inside.zvolve.net>

p4raw-id: //depot/perl@7520

24 years agoLocale warning explanation tweak.
Jarkko Hietaniemi [Wed, 1 Nov 2000 20:01:22 +0000 (20:01 +0000)]
Locale warning explanation tweak.

p4raw-id: //depot/perl@7519

24 years agoC.pm part of
Jarkko Hietaniemi [Tue, 10 Oct 2000 08:22:28 +0000 (03:22 -0500)]
C.pm part of

Subject: [ID 20001010.001] [Daniel.Stutz@astaro.de: perlcc and C.pm in perl-5.7.0]
Message-Id: <20001010082228.B17030@chaos.wustl.edu>

p4raw-id: //depot/perl@7518

24 years ago[ID 20001005.006] Documentation -- description of qr//
Martien Verbruggen [Fri, 6 Oct 2000 14:09:10 +0000 (01:09 +1100)]
[ID 20001005.006] Documentation -- description of qr//
Message-Id: <200010060309.OAA03457@verbruggen.comdyn.com.au>

p4raw-id: //depot/perl@7517

24 years agoGeneralize the Camel wording.
John Borwick [Wed, 1 Nov 2000 13:19:21 +0000 (08:19 -0500)]
Generalize the Camel wording.

Subject: Re: perlfaq style changes
Message-ID: <Pine.GSO.4.21.0011011318270.7428-100000@eos00du.eos.ncsu.edu>

p4raw-id: //depot/perl@7516

24 years ago[ID 20001005.004] doc bug: perlsec misleading re file output
Andrew Pimlott [Thu, 5 Oct 2000 13:20:58 +0000 (09:20 -0400)]
[ID 20001005.004] doc bug: perlsec misleading re file output
Message-Id: <m13hEhW-000SEmC@nolfolan.idiomtech.com>

p4raw-id: //depot/perl@7515

24 years agoMore AIX lore.
Jarkko Hietaniemi [Wed, 1 Nov 2000 15:03:40 +0000 (15:03 +0000)]
More AIX lore.

p4raw-id: //depot/perl@7514