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
PerlIO_getpos(PerlIO *f, Fpos_t *pos)
{
*pos = PerlIO_tell(f);
- return 0;
+ return *pos != -1;
}
#else
#ifndef PERLIO_IS_STDIO