At 10:40 AM 7/30/2006, Paul D. Smith wrote:
db> Here's the relevant code (seeing it again for the first time in a
db> while, I think the lseek is redundant).
No, it's not. If the target FD is open then dup2() will unceremoniously
close it before dup'ing it.
Not good.
Ah, right. I'd forgotten that behavior of dup2 and why I did the
lseek in the first place. Thanks.
-David Boyce
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make