[vlc-devel] [PATCH v2 7/13] core: add vlc_MakeTmpFile() helper

Lyndon Brown jnqnfe at gmail.com
Tue Oct 6 20:59:15 CEST 2020


On Tue, 2020-10-06 at 09:14 +0200, Steve Lhomme wrote:
> On 2020-10-06 7:59, Lyndon Brown wrote:
> > +    if (asprintf(path, "%s"DIR_SEP"%s", tmpdir, filetemplate) < 0)
> > {
> 
> Altenatively you can add the "XXXXXX" here and not impose it on the 
> caller at all.

That's actually a great idea. I'll do that. Much more simple :D



More information about the vlc-devel mailing list