Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16633
| From | Hongyi Zhao <hongyi.zhao@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' |
| Date | 2020-07-28 20:19 +0800 |
| Message-ID | <mailman.199.1595938771.2739.bug-bash@gnu.org> (permalink) |
| References | <CAGP6PO+BCwmkfqEtX-a1Hi73LAU_jsCEFKpUUwwOPrZpfyLdkA@mail.gmail.com> |
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.zhao@gmail.com>
Back to gnu.bash.bug | Previous | Next | Find similar
warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' Hongyi Zhao <hongyi.zhao@gmail.com> - 2020-07-28 20:19 +0800
csiph-web