bug-make
[Top][All Lists]
Advanced

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

[bug #63287] Only use open with O_TMPFILE when supported.


From: Paul D. Smith
Subject: [bug #63287] Only use open with O_TMPFILE when supported.
Date: Sat, 29 Oct 2022 11:09:11 -0400 (EDT)

Follow-up Comment #3, bug #63287 (project make):

An autoconf macro isn't going to work for this.  Autoconf macros can only be
used for tests that are definitive at build time, and this detection is based
on which filesystem you happen to be using and that is very much a RUNTIME
decision; someone could be building GNU make to install into their GNU/Linux
distribution and on the build system TMPDIR has O_TMPFILE working fine for
TMPDIR but that doesn't mean anything for the filesystems that the various
users will be using with TMPDIR at runtime.

I have installed a change where after O_TMPFILE fails once, we don't retry it
again for that instance of make.  So we should see this debug message only
once per instance of make.

Thanks for noticing this!


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63287>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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