fix infinite loop while closing file descriptor when too many available

master
Boris Faure 8 years ago
parent 31233f31d8
commit 4b35c31087
  1. 4
      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

Loading…
Cancel
Save