Re: [libdvdcss-devel] [PATCH RFC] libdvdcss: fix cache subdir creation
Jean-Baptiste Kempf <[email protected]> Wed, 29 Apr 2015 15:24:52 +0200
| Newsgroups | gmane.comp.video.videolan.libdvdcss,gmane.comp.video.videolan.libdvdcss.devel |
|---|---|
| Message-ID | <[email protected]> |
Le 17/02/2015 13:46, Manuel Lauss a =E9crit : > 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 _______________________________________________ libdvdcss-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libdvdcss-devel