[vlc-devel] [PATCH] Win32: Don't use vlc_stat against a file path starting with '/'
Rémi Denis-Courmont
remi at remlab.net
Wed Dec 5 10:13:09 CET 2012
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.
--
Rémi Denis-Courmont
Sent from my collocated server
More information about the vlc-devel
mailing list