|
From: | David Boyce |
Subject: | Re: Problem with parallel make |
Date: | Sun, 30 Jul 2006 13:05:14 -0400 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |