help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with parallel make


From: Philip Guenther
Subject: Re: Problem with parallel make
Date: Sun, 30 Jul 2006 21:59:13 -0600

On 7/30/06, Paul D. Smith <address@hidden> 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.

...which is why fcntl(fd, F_DUPFD, min_fd) exists.  I'm not sure when
that fnctl() command was first standardized, but I see it in the SUSv2
spec...


Philip Guenther




reply via email to

[Prev in Thread] Current Thread [Next in Thread]