diff options
author | Liu Hao <lh_mouse@126.com> | 2018-08-14 10:02:09 +0000 |
---|---|---|
committer | Jonathan Yong <jyong@gcc.gnu.org> | 2018-08-14 10:02:09 +0000 |
commit | e99c19aae1cf5b9bb0350eb578be85429f42f607 (patch) | |
tree | 9fb8f2920d524b3ea10d1c9e18514f7a41b49cf1 /gcc | |
parent | 8e2f414cf4eb4bda2889ccf4f1bfc620653348e7 (diff) | |
download | gcc-e99c19aae1cf5b9bb0350eb578be85429f42f607.zip gcc-e99c19aae1cf5b9bb0350eb578be85429f42f607.tar.gz gcc-e99c19aae1cf5b9bb0350eb578be85429f42f607.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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 f0a30b9..ec466de 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 736af8f..31eb889 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; } |