From: Marco Baringer <empb@be...> - 2002-08-23 14:41:04
there is a logic bug in the function POSIX:DUPLICATE-HANDLE, dup2 was
being called when 1 arg was given and dup was being called when two
args were passed.
Other than fixing line 11100 (switching the true/false branches) this
patch introduces the new_fd_suppliedp boolean, imho the function is
easier to read with this variable as opposed to testing posfixnump(new_fd)
2002-08-23 Marco Baringer <empb@...>
* pathname.d (duplicate_handle): fixed bug whereby dup was
being called when dup2 should have been and vice-versa.
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.