diff options
author | Daniel Shahaf <danielsh@apache.org> | 2019-12-17 07:44:26 +0000 |
---|---|---|
committer | Daniel Shahaf <danielsh@apache.org> | 2019-12-18 06:01:47 +0000 |
commit | 3c4b3c87983a989a8404c03639cef1ce5bcd6ef8 (patch) | |
tree | 91a4c0e20e987ed770a91aa23f32c5dd657158c7 /Config | |
parent | 48ebe82b4839fb7a21f021d95e5b76201bad1cb8 (diff) | |
download | zsh-3c4b3c87983a989a8404c03639cef1ce5bcd6ef8.tar.gz zsh-3c4b3c87983a989a8404c03639cef1ce5bcd6ef8.tar.xz zsh-3c4b3c87983a989a8404c03639cef1ce5bcd6ef8.zip |
45064: Fix the mktemp() warning, in debug builds only.
On Linux, linking to mktemp() generates the following warning: . utils.o: In function `gettempname': ./Src/utils.c:2229: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' The warning cannot be disabled. Work around that by using mkstemp() instead, and massage its output so it behaves like mktemp(). See the new comment for further details.
Diffstat (limited to 'Config')
0 files changed, 0 insertions, 0 deletions