diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-27 22:30:11 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-27 22:30:11 -0700 |
commit | 584142817ecc76dcec211dcc72bc8ed2654ca6d9 (patch) | |
tree | 98050e1cfba941aca2feb4bbad9553cede34a3b1 | |
parent | 27804756d48ea146052c6f58a788c9f06825588e (diff) | |
download | txr-584142817ecc76dcec211dcc72bc8ed2654ca6d9.tar.gz txr-584142817ecc76dcec211dcc72bc8ed2654ca6d9.tar.bz2 txr-584142817ecc76dcec211dcc72bc8ed2654ca6d9.zip |
streams: remove workaround for older Cygwin bug.
* stream.c (se_putc): Remove a workaround for a Cygwin bug that was
fixed in 2016 in 2.5.0. Here is the mailing list thread:
https://sourceware.org/pipermail/cygwin/2016-March/226554.html
-rw-r--r-- | stream.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -633,14 +633,7 @@ static int se_putc(int ch, FILE *f) { int ret; sig_save_enable; -#ifdef __CYGWIN__ - { - char out[2] = { ch, 0 }; - ret = fputs(out, f) == EOF ? EOF : ch; - } -#else ret = putc(ch, f); -#endif sig_restore_enable; return ret; } |