diff options
author | Vadim Godunko <godunko@adacore.com> | 2019-09-17 08:01:48 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-09-17 08:01:48 +0000 |
commit | 94c44a8a3000348707a456f8ebc1b1d67b688ea4 (patch) | |
tree | 6ea3745bc0beb963fc8ed9f6826320b35b2629cc /gcc/data-streamer.c | |
parent | 19716ceb1676e1a947527b3ae1d59dce646dd76c (diff) | |
download | gcc-94c44a8a3000348707a456f8ebc1b1d67b688ea4.zip gcc-94c44a8a3000348707a456f8ebc1b1d67b688ea4.tar.gz gcc-94c44a8a3000348707a456f8ebc1b1d67b688ea4.tar.bz2 |
[Ada] Close file descriptors allocated for tty only once
2019-09-17 Vadim Godunko <godunko@adacore.com>
gcc/ada/
* libgnat/g-exptty.ads (Close_Input): New subprogram.
* libgnat/g-exptty.adb (Close_Input): New subprogram.
(Close): Move close of TTY to Close_Input.
* terminals.c (__gnat_close_tty): Set file descriptors to
invalid value after close.
From-SVN: r275783
Diffstat (limited to 'gcc/data-streamer.c')
0 files changed, 0 insertions, 0 deletions