diff options
| author | René Scharfe <l.s.r@web.de> | 2025-12-06 14:27:47 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-12-07 07:28:12 +0900 |
| commit | 5ecd3590a3052820eeb3f1d6764584c537b68938 (patch) | |
| tree | c7dde0d40f36956b3c643d95dc28f362300ed490 /wrapper.c | |
| parent | e1ecf0dd6897eae1594b7e9345605b8f88485b95 (diff) | |
| download | git-5ecd3590a3052820eeb3f1d6764584c537b68938.tar.gz | |
compat: use git_mkdtemp()
A file might appear at the path returned by mktemp(3) before we call
mkdir(2). Use the more robust git_mkdtemp() instead, which retries a
number of times and doesn't need to call lstat(2).
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wrapper.c')
0 files changed, 0 insertions, 0 deletions
