[vlc-devel] [PATCH] filesystem: fix vlc_memfd when "/tmp" is missing

Devin Heitmueller dheitmueller at kernellabs.com
Mon Oct 5 16:30:34 CEST 2015


On Mon, Oct 5, 2015 at 10:23 AM, Thomas Guillem <thomas at gllm.fr> wrote:
> Try using the TMPDIR environment variable if "/tmp" is missing.

Wouldn't it make more sense to make TMPDIR the *primary* thing to look
at, and fall back to /tmp if TMPDIR isn't defined (rather than the
reverse)?

If somebody has set TMPDIR to something other than /tmp, than I would
assume they explicitly *want* applications to use that value instead
of /tmp.  Why would we want VLC to behave differently than other apps?

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com


More information about the vlc-devel mailing list