[vlc-devel] [PATCH v2 1/13] core: add config_GetTempPath()

Rémi Denis-Courmont remi at remlab.net
Tue Oct 6 16:45:32 CEST 2020

Le tiistaina 6. lokakuuta 2020, 8.56.34 EEST Lyndon Brown a écrit :
> From: Lyndon Brown <jnqnfe at gmail.com>
> Date: Mon, 5 Oct 2020 20:16:48 +0100
> Subject: core: add config_GetTempPath()
> to provide a common interface to the system/user temporary directory.

There's already ISO standard tmpfile() for creating temporary files, or 
vlc_memfd() if you absolutely need a POSIX file descriptor, or vlc_mkstemp() if 
you really need a file name (which is bad, as it risks leaking storage space).

I don't think we should be creating a lower-level / harder-to-use helper here.

Rémi Denis-Courmont

More information about the vlc-devel mailing list