diff options
author | Goro Fuji <gfuji@cpan.org> | 2008-07-07 17:04:52 +0900 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2008-11-08 05:18:16 +0000 |
commit | 2556f95e0f4f5e8e95c9766374614ab52edefe3d (patch) | |
tree | 40a448e6a8dd8a6660c7420454e769873ba482bd /pod/perliol.pod | |
parent | 5fae6dc1d23a9b59e9fc4a976e5c42f399ad3872 (diff) | |
download | perl-2556f95e0f4f5e8e95c9766374614ab52edefe3d.tar.gz |
Re: [perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio
From: "Goro Fuji" <gfuji@cpan.org>
Message-ID: <efb9c59b0807061604q476025e9n85893f131a6bf23e@mail.gmail.com>
p4raw-id: //depot/perl@34775
Diffstat (limited to 'pod/perliol.pod')
-rw-r--r-- | pod/perliol.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perliol.pod b/pod/perliol.pod index 136faa6b6e..a560d970cb 100644 --- a/pod/perliol.pod +++ b/pod/perliol.pod @@ -145,7 +145,7 @@ same as the public C<PerlIO_xxxxx> functions: IV (*Pushed)(pTHX_ PerlIO *f,const char *mode,SV *arg, PerlIO_funcs *tab); IV (*Popped)(pTHX_ PerlIO *f); PerlIO * (*Open)(pTHX_ PerlIO_funcs *tab, - AV *layers, IV n, + PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *old, @@ -486,7 +486,7 @@ C<PerlIO_fdopen> and C<PerlIO_reopen>. The full prototype is as follows: PerlIO * (*Open)(pTHX_ PerlIO_funcs *tab, - AV *layers, IV n, + PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *old, @@ -494,7 +494,7 @@ follows: Open should (perhaps indirectly) call C<PerlIO_allocate()> to allocate a slot in the table and associate it with the layers information for -the opened file, by calling C<PerlIO_push>. The I<layers> AV is an +the opened file, by calling C<PerlIO_push>. The I<layers> is an array of all the layers destined for the C<PerlIO *>, and any arguments passed to them, I<n> is the index into that array of the layer being called. The macro C<PerlIOArg> will return a (possibly |