[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bmake inefficiencies
Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
> [External Email. Be cautious of content]
> Date: Fri, 5 Feb 2021 10:19:10 -0800
> From: "Simon J. Gerraty" <sjg%juniper.net@localhost>
> Message-ID: <38484.1612549150%kaos.jnpr.net@localhost>
> | The open in mkstemp can fail due to EINTR.
> | That's the only reason I see for blocking signals.
> Surely the reason would have been to avoid leaving stray temp files
> lying around if a signal were to arrive between creating the temp
> file and unlinking it (in the !debug case when it is unlinked) ?
That is certainly a valid reason to have done so.
Main Index |
Thread Index |