summaryrefslogtreecommitdiff
path: root/perlio.c
Commit message (Collapse)AuthorAgeFilesLines
* Wrong way to get stdio mode used.Nick Ing-Simmons2001-11-181-3/+1
| | | p4raw-id: //depot/perlio@13080
* Allow dup'ing of PerlIO::Scalar etc.Nick Ing-Simmons2001-11-181-19/+33
| | | p4raw-id: //depot/perlio@13072
* Fix for "perlio bug in koi8-r encoding". The problemJarkko Hietaniemi2001-11-151-9/+12
| | | | | | | | | seemed to be that binmode() always flushed the handle, which is not so good when switching encodings. Fixed, added Matt Sergeant's testcase, documented in perlfunc/binmode, also added a pointer about disciplines to perlfunc/open, and in general cleaned up and reformatted the open entry. p4raw-id: //depot/perl@13019
* [Patch Perl@12856] MULTIPLICITY on VMS Charles Lane2001-11-121-0/+5
| | | | | Message-Id: <011112123409.27041@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@12958
* a few typo fixes Jeffrey Friedl2001-11-121-1/+1
| | | | | | | | | | | Message-Id: <200111120515.fAC5FIc74795@ventrue.corp.yahoo.com> Patching README.foo instead of pod/perlfoo.pod, not patching Math::BigInt (Tels will take care of that), dropping broken hv.c and sv.h patches, patching libnetcfg.PL and perldoc.PL instead of libnetcfg and perldoc, patching ext/Digest/MD5/t/files.t since MD5.pm was changed. p4raw-id: //depot/perl@12954
* Enhance the open pragma to support :utf8, :locale,Jarkko Hietaniemi2001-11-101-2/+2
| | | | | | and :encoding directly as special cases, and rename the INOUT to IO. p4raw-id: //depot/perl@12933
* [REPATCH] Re: PerlIOBuf_dupNicholas Clark2001-11-041-10/+17
| | | | | Message-ID: <20011104104123.U20123@plum.flirble.org> p4raw-id: //depot/perl@12839
* Integrate perlio:Jarkko Hietaniemi2001-11-031-33/+38
| | | | | | | | | | | | | | | | | | | [ 12830] Fix clone_leak problem. PerlIOStdio_dup was leaking FILE * as it was still doing fdopen() as vestige of calling PerlLIO_dup(). [ 12829] Tweaks attempting to locate Doug's clone_leak leak. - add some PerlIO_debug() - handle PerlIO_clone() with empty lists (clone before Perl_parse()) - Even if it closing stdout etc. do a fflush() p4raw-link: @12830 on //depot/perlio: 6124d23f33100dc3c406774873984a1b51f6ab02 p4raw-link: @12829 on //depot/perlio: f4b9981fadd371fad0a1f2bdf41857e39e760c27 p4raw-id: //depot/perl@12832 p4raw-integrated: from //depot/perlio@12827 'copy in' perlio.c (@12830..)
* microperl sync.Jarkko Hietaniemi2001-11-021-0/+2
| | | p4raw-id: //depot/perl@12826
* BeOS tweaks:Jarkko Hietaniemi2001-10-291-1/+1
| | | | | | | | | | | | - fseeko and ftello can be found by Configure but we do not seem to have prototypes for them so let's make up some - BeOS didn't use to have real sockets (sockets as filedescriptors) but the BONE package is supposed to fix this. I do not know how to detect BONEness, see hints/beos.sh for a spot that needs to fixed. - BeOS has O_TEXT != O_BINARY but has no setmode() p4raw-id: //depot/perl@12756
* Have :stdio layer update an honour the fd refcnt table.Nick Ing-Simmons2001-10-281-50/+60
| | | | | Embed.t now passes with PERLIO=stdio as well (tested under ithreads) p4raw-id: //depot/perlio@12736
* Use fd refcounts to solve the problem highlighted by new Embed.t, atNick Ing-Simmons2001-10-281-32/+46
| | | | | least for PERLIO=perlio unthreaded case p4raw-id: //depot/perlio@12733
* Integrate change #12711 from perlio;Jarkko Hietaniemi2001-10-271-57/+100
|\ | | | | | | | | | | | | | | Use ref count scheme rather than PerlLIO_dup() to do fp_dup(). Restores op/fork.t on Win32 (still segfault on exit of ok 2). p4raw-link: @12711 on //depot/perlio: 93a8090dc33a049e3827420ced6c7db56ab1f529 p4raw-id: //depot/perl@12715
| * Use ref count scheme rather than PerlLIO_dup() to do fp_dup().Nick Ing-Simmons2001-10-271-57/+100
| | | | | | | | | | Restores op/fork.t on Win32 (still segfault on exit of ok 2). p4raw-id: //depot/perlio@12711
* | C RTL awareness update for VMSCraig A. Berry2001-10-271-2/+2
|/ | | | | Message-Id: <5.1.0.14.2.20011027134037.01bebc60@exchi01> p4raw-id: //depot/perl@12712
* Make the PerlIO_init() prototypes consistent.Jarkko Hietaniemi2001-10-231-2/+2
| | | p4raw-id: //depot/perl@12604
* Restore non-ithreads build. Interestingly binmode test passesNick Ing-Simmons2001-10-221-1/+3
| | | | | | non-ithreads - so crlf layer is not damaged and ithreads fail is a symptom ... p4raw-id: //depot/perlio@12555
* Convert rest of PerlIO's memory tables to per-interp and add clone functionsNick Ing-Simmons2001-10-211-75/+72
| | | | | | | | for them. Call explicit cleanup during destruct process. - one binmode test is failing - also ext/threads/t/basic.t fails under make test, and is noisy under harness. (Threads results are intermingled and don't match order expected.) p4raw-id: //depot/perlio@12547
* PerlIO layer table as PL_perlio (per-interpreter)Nick Ing-Simmons2001-10-211-38/+56
| | | p4raw-id: //depot/perlio@12544
* Fix typos in new locking on MemSharedNick Ing-Simmons2001-10-201-2/+4
| | | | | | | Make buffers in PerlIOBuf_* in per-thread heap (they are cloned after all...) - seems to make segfaults more deterministic - suspect they are attempt to free() after Interp and Host have gone. p4raw-id: //depot/perlio@12541
* Remove the MemShared re-#define (again)Nick Ing-Simmons2001-10-201-5/+0
| | | p4raw-id: //depot/perlio@12540
* Extract doio.c's open(2) mode to string conversion as PerlIO_intmod2str()Nick Ing-Simmons2001-10-201-1/+53
| | | | | Use for non-PERLIO fdupopen(). p4raw-id: //depot/perlio@12532
* Fix for ithreads/stdio buildNick Ing-Simmons2001-10-201-0/+18
| | | p4raw-id: //depot/perlio@12529
* Implement PerlIOStdio_dup (explains core dumps - dupNick Ing-Simmons2001-10-161-2/+22
| | | | | was not setting up a FILE * to be fclosed()). p4raw-id: //depot/perlio@12461
* When USE_ITHREADS avoid SV * in PerlIO_debug, at risk of bufferNick Ing-Simmons2001-10-161-0/+14
| | | | | overflow. p4raw-id: //depot/perlio@12460
* Builds under ithreads (but fails all threads tests)Nick Ing-Simmons2001-10-161-4/+7
| | | p4raw-id: //depot/perlio@12456
* Skeleton of "PerlIO_dup" coded.Nick Ing-Simmons2001-10-161-25/+42
| | | | | Still-passes all tests non-threaded (well it would wouldn't it!) p4raw-id: //depot/perlio@12451
* Beginings of PerlIO_dup support (unstable)Nick Ing-Simmons2001-10-151-113/+182
| | | p4raw-id: //depot/perlio@12447
* Re: binmode(STDOUT, ":unix") busted when STDOUT is piped.chromatic2001-09-261-1/+2
| | | | | Message-ID: <20010926060233.7554.qmail@onion.perl.org> p4raw-id: //depot/perl@12236
* Reindent the PerlIO files (suggested by NI-S), usedJarkko Hietaniemi2001-09-171-2841/+2781
| | | | | | | | | indent -kr -nce -psl -sc -TSV -TAV -THV -TGV -TIV -TUV -TNV -TMAGIC -TFILE -TPerlIO -TPerlIO_list_t -TPerlIO_funcs -TPerlIO_pair_t (GNU indent). Note that wholesale re-indenting might be nice, but that would break nice formatting/alignment of assignments, equality testing, and complex boolean expressions with lots of &s and |s. p4raw-id: //depot/perl@12052
* Revert #11973, the dTHX seems to be needed in thereJarkko Hietaniemi2001-09-101-0/+1
| | | | | for threaded builds. p4raw-id: //depot/perl@11978
* Remove unused dTHX. Silenced another warning.Artur Bergman2001-09-101-1/+0
| | | p4raw-id: //depot/perl@11973
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-1/+1
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* (was Re: PerlIO regerssion tests?)Nicholas Clark2001-08-251-1/+4
| | | | | Message-Id: <20010822232906.Z82818@plum.flirble.org> p4raw-id: //depot/perl@11747
* Integrate the PerlCE (WinCE Perl) port;Jarkko Hietaniemi2001-08-021-1/+1
| | | | | kindly supplied by Rainer Keuchel <rkeuc@allgeier.com>. p4raw-id: //depot/perl@11549
* Retract #11530 (the dTHX is needed under threads)Jarkko Hietaniemi2001-08-011-0/+1
| | | p4raw-id: //depot/perl@11531
* (Retracted by #11531)Jarkko Hietaniemi2001-08-011-1/+0
| | | p4raw-id: //depot/perl@11530
* 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