diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-18 13:23:58 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-20 23:28:13 +0100 |
commit | 566a3e56615e1f4dcc3e45f10d31f46746f3d646 (patch) | |
tree | 1b7ae5ec32aa140d48062445166a09a6f697765a /perlio.c | |
parent | c91f661cc54e358485dc7396a166dc08c6867a38 (diff) | |
download | perl-566a3e56615e1f4dcc3e45f10d31f46746f3d646.tar.gz |
Remove code guarded by PERLIO_STD_SPECIAL
The symbol was only defined on Symbian, and calling macros only
defined there.
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -2739,10 +2739,6 @@ PerlIOUnix_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) if (PerlIO_lockcnt(f)) /* in use: abort ungracefully */ return -1; fd = PerlIOSelf(f, PerlIOUnix)->fd; -#ifdef PERLIO_STD_SPECIAL - if (fd == 0) - return PERLIO_STD_IN(fd, vbuf, count); -#endif if (!(PerlIOBase(f)->flags & PERLIO_F_CANREAD) || PerlIOBase(f)->flags & (PERLIO_F_EOF|PERLIO_F_ERROR)) { return 0; @@ -2776,10 +2772,6 @@ PerlIOUnix_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) if (PerlIO_lockcnt(f)) /* in use: abort ungracefully */ return -1; fd = PerlIOSelf(f, PerlIOUnix)->fd; -#ifdef PERLIO_STD_SPECIAL - if (fd == 1 || fd == 2) - return PERLIO_STD_OUT(fd, vbuf, count); -#endif while (1) { const SSize_t len = PerlLIO_write(fd, vbuf, count); if (len >= 0 || errno != EINTR) { |