summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-05-22 21:13:10 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-05-22 21:13:10 +0000
commitbad9695d2c27e100ff7ed9ad887696aa6f3d6b62 (patch)
tree4393100a1fe671fd55ebad0f6b18c22abe8e6447 /perlio.c
parent936797854c70e5d5b5cc5ea02e2c3cbeffef5869 (diff)
downloadperl-bad9695d2c27e100ff7ed9ad887696aa6f3d6b62.tar.gz
#ifdef VMS code was not ported right from sv.c - s/fp/stdio/
p4raw-id: //depot/perlio@16740
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perlio.c b/perlio.c
index 8cfd02f1d4..23864b56e9 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2847,8 +2847,8 @@ PerlIOStdio_fill(pTHX_ PerlIO *f)
* buffer, so we stuff it in the buffer ourselves.
* Should never get called as should hit code above
*/
- *(--((*fp)->_ptr)) = (unsigned char) c;
- (*fp)->_cnt++;
+ *(--((*stdio)->_ptr)) = (unsigned char) c;
+ (*stdio)->_cnt++;
#else
/* If buffer snoop scheme above fails fall back to
using ungetc (but why did "fill" get called?).