aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.c
diff options
context:
space:
mode:
authorDmitriy Anisimkov <anisimko@adacore.com>2021-12-21 12:01:32 +0600
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-09 09:27:28 +0000
commit9a6f7575c153e7036152002bb7b58166762592f1 (patch)
tree7797165452f29f0f3699b07c948a2dcff27a9367 /gcc/ada/adaint.c
parent1e2334302d6ad5dd8526c21b8062dc16a688f3e8 (diff)
downloadgcc-9a6f7575c153e7036152002bb7b58166762592f1.zip
gcc-9a6f7575c153e7036152002bb7b58166762592f1.tar.gz
gcc-9a6f7575c153e7036152002bb7b58166762592f1.tar.bz2
[Ada] Stabilize exit code on close process
Call Kill before close input handler in Close routine. Otherwise close input handler can terminate process before Kill and exit code became unpredictable. gcc/ada/ * libgnat/g-expect.adb (Close): Call Kill before Close_Input.
Diffstat (limited to 'gcc/ada/adaint.c')
0 files changed, 0 insertions, 0 deletions