[vlc-devel] [PATCH] Win32: Don't use vlc_stat against a file path starting with '/'

Jean-Baptiste Kempf jb at videolan.org
Wed Dec 5 10:15:41 CET 2012


On 05 Dec, Rémi Denis-Courmont wrote :
> On Wed, 5 Dec 2012 10:09:32 +0100, Jean-Baptiste Kempf <jb at videolan.org>
> wrote:
> > On 05 Dec, Rémi Denis-Courmont wrote :
> >> On Wed,  5 Dec 2012 09:56:25 +0100, Jean-Baptiste Kempf
> <jb at videolan.org>
> >> wrote:
> >> > Close #7292
> >> 
> >> This breaks UNC paths when using slashes.
> > 
> > So I should check that the second char is not a slash? Or is this
> > approach completly useless?'
> 
> It's useless. stat() will say there is a file and then all *other* file
> functions will fail in mysterious ways.

Any idea on how to solve?

Best regards,

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



More information about the vlc-devel mailing list