summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-08-30 22:40:46 -0300
committerBrian Fraser <fraserbn@gmail.com>2013-09-21 08:47:40 -0300
commit5617ce2287aaef967c1623b87198200c16172f40 (patch)
treee17cbec5c2794c1ace5e06e9cb5b04a32122fc96 /doio.c
parent5c42443f0f18aa5023877a82cbe784656b3a7b6c (diff)
downloadperl-5617ce2287aaef967c1623b87198200c16172f40.tar.gz
Remove the ifdefs for ULTRIX_STDIO_BOTCH
Not only has Ultrix been long out of support, this ifdef was working around a bug particular to Ultrix 1.2.
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/doio.c b/doio.c
index f2c3752b6d..5223654af0 100644
--- a/doio.c
+++ b/doio.c
@@ -1052,10 +1052,6 @@ Perl_do_tell(pTHX_ GV *gv)
PERL_ARGS_ASSERT_DO_TELL;
if (io && (fp = IoIFP(io))) {
-#ifdef ULTRIX_STDIO_BOTCH
- if (PerlIO_eof(fp))
- (void)PerlIO_seek(fp, 0L, 2); /* ultrix 1.2 workaround */
-#endif
return PerlIO_tell(fp);
}
report_evil_fh(gv);
@@ -1071,10 +1067,6 @@ Perl_do_seek(pTHX_ GV *gv, Off_t pos, int whence)
PerlIO *fp;
if (io && (fp = IoIFP(io))) {
-#ifdef ULTRIX_STDIO_BOTCH
- if (PerlIO_eof(fp))
- (void)PerlIO_seek(fp, 0L, 2); /* ultrix 1.2 workaround */
-#endif
return PerlIO_seek(fp, pos, whence) >= 0;
}
report_evil_fh(gv);