bug-make
[Top][All Lists]
Advanced

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

Re: Interrupted stat() calls


From: Paul D. Smith
Subject: Re: Interrupted stat() calls
Date: Wed, 28 Nov 2001 18:40:14 -0500

%% Reid Madsen <address@hidden> writes:

  rm> With this workaround in place, GNUmake never reports
  rm> the above error for existing files.

  rm> Please consider incorporating this, or something better,
  rm> in the next release.

There are actually a large number of calls in GNU make which might get
interrupted, such as readdir, etc. and these can also cause problems.

I took a different tack than trying to safeguard all of them: instead I
only allow interruptible system calls during the particular jobserver
operations that require it: in this area I know exactly which systems
calls I'm using and can handle EINTR in a much simpler way.  Everywhere
else I disable them.

This has been in CVS for a while now; if you're interested in testing it
you can build from there.


I also hope to have a release candidate for 3.79.2 out shortly.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



reply via email to

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