diff options
author | Boris Faure <billiob@gmail.com> | 2014-07-29 20:32:47 +0200 |
---|---|---|
committer | Boris Faure <billiob@gmail.com> | 2014-07-29 20:32:47 +0200 |
commit | 4b35c31087048af38083a5a0273ab5a72064626b (patch) | |
tree | 7ff4e1b471cc69e88cb79d4dee04b49e3f9c7751 | |
parent | 31233f31d83a80756c60aee7e10bcfa04cce12bd (diff) | |
download | eterm-4b35c31087048af38083a5a0273ab5a72064626b.tar.gz |
fix infinite loop while closing file descriptor when too many available
-rw-r--r-- | src/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c index 462c3f2..cd3f27e 100644 --- a/src/command.c +++ b/src/command.c @@ -1561,8 +1561,8 @@ get_tty(void) * child processes remain alive upon deletion of the window. */ { - unsigned short i; - unsigned long max_fds; + long i; + long max_fds; /* get number of available file descriptors */ #ifdef _POSIX_VERSION |