Date:        Tue, 10 Jun 2025 18:29:00 +0300
    From:        =?UTF-8?B?T8SfdXo=?= <oguzismailuy...@gmail.com>
    Message-ID:  
<CAH7i3LqED_xeKsRhEhtRQqgSrKZojAR52c2v+=zH_D=qrd4...@mail.gmail.com>

The original response was fine.

  | This came up a few times and the answer is always along the lines of "it
  | works fine, ignore the warning".

And beyond that, it isn't bash that has changed in 5.3, it has always
used mktemp() from what I can tell, the difference is the system (linker
probably) is now warning about it.

So really, nothing has changed from any previous version of bash, if
you had no issues in this area before, then there's no reason to believe
you will have now.

kre

ps: in general, usually, mktemp() isn't the best interface to use, there
are race conditions, but whether that matters depends upon just what it
is being used for, I have seen code which uses the newer mkstemp() in such
a way that the races it should avoid reappear, it might as well be using
mktemp() except that linkers tend to warn about that and annoy people.



Reply via email to