On 2021-01-17 at 15:33 -0500, Chet Ramey wrote:
> On 1/15/21 4:00 PM, Ángel wrote:
> > On 2021-01-15 at 10:00 -0500, Chet Ramey wrote:
> > > On 1/14/21 11:45 PM, Jeffrey Walton wrote:
> > > > Hi Everyone,
> > > > 
> > > > I'm building Bash 5.1 from sources. This may be of interest:
> > > > 
> > > > /usr/bin/ld: ./lib/sh/libsh.a(tmpfile.o): in function
> > > > `sh_mktmpname':
> > > > /home/jwalton/Build-Scripts/bash-5.1/lib/sh/tmpfile.c:160: warning:
> > > > the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
> > > 
> > > It's a spurious warning.
> > 
> > [Explanation of when is mktemp() used and patch to remove the
> > warning]
> 
> The warning can be ignored.

Sure. However, actually removing the spurious warning would not only
make (some) build systems happier, but also produce less confused
users, so it seemed (potentially) valuable.


Best regards


Reply via email to