diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-02-22 10:12:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-02-22 10:12:22 +0000 |
commit | 7977ce07470558dbc26b3bc97548aa6e263f4d4c (patch) | |
tree | 9e605ef2a3e1aff5b924fd490df9375c4c4a3abb /Src/exec.c | |
parent | 349b6649c3e69e20370a8f94cb4b2906d7b5f60b (diff) | |
download | zsh-7977ce07470558dbc26b3bc97548aa6e263f4d4c.tar.gz zsh-7977ce07470558dbc26b3bc97548aa6e263f4d4c.tar.xz zsh-7977ce07470558dbc26b3bc97548aa6e263f4d4c.zip |
27721: rationalise initialisation of file descriptors
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c index 02887e1aa..7ba80d986 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1928,7 +1928,7 @@ closeallelse(struct multio *mn) int i, j; long openmax; - openmax = zopenmax(); + openmax = fdtable_size; for (i = 0; i < openmax; i++) if (mn->pipe != i) { |