summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorMark-Jason Dominus <mjd@plover.com>1999-08-11 11:56:09 -0400
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-11 22:17:55 +0000
commit54195c32bb1734df4d96f8aca2d65e155aa0b341 (patch)
tree4370ca8c88fcdb3c26a278c3beca2afb7fe545bf /pod
parenta5da935345a673c66c903bfd517404de47f816e1 (diff)
downloadperl-54195c32bb1734df4d96f8aca2d65e155aa0b341.tar.gz
Flush buffer before duplicating file descriptor.
To: Graham Barr <gbarr@pobox.com> cc: Vicki Brown <vlb@cfcl.com>, perl5-porters@perl.org, mjd@plover.com Subject: Re: [ID 19990811.002] can't dup DATA? (PATCH (5.005_57)) Date: Wed, 11 Aug 1999 15:56:09 -0400 Message-ID: <19990811195610.5933.qmail@plover.com> From: Mark-Jason Dominus <mjd@plover.com> To: perl5-porters@perl.org Subject: Re: [ID 19990811.002] can't dup DATA? (PATCH (5.005_57)) Date: Wed, 11 Aug 1999 16:05:46 -0400 Message-ID: <19990811200546.6165.qmail@plover.com> p4raw-id: //depot/cfgperl@3960
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 029d3154b6..28a786ebe1 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -301,6 +301,14 @@ are compile time errors. Attempting to read from filehandles that
were opened only for writing will now produce warnings (just as
writing to read-only filehandles does).
+=head2 Buffered data discarded from input filehandle when dup'ed.
+
+C<open(NEW, "E<lt>&OLD")> now discards any data that was previously
+read and buffered in C<OLD>. The next read operation on C<NEW> will
+return the same data as the corresponding operation on C<OLD>.
+Formerly, it would have returned the data from the start of the
+following disk block instead.
+
=head1 Supported Platforms
=over 4