use new MKSH_WITH_TEXTMODE for several of the #ifdefs

This commit is contained in:
mirabilos
2017-04-02 16:41:01 +02:00
parent 7fb9d283c5
commit a6619d1ef2
5 changed files with 10 additions and 10 deletions

2
exec.c
View File

@ -889,7 +889,7 @@ scriptexec(struct op *tp, const char **ap)
unsigned short m;
ssize_t n;
#ifdef __OS2__
#if defined(__OS2__) && defined(MKSH_WITH_TEXTMODE)
setmode(fd, O_TEXT);
#endif
/* read first couple of octets from file */