We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6696ea7 commit a6f219bCopy full SHA for a6f219b
src/nvim/fileio.c
@@ -3276,7 +3276,11 @@ static void vim_mktempdir(void)
3276
expand_env((char *)temp_dirs[i], tmp, TEMP_FILE_PATH_MAXLEN - 64);
3277
if (!os_isdir(tmp)) {
3278
if (strequal("$TMPDIR", temp_dirs[i])) {
3279
- WLOG("$TMPDIR tempdir not a directory (or does not exist): %s", tmp);
+ if (!os_getenv("TMPDIR")) {
3280
+ WLOG("$TMPDIR is unset");
3281
+ } else {
3282
+ WLOG("$TMPDIR tempdir not a directory (or does not exist): \"%s\"", tmp);
3283
+ }
3284
}
3285
continue;
3286
0 commit comments