diff options
author | Nicholas Clark <nick@ccl4.org> | 2000-11-12 21:14:11 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-13 04:17:34 +0000 |
commit | 12a63d119c7e6cac4caa17e05e943423ee309496 (patch) | |
tree | 4156dc37da2ea30db8a10f4bd0af683023a3ccff /perlio.c | |
parent | a1ca4561f20dbf547f57d39a690790cbe33210da (diff) | |
download | perl-12a63d119c7e6cac4caa17e05e943423ee309496.tar.gz |
[ID 20001112.008] perlio.c's PerlIO_getpos ingores error return
Message-Id: <E13v4S3-0000iY-00@Bagpuss.unfortu.net>
Note: only one breakage of the two reported is fixed by this patch.
p4raw-id: //depot/perl@7666
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2314,7 +2314,7 @@ int PerlIO_getpos(PerlIO *f, Fpos_t *pos) { *pos = PerlIO_tell(f); - return 0; + return *pos != -1; } #else #ifndef PERLIO_IS_STDIO |