Hi,

On Ubuntu 20.04, I try to compile the git master version of bash with
the followin steps:

$ sudo apt-get build-dep bash
$ git clone https://git.savannah.gnu.org/git/bash.git bash.git
$ cd bash.git
$ ./configure
$ make -j44
[...]
/usr/bin/ld: ./lib/sh/libsh.a(tmpfile.o): in function `sh_mktmpname':
/home/werner/Public/repo/git.savannah.gnu.org/git/bash.git/lib/sh/tmpfile.c:152:
warning: the use of `mktemp' is dangerous, better use `mkstemp' or
`mkdtemp'
[...]


Any hints for fix this warning?

Regards
-- 
Hongyi Zhao <hongyi.z...@gmail.com>

Reply via email to