summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-07-16 17:32:16 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2021-11-02 18:01:42 +0000
commit4457f3fc414965b3f281e91fc2e24332a7149345 (patch)
tree35f0c3c918d5d42cc3c65e6652eb389a3970bbd5 /perlio.c
parentb53d6a00df0da96446042ea510b013d59cf81109 (diff)
downloadperl-4457f3fc414965b3f281e91fc2e24332a7149345.tar.gz
Remove DOS/DJGPP support
DJGPP is a port of the GNU toolchain to 32-bit x86 systems running DOS. The last known attempt to build Perl on it was on 5.20, which only got as far as building miniperl.
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/perlio.c b/perlio.c
index 2933cb64f6..b972b2f9cd 100644
--- a/perlio.c
+++ b/perlio.c
@@ -244,11 +244,7 @@ PerlIO_fdupopen(pTHX_ PerlIO *f, CLONE_PARAMS *param, int flags)
const int fd = PerlLIO_dup_cloexec(PerlIO_fileno(f));
if (fd >= 0) {
char mode[8];
-# ifdef DJGPP
- const int omode = djgpp_get_stream_mode(f);
-# else
const int omode = fcntl(fd, F_GETFL);
-# endif
PerlIO_intmode2str(omode,mode,NULL);
/* the r+ is a hack */
return PerlIO_fdopen(fd, mode);