On 11/27/2010 01:28 AM, Ralf Wildenhues wrote:
> Is it possible to devise an easy test case in
> shell?

It depends on one's definition of "easy".  One complication
is that some shells close fd 5 automatically; for these
shells there was no bug and the fix is a no-op.  Another
complication is that there's no portable way in the shell
to detect whether fd 5 is open.  Modulo portability problems
like this, it should be possible to test for regression in
the future, at least on Linux-like hosts.

Reply via email to