diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2019-10-28 11:56:19 +0000 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2019-10-28 11:56:19 +0000 |
commit | 8c25d92e11b57aad056d34af3c2269aad586f659 (patch) | |
tree | da03727ef7d16d338a848c06833fe8f979d5d04f /Src/loop.c | |
parent | 5be28dac5d07d779be265a69943225fd9c87068a (diff) | |
download | zsh-8c25d92e11b57aad056d34af3c2269aad586f659.tar.gz zsh-8c25d92e11b57aad056d34af3c2269aad586f659.tar.xz zsh-8c25d92e11b57aad056d34af3c2269aad586f659.zip |
44864: Avoid inifinite loop in tty init.
If we can't grab the terminal in interactive mode, give up after 100 goes. This is a completely arbitrary choice; we simply don't know what in the system could change the result of looping further.
Diffstat (limited to 'Src/loop.c')
0 files changed, 0 insertions, 0 deletions