Commit e99c19aa by Liu Hao Committed by Jonathan Yong

pretty-print.c (mingw_ansi_fputs): Do not call _close() on the handle returned…

pretty-print.c (mingw_ansi_fputs): Do not call _close() on the handle returned by _get_osf_handle().

* gcc/pretty-print.c (mingw_ansi_fputs): Do not call _close() on the handle
returned by _get_osf_handle().

From-SVN: r263530
parent 8e2f414c
2018-08-13 Liu Hao <lh_mouse@126.com>
* pretty-print.c (mingw_ansi_fputs): Do not call _close() on the
handle returned by _get_osf_handle().
2018-08-13 Will Schmidt <will_schmidt@vnet.ibm.com>
* gcc/config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support
......
......@@ -684,7 +684,6 @@ mingw_ansi_fputs (const char *str, FILE *fp)
/* If it is not a console, write everything as-is. */
write_all (h, read, strlen (read));
_close ((intptr_t) h);
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment