aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-11-10 18:45:01 +0200
committerLasse Collin <lasse.collin@tukaani.org>2014-11-10 18:45:01 +0200
commitf8c13e5e3609581d5dd9f8777985ca07f2390ad7 (patch)
tree0930b4b4f1aa71939aa82e7ac3fb49b4c27ccb29 /tests/tests.h
parentliblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage(). (diff)
downloadxz-f8c13e5e3609581d5dd9f8777985ca07f2390ad7.tar.xz
xzdiff: Create a temporary directory to hold a temporary file.
This avoids the possibility of "File name too long" when creating a temp file when the input file name is very long. This also means that other users on the system can no longer see the input file names in /tmp (or whatever $TMPDIR is) since the temporary directory will have a generic name. This usually doesn't matter since on many systems one can see the arguments given to all processes anyway. The number X chars to mktemp where increased from 6 to 10. Note that with some shells temp files or dirs won't be used at all.
Diffstat (limited to 'tests/tests.h')
0 files changed, 0 insertions, 0 deletions