diff options
author | Liu Hao <lh_mouse@126.com> | 2018-08-14 10:02:09 +0000 |
---|---|---|
committer | Jonathan Yong <10walls@gmail.com> | 2018-08-14 10:02:09 +0000 |
commit | d9440a666c8c91040bdf987ab95e3c0c22da4037 (patch) | |
tree | 9fb8f2920d524b3ea10d1c9e18514f7a41b49cf1 | |
parent | 75cd98af75ac8e3d487176afb76080cc9f4d3c73 (diff) |
* gcc/pretty-print.c (mingw_ansi_fputs): Do not call _close() on the handle
returned by _get_osf_handle().
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@263530 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/pretty-print.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f0a30b9c637..ec466dece37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c index 736af8f7735..31eb8893f2a 100644 --- a/gcc/pretty-print.c +++ b/gcc/pretty-print.c @@ -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; } |