bug-bash
[Top][All Lists]
Advanced

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

Re: Building bash 5.3, rc2, warning about mktemp()


From: Chet Ramey
Subject: Re: Building bash 5.3, rc2, warning about mktemp()
Date: Wed, 11 Jun 2025 09:49:39 -0400
User-agent: Mozilla Thunderbird

On 6/10/25 6:54 PM, Robert Elz wrote:

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,

Sometimes you need to generate a name for a file system object that isn't
a regular file (or, if you have mkdtemp, a directory).

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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