diff options
author | Vadim Godunko <godunko@adacore.com> | 2019-09-17 08:01:42 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-09-17 08:01:42 +0000 |
commit | 19716ceb1676e1a947527b3ae1d59dce646dd76c (patch) | |
tree | 74d2ffa557ea394abd18088874c1a9183c3c4900 /gcc/ada/terminals.c | |
parent | b9bfbf45419a641c0b92b1954b94b73cb3dfb935 (diff) | |
download | gcc-19716ceb1676e1a947527b3ae1d59dce646dd76c.zip gcc-19716ceb1676e1a947527b3ae1d59dce646dd76c.tar.gz gcc-19716ceb1676e1a947527b3ae1d59dce646dd76c.tar.bz2 |
[Ada] GNAT.Expect (Expect_Internal): Try to call 'poll' few times
'poll' returns -1 in case of any error (including interruption by a
signal), so call need to be repeated few times to avoid false failures.
2019-09-17 Vadim Godunko <godunko@adacore.com>
gcc/ada/
* libgnat/g-expect.adb (Expect_Internal): Try to call 'poll' few
times.
From-SVN: r275782
Diffstat (limited to 'gcc/ada/terminals.c')
0 files changed, 0 insertions, 0 deletions