[libdvdcss-devel] [PATCH RFC] libdvdcss: fix cache subdir creation

Jean-Baptiste Kempf jb at videolan.org
Wed Apr 29 15:24:52 CEST 2015


Le 17/02/2015 13:46, Manuel Lauss a écrit :
> It looks like sprintf() first clears the target buffer (psz_cachefile)
> and then appends the strings
> in order they're listed, leading to the above inability to create a
> cache subdir at the root of the fs.
>
> The hackish patch below fixes that.

This is ugly at best. You should store the result in a new variable and 
then reassign it, instead of what this patch is doing.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdcss-devel mailing list