Jilles Tjoelker 09683f46b9 sh: Check if dup2 for redirection from/to a file succeeds.
A failure (e.g. caused by ulimit -n being set very low) is a redirection
error.

Example:
  ulimit -n 9; exec 9<.
2010-12-31 18:20:17 +00:00
..
2010-12-21 22:47:34 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-12-21 22:47:34 +00:00
2010-03-06 16:57:53 +00:00
2009-12-24 18:41:14 +00:00
2010-12-21 22:47:34 +00:00
2010-12-21 22:47:34 +00:00
2010-06-02 19:16:58 +00:00
2009-12-24 18:41:14 +00:00
2006-04-16 11:54:01 +00:00
2010-06-02 19:16:58 +00:00