git/compat
Neeraj K. Singh 63cc420ed7 mingw: do not call xutftowcs_path in mingw_mktemp
The `xutftowcs_path` function canonicalizes absolute paths using GetFullPathNameW.
This canonicalization may change the length of the string (e.g. getting rid of \.\),
which breaks callers that pass the template string in a strbuf and expect the
length of the string to remain the same.

In my particular case, the tmp-objdir code is passing a strbuf to mkdtemp and is
breaking since the strbuf.len is no longer synchronized with strlen(strbuf.buf).

Signed-off-by: Neeraj K. Singh <neerajsi@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-10-08 08:57:57 +02:00
..
2022-05-02 09:50:37 -07:00
2022-05-02 09:50:37 -07:00
2021-02-26 14:15:51 -08:00
2024-06-14 10:26:33 -07:00
2021-10-29 15:00:58 -07:00