Display what directory a temporary output file is being written to. This helps enable debugging inadequate space errors.
Some checks failed
check_build / build (push) Has been cancelled

This commit is contained in:
ckolivas 2026-03-01 14:23:48 +11:00
parent 93bb1190f8
commit 2de3cd3dbc

View file

@ -340,6 +340,7 @@ int open_tmpoutfile(rzip_control *control)
if (unlikely(!control->outfile))
fatal_return(("Failed to allocate outfile name\n"), -1);
strcpy(control->outfile, control->tmpdir);
print_maxverbose("Writing temporary file to %s\n", control->tmpdir);
strcat(control->outfile, "lrzipout.XXXXXX");
}