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/pretty-print.c | |
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/pretty-print.c')
-rw-r--r-- | gcc/pretty-print.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |