summary refs log tree commit diff
path: root/Src/loop.c
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2019-10-28 11:56:19 +0000
committerPeter Stephenson <p.stephenson@samsung.com>2019-10-28 11:56:19 +0000
commit8c25d92e11b57aad056d34af3c2269aad586f659 (patch)
treeda03727ef7d16d338a848c06833fe8f979d5d04f /Src/loop.c
parent5be28dac5d07d779be265a69943225fd9c87068a (diff)
downloadzsh-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