| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
which are not DOSish, BeOS being one of such platforms.
Ideally this should be a Configure test, not a hardwired
cpp symbol test...
p4raw-id: //depot/perl@13621
|
|
|
| |
p4raw-id: //depot/perlio@13530
|
|
|
| |
p4raw-id: //depot/perl@13427
|
|
|
|
|
| |
have file descriptors. Noticed a possibly worse problem in the process ...
p4raw-id: //depot/perlio@13409
|
|
|
|
|
| |
Message-ID: <20011127004023.S37621@plum.flirble.org>
p4raw-id: //depot/perl@13290
|
|
|
| |
p4raw-id: //depot/perlio@13072
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From: Autrijus Tang <autrijus@egb.elixus.org>
Date: Thu, 15 Nov 2001 22:49:05 -0800
Message-Id: <20011116064905.GA44092@egb.elixus.org>
Subject: [PATCH] podcheck+spellcheck, the rest of the story
From: Autrijus Tang <autrijus@egb.elixus.org>
Date: Fri, 16 Nov 2001 00:42:20 -0800
Message-Id: <20011116084220.GA44295@egb.elixus.org>
Subject: Re: [PATCH] podcheck+spellcheck, the rest of the story
From: Nicholas Clark <nick@ccl4.org>
Date: Fri, 16 Nov 2001 10:32:01 +0000
Message-Id: <20011116103200.F62891@plum.flirble.org>
(Applied after suitable de-mangling.)
p4raw-id: //depot/perl@13041
|
|
|
| |
p4raw-id: //depot/perl@12896
|
|
|
| |
p4raw-id: //depot/perl@12826
|
|
|
|
|
| |
Use for non-PERLIO fdupopen().
p4raw-id: //depot/perlio@12532
|
|
|
|
|
|
|
|
| |
wildcards, but differ ("?" vs. "%") for their "match any single
char" wildcard. This patch changes "?" chars to "%" before doing a
VMS glob...at no loss of functionality, since "?" isn't a valid
filename char on VMS. From Charles Lane.
p4raw-id: //depot/perl@12388
|
|
|
|
|
| |
Message-ID: <20010814212327.A1919@rafael>
p4raw-id: //depot/perl@11673
|
|
|
|
|
|
|
|
|
| |
everywhere.
p4raw-link: @11051 on //depot/perl: 497b47a829dd93323de2c7f4f6815ab9f23d6ada
p4raw-id: //depot/perl@11503
p4raw-integrated: from //depot/maint-5.6/macperl@11502 'merge in'
doio.c (@11007..)
|
|
|
|
|
| |
Message-Id: <Pine.LNX.4.33.0107182248330.11996-100000@chaos.tentacle.net>
p4raw-id: //depot/perl@11410
|
|
|
|
|
|
|
|
| |
Subject: Re: sizeof(struct sembuf)
Message-ID: <20010701222648.W59620@plum.flirble.org>
but do semop() always the slow way.
p4raw-id: //depot/perl@11098
|
|
|
|
|
| |
Message-ID: <15162.41164.618712.841415@rls.cx>
p4raw-id: //depot/perl@10999
|
|
|
|
|
| |
(courtesy of Mark Bixby)
p4raw-id: //depot/perl@10524
|
|
|
| |
p4raw-id: //depot/perl@10338
|
|
|
|
|
| |
and Abhijit Menon-Sen.
p4raw-id: //depot/perl@10321
|
|
|
|
|
| |
for microperl.)
p4raw-id: //depot/perl@10233
|
|
|
|
|
|
|
|
|
|
|
| |
Date: Sat, 26 May 2001 20:05:23 -0400
Message-ID: <15120.17603.148648.12430@rls.cx>
Subject: Re: [PATCH] [ID 19991013.005] utime undef, undef, @files
From: rspier@pobox.com (Robert Spier)
Date: Sun, 27 May 2001 00:23:12 -0400
Message-ID: <15120.33072.511966.767230@rls.cx>
p4raw-id: //depot/perl@10232
|
|
|
|
|
| |
Message-Id: <a05100e0ab734816701a5@[172.16.52.1]>
p4raw-id: //depot/perl@10218
|
|
|
| |
p4raw-id: //depot/perl@10172
|
|
|
|
|
| |
Message-Id: <5.0.2.1.0.20010502112909.01f24e28@24.8.96.48>
p4raw-id: //depot/perl@9960
|
|
|
| |
p4raw-id: //depot/perl@9802
|
|
|
|
|
| |
open(STDOUT,">",\$foo);
p4raw-id: //depot/perlio@9766
|
|
|
| |
p4raw-id: //depot/perlio@9549
|
|
|
| |
p4raw-id: //depot/perlio@9332
|
|
|
|
|
|
| |
1. open($fh,"+<",undef); # add test to t/io/open.t
2. open($fh,"+<",\$var); # New test t/lib/io_scalar.t
p4raw-id: //depot/perlio@9318
|
|
|
|
|
|
|
|
|
|
| |
Changes include:
- Move default layers code out of doio.c and into perlio.c
- Single routine for parsing layer specification strings.
- Skeleton support for demand loading of layers
- Core-dump avoidance if PERLIO environment specifies loadable layer
(does not _work_ as need IO to load and need load to do IO ...)
p4raw-id: //depot/perlio@9313
|
|
|
|
|
|
| |
-Uuseperlio now works again.
-Duseperlio is still poorly. Don't merge yet...
p4raw-id: //depot/perlio@9303
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
open($fh,">&STDOUT!")
type code.
- Invent PerlIO_openn() - which has "lots" of args a bit like do_openn() which
is its main caller. In particular now has access to "extra" args, and
can tell when an open handle is "reopened" (or duped?).
- In -Duseperlio PerlIO_open() et. al. are now wrappers on PerlIO_openn().
- In -Uuseperlio (untested as yet) PerlIO_openn() is a wrapper on
PerlIO_open() et. al. (i.e. other way round).
- Collapse "vtable" entries for layers - was fdopen/open/reopen now just open
with args close to PerlIO_openn().
p4raw-id: //depot/perlio@9302
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
open($fh,"<&",$scalar);
$scalar can be:
- an integer which does "fdopen"
open($fh,"<&",2); # like open($fh,"<&2")
- something that will yield a file handle via sv_2io()
useful for dup'ing anonymous handles.
e.g.:
open(my $fh,"<&",\*STDIN);
open(my $dup,"<&",$fh);
p4raw-id: //depot/perlio@9298
|
|
|
|
|
| |
then warn at time of open not at time of use.
p4raw-id: //depot/perlio@9295
|
|
|
|
|
|
| |
- redirect pipe cases to PerlProc_popen_list() (which just croaks for now)
- die on read/write cases so we can decide what it means later.
p4raw-id: //depot/perlio@9294
|
|
|
|
|
|
|
|
|
|
|
| |
Message-ID: <15006.42826.747914.669893@ix.netsoft.ro>
Fixes the bugs 20010221.005 and 20010221.008: "the taint checker
was checking argv[0] regardless of whether a different pathname
will actually be executed." Test case not supplied because
drafting that, ironically enough, revealed another bug
(or a feature).
p4raw-id: //depot/perl@8982
|
|
|
|
|
|
|
|
| |
In-Reply-To: <20010227140737.Y10633@chaos.wustl.edu>
Message-ID: <Pine.LNX.4.30.0102271322070.8623-100000@lapaki.jach.hawaii.edu>
Replace djSP with dSP.
p4raw-id: //depot/perl@8963
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102161519500.30352-100000@mako.covalent.net>
p4raw-id: //depot/perl@8815
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- canonical UTF-8 hash keys: if a key string for a hash is
UTF8-on, try downgrade the string and use it if
unicode::distinct is not in effect.
For the task, I added a function bytes_from_utf8() to utf8.c.
It might resemble utf8_to_bytes() but it is not convenient
to the task.
Made a test for it and added to t/op/each.t
- Changed do_print in doio.c to apply sv_utf8_(downgrade|upgrade) to
the mortal copy of the argument SV.
And changed t/io/utf8.t test 18 which expects print() to
upgrade its argument.
- re-implement sv_eq with bytes_from_utf8()
- some bug fixes
- tr/// does not handle UTF8 range (\x{}-\x{})
- \ before raw UTF8 character produced
"Malformed UTF-8 character" warning.
- "\x{100}\N{CENT SIGN}" is Malformed.
Added tests for these 3.
- and one silly bug (by me) with qu operator.
p4raw-id: //depot/perl@8583
|
|
|
|
|
|
|
|
|
|
| |
open($fh,"|-",@array);
to be implemented
i.e. mark pp_open as needing a stack mark, and make pp_open
process its args in that style (and pass them _all_ to tied handles OPEN).
Invent do_openn() which takes SV ** at allow it to see multiple args.
Note this does not _do_ anything yet.
p4raw-id: //depot/perlio@8484
|
|
|
| |
p4raw-id: //depot/perl@8289
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In summary, error messages produced when a subprocess terminated
abnormally were being sent not just to the parent process, but to
grandparents, because of default values for error output that were
not completely overridden when the subprocess was started.
This patch fixes this behavior by defining user-mode (i.e., temporary
for the duration of the program) logical names for SYS$OUTPUT and
SYS$ERROR when they are (re)opened inside Perl. And a bunch of other
changes to make it so that the user-mode logicals are the ones that
control where Perl's error messages go if it terminates abnormally.
I also added some gratuitous fixes to the indentation of braces in
the piping code. It just looked ugly, before.
p4raw-id: //depot/perl@8257
|
|
|
|
|
| |
Message-ID: <20001211231638.A55550@plum.flirble.org>
p4raw-id: //depot/perl@8097
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(sysread, recv and write i.e. formats still to do...)
Allow :utf8 or :bytes in PerlIO_apply_layers() so that
open($fh,">:utf8","name")
etc. work. - "applying" those just sets/clears the UTF8 bit of the top layer,
so no extra overhead is involved.
Tweak t/comp/require.t to add a 'use bytes' to permit its dubious writing of BOM
to a non-utf8 stream.
Add initial io/utf8.t
Fix SvPVutf8() - sv_2pv() was not expecting to be called with something
that was already SvPOK() - (we just fossiked with SvUTF8 bit). Fix that
and also just use the SvPV macro in sv_2pvutf8() to avoid the issue/overhead.
p4raw-id: //depot/perlio@8054
|
|
|
| |
p4raw-id: //depot/perl@7984
|
|
|
|
|
|
|
| |
- win32.h is included after <sys/socket.h>, so need to
set Win32SCK_IS_STDSCK earlier to avoid re-defined noise in XSUB.h
- GCC (& MSVC?) have execv(...,const char *const *) so need a cast from char **.
p4raw-id: //depot/perlio@7971
|
|\
| |
| | |
p4raw-id: //depot/perlio@7859
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
if SOCKS is selected.
Subject: perl@7847, [ID 20001030.005], close-patch, perlio - The big cleanup
Date: Fri, 24 Nov 2000 18:31:30 +0100
Message-ID: <20001124183130.E28337@Strawberry.COM>
Subject: Re: perl@7847, [ID 20001030.005], close-patch, perlio - Patch the patch ...
From: Jens Hamisch <jens@Strawberry.COM>
Date: Fri, 24 Nov 2000 19:11:51 +0100
Message-ID: <20001124191151.A28753@Strawberry.COM>
p4raw-id: //depot/perl@7855
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[ 7844]
Win32/perlio Now just fails one io/argv.t test - lack
of default :crlf on standard streams.
[ 7843]
Win32 passes all but t/lib/peek.t with perlio and home-grown crlf.
peek fail is showing a real problem (multiple crlf layers
are getting pushed.)
[ 7842]
Implement PerlIO_binmode()
Fix PerlIOCrlf_unread() (*--ptr rather than *ptr-- ...)
Test on UNIX with PERLIO="perlio crlf" to mimic Win32,
make binmode in t/lib/io_tell.t unconditional so that works.
Checkin just so Win32 machine can see these changes.
[ 7836]
Implement crlf layer - not ready for merge.
p4raw-link: @7844 on //depot/perlio: de6cd452fde5aaf57e339f71b33b6a0852f0f96d
p4raw-link: @7843 on //depot/perlio: 63dbdb066b93ac25a070d3a7942d248c23ec6088
p4raw-link: @7842 on //depot/perlio: 60382766f71ec2a2d8e34a951c5c77b494bd86bb
p4raw-link: @7836 on //depot/perlio: 99efab1281ccea6f7df2a4d0affc5479291e2350
p4raw-id: //depot/perl@7847
|
| | |
| | |
| | | |
p4raw-id: //depot/perl@7840
|