diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:34:07 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:34:07 -0500 |
commit | 626d0694587f5f686f6d4f312889f02fd510d22b (patch) | |
tree | 49872f863d82b3563e3f6476e7d21af8e093e52b /subst.c | |
parent | c92a890b214b96f95b459693473599c025fe750c (diff) | |
download | bash-626d0694587f5f686f6d4f312889f02fd510d22b.tar.gz |
commit bash-20081218 snapshot
Diffstat (limited to 'subst.c')
-rw-r--r-- | subst.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4346,7 +4346,7 @@ add_fifo_list (fd) totfds = getdtablesize (); if (totfds < 0 || totfds > 256) totfds = 256; - if (fd > totfds) + if (fd >= totfds) totfds = fd + 2; dev_fd_list = (char *)xrealloc (dev_fd_list, totfds); |