summaryrefslogtreecommitdiff
path: root/perlio.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix open(...,"...:layer(xxx)",...)Nick Ing-Simmons2001-07-101-1/+1
| | | | | - use memEQ not strEQ as there is '(' not '\0' p4raw-id: //depot/perlio@11252
* Code cleanup based on turning off the -woffs in IRIX.Jarkko Hietaniemi2001-06-301-2/+1
| | | | | | | | Not all of the gripes cleaned up (hairy code in hv.c and regcomp.c; unused newsp, gimme, and optype from cop.h macros; unused 'key' arguments in ?DBM_File.xs) (and the -woffs left to the IRIX hints) p4raw-id: //depot/perl@11051
* format Robin Barker2001-06-211-1/+1
| | | | | Message-Id: <200106211705.SAA08067@tempest.npl.co.uk> p4raw-id: //depot/perl@10791
* Fix PERLIO=unix bug, while restoring maximal buffer in PerlIOBuf_unread.Nick Ing-Simmons2001-06-201-13/+20
| | | p4raw-id: //depot/perlio@10747
* [ID 20010619.007] Not OK: perl v5.7.1 +DEVEL10721 +devel-10722 on ↵Spider Boardman2001-06-191-3/+10
| | | | | | | alpha-dec_osf-perlio 4.0f (UNINSTALLED) Message-Id: <200106191933.PAA08415@Orb.Nashua.NH.US> p4raw-id: //depot/perl@10730
* NetWare port from Guruprasad S <SGURUPRASAD@novell.com>.Jarkko Hietaniemi2001-06-161-0/+4
| | | p4raw-id: //depot/perl@10643
* Disable :win32 layer as default till I get it workingNick Ing-Simmons2001-06-161-4/+4
| | | p4raw-id: //depot/perlio@10640
* Work-in-progress win32 layer semi-functional, checking Nick Ing-Simmons2001-06-161-5/+13
| | | | | for UNIX breakage. p4raw-id: //depot/perlio@10632
* Work in progress UNIX-side edit of win32 PerLIO layerNick Ing-Simmons2001-06-161-2/+8
| | | p4raw-id: //depot/perlio@10627
* Fix open.pm to work via XS-implemented method calls ratherNick Ing-Simmons2001-06-151-6/+46
| | | | | than *open::layers variables which caused all the HV/AV hassle. p4raw-id: //depot/perlio@10618
* Re: [PATCH} perlio and threading @ 10576 + report H.Merijn Brand2001-06-151-0/+1
| | | | | Message-Id: <20010615120320.F009.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@10603
* Steps along the road toward Win32 building again.Nick Ing-Simmons2001-06-141-1/+4
| | | p4raw-id: //depot/perlio@10591
* Avoid AV and HV in perlio.c by inventing PerlIO_list_t which is AV-ishNick Ing-Simmons2001-06-131-93/+135
| | | | | and using that instead (name lookups are sequential search for now). p4raw-id: //depot/perlio@10564
* Paper over a crack or two with USE_SFIONick Ing-Simmons2001-06-101-1/+27
| | | p4raw-id: //depot/perlio@10497
* panic:claustrophobia.Jarkko Hietaniemi2001-05-311-1/+1
| | | p4raw-id: //depot/perl@10361
* Hack to restore Win32 pseudo fork broken by Multiple InterpreterNick Ing-Simmons2001-05-311-0/+2
| | | | | perlio.c change 10255. p4raw-id: //depot/perlio@10346
* Conditionally put back some "unused" dTHX which are usedNick Ing-Simmons2001-05-311-0/+37
| | | | | with PERL_IMPLICIT_SYS p4raw-id: //depot/perlio@10345
* perlio.c -Wall cleaner under MULTIPLICITYNick Ing-Simmons2001-05-311-31/+10
| | | | | - still minor noise with linux stdio p4raw-id: //depot/perlio@10343
* More -Wall silencing from Michael Schwern and Jarkko Hietaniemi.Jarkko Hietaniemi2001-05-301-8/+5
| | | p4raw-id: //depot/perl@10335
* Re: perlio + multiple perl_alloc..destructDoug MacEachern2001-05-281-0/+9
| | | | | Message-ID: <Pine.LNX.4.21.0105271340370.5938-100000@mako.covalent.net> p4raw-id: //depot/perl@10255
* PerlIO for VMSCraig A. Berry2001-05-261-1/+7
| | | | | Message-Id: <a05100e0ab734816701a5@[172.16.52.1]> p4raw-id: //depot/perl@10218
* [LARGE!] symbolic magicDave Mitchell2001-05-201-2/+2
| | | | | Message-Id: <200105191912.UAA23925@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@10168
* Re: [PATCH] Test offset when reading from a PerlIO::ScalarBenjamin Sugars2001-05-091-1/+3
| | | | | Message-ID: <Pine.LNX.4.21.0105091230110.1516-100000@marmot.rim.canoe.ca> p4raw-id: //depot/perl@10054
* fix const poisioning in PerlIO_openn->fdopen->opennPeter Prymmer2001-05-051-2/+2
| | | | | Message-ID: <Pine.OSF.4.10.10105041727420.67333-100000@aspara.forte.com> p4raw-id: //depot/perl@9993
* Re: [ID 20010303.009] SOCKS5 work around breaks other socketsJens Hamisch2001-04-301-2/+2
| | | | | | | | | | Message-ID: <20010427170036.K1372@Strawberry.COM> SOCKS5_VERSION_NAME is the right symbol to detect the presence of SOCKS5. (HAS_SOCKS5_INIT is telling whether function called socks5_init() is available, and even that is not universal, most SOCKS5 installations use SOCKSinit()). p4raw-id: //depot/perl@9914
* Cut-and-pasto.Jarkko Hietaniemi2001-04-231-1/+1
| | | p4raw-id: //depot/perl@9804
* More PerlIO robustness.Jarkko Hietaniemi2001-04-231-11/+31
| | | p4raw-id: //depot/perl@9803
* Avoid coredump on 'close STDERR; die' by makingJarkko Hietaniemi2001-04-231-29/+104
| | | | | | the PerlIO calls more robust. Also use SETERRNO() instead of errno = to be more VMS-ready. p4raw-id: //depot/perl@9800
* Compilation nit noticed by AIX compiler.Jarkko Hietaniemi2001-04-191-2/+3
| | | p4raw-id: //depot/perl@9751
* Allow PerlIOBase_pushed to ignore prefix on mode (e.g. sysopen's "#r")Nick Ing-Simmons2001-04-071-0/+2
| | | | | Else it complains and so crlf layer (say) does not get pushed. p4raw-id: //depot/perlio@9601
* Allow someone to write PerlIO::Array, PerlIO::Code, ...Nick Ing-Simmons2001-03-291-21/+42
| | | | | akin to PerlIO::Scalar. p4raw-id: //depot/perlio@9431
* PerlIO.pm / perlio.pm conflict.Nick Ing-Simmons2001-03-281-23/+1
| | | | | | Update some pods. Make t/op/utf8decode.t a text file. p4raw-id: //depot/perlio@9417
* REFCNT botch in layer name cache hash.Nick Ing-Simmons2001-03-261-1/+1
| | | p4raw-id: //depot/perlio@9364
* Implement flush of linebuffered streams on read of a tty.Nick Ing-Simmons2001-03-261-1/+22
| | | p4raw-id: //depot/perlio@9361
* Add destruct time hook to PerlIO (for work-in-process implementingNick Ing-Simmons2001-03-251-18/+40
| | | | | | | layers in perl code. In such cases layers need to be popped before we loose the ability to run perl code.) Also back-out "PerlIO::object" hook - it isn't going to work like that... p4raw-id: //depot/perlio@9346
* PerlIO fixups for Win32:Nick Ing-Simmons2001-03-241-3/+4
| | | | | | | | | - provide win33_popenlist() - non-functional as yet. - avoid need for aTHX in PerlIO_debug calls - even if not enabled args are still evaluated so Win32 has trouble during fork(). - Add PerlIO/Scalar to list of extensions in win32/makefile.mk - Fixup makedef.pl for latest set of symbols. p4raw-id: //depot/perlio@9321
* Implement:Nick Ing-Simmons2001-03-241-102/+170
| | | | | | 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
* Perlio internals re-organized.Nick Ing-Simmons2001-03-231-118/+202
| | | | | | | | | | | | - open process creates AV of layer/arg pairs (appends layers from open() or open.pm to default list). - push arg is now an SV. - layer ->Open get passed the AV - open is no longer mandatory method. - topmost layer that has ->Open method does the open - any layers above are pushed once that returns. - vtable re-ordered so dummy layers need only provide push/pop methods. p4raw-id: //depot/perlio@9314
* Check in a stable (working) version before next round of tweaks.Nick Ing-Simmons2001-03-231-156/+179
| | | | | | | | | | 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
* Add pTHX_ to -Duseperlio API where it does not conflict with legacy stuff.Nick Ing-Simmons2001-03-231-47/+49
| | | p4raw-id: //depot/perlio@9305
* Render -Duseperlio functional again.Nick Ing-Simmons2001-03-231-1/+9
| | | | | | | - this is "quick fix" which calls PerlIO_apply_layers after opening, which is what old scheme did. New scheme needs to change that to make open(...,\$scalar) etc. work but this will do for now. p4raw-id: //depot/perlio@9304
* Snapshot of new PerlIO open scheme. Still buggy - mainly in ↵Nick Ing-Simmons2001-03-221-196/+194
| | | | | | | | | | | | | | | 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
* perlio tweaks (reported by Nicholas Clark)Nick Ing-Simmons2001-03-221-3/+17
| | | | | | Line buffer ttys, PerlIOBuf_tell() on unseekable off-by one, error check in Pendinf_read(). p4raw-id: //depot/perlio@9293
* Fix forBenjamin Sugars2001-03-211-1/+4
| | | | | | Subject: Memory leak in unquoted print Message-ID: <Pine.LNX.4.21.0103200958180.1538-100000@marmot.rim.canoe.ca> p4raw-id: //depot/perl@9273
* [ID 20010303.009] SOCKS5 work around breaks other socketsNicholas Clark2001-03-041-2/+2
| | | | | | | Message-Id: <E14ZJmP-0000mE-00@Bagpuss.unfortu.net> Revert the workaround. p4raw-id: //depot/perl@9023
* perlio - unknown layerNicholas Clark2001-02-261-1/+3
| | | | | Message-ID: <20010226002719.E23333@plum.flirble.org> p4raw-id: //depot/perl@8951
* A missing dTHX from Vadim Konovalov.Jarkko Hietaniemi2001-02-261-0/+1
| | | p4raw-id: //depot/perl@8942
* Apply the spirit of patch from Nicholas Clark:Nicholas Clark2001-02-181-39/+55
| | | | | | Subject: [PATCH] Re: extensions that provide layers Message-Id: <20010212164350.Q3652@plum.flirble.org> p4raw-id: //depot/perlio@8830
* Fix [ID 20010217.002]Nick Ing-Simmons2001-02-181-25/+69
| | | | | | | | | open FOO, "<:raw:perlio", ... :raw now inserts default base layer below itself. Also open FOO, "<:unix", ... works as well - but leaves buffer layer on stack under the unix layer. p4raw-id: //depot/perlio@8826
* Clean up a few core dumps when layers are used in unexpected ways.Nick Ing-Simmons2001-02-181-31/+86
| | | | | (Still not "right"...) p4raw-id: //depot/perlio@8820