On Sun, Oct 10, 2021 at 7:52 PM Ángel <an...@16bits.net> wrote:
> Looking at the code, it doesn't even need an extra stat(), it already
> knows the file exists

Attempts to know ahead of time or check afterwards that the file
exists are subject to a race condition.

regards, Dmitry

  • Misleading... Andrea Monaco
    • Re: M... Alex fxmbsw7 Ratchev
    • Re: M... Chet Ramey
      • R... Ilkka Virta
        • ... Dennis Williamson
        • ... Chet Ramey
          • ... Alex fxmbsw7 Ratchev
            • ... Ángel
              • ... Dmitry Goncharov via Bug reports for the GNU Bourne Again SHell
                • ... Eli Schwartz
                • ... Dmitry Goncharov via Bug reports for the GNU Bourne Again SHell
                • ... Robert Elz
                • ... Chet Ramey
                • ... Robert Elz
                • ... Alex fxmbsw7 Ratchev
                • ... Ángel
                • ... Eli Schwartz
    • Re: M... Andrea Monaco
      • R... Alex fxmbsw7 Ratchev

Reply via email to