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 | 6b3f6b976f10e675728830d2b91f773649cf2466 (patch) | |
tree | 98050e1cfba941aca2feb4bbad9553cede34a3b1 /stream.c | |
parent | 0ea8f6a106c82d761895ad501d73731da786e906 (diff) | |
download | txr-6b3f6b976f10e675728830d2b91f773649cf2466.tar.gz txr-6b3f6b976f10e675728830d2b91f773649cf2466.tar.bz2 txr-6b3f6b976f10e675728830d2b91f773649cf2466.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
Diffstat (limited to 'stream.c')
-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; } |