[MPlayer-dev-eng] [PATCH] Prevent wrong prefixing of base path

Dave Yeo dave.r.yeo at gmail.com
Thu Oct 20 05:09:10 CEST 2011


On 10/19/11 11:19 am, Ingo Brückl wrote:
> Reimar Döffinger wrote on Wed, 19 Oct 2011 19:35:25 +0200:
>
>> On 19 Oct 2011, at 17:16, Ingo Brückl<ib at wupperonline.de>  wrote:
>>> #1:
>>> The bug I mentioned in my other posting. X:\ should only be considered an
>>> absolute path in a Windows port.
>>>
>>> #2:
>>> For Windows ports, a file name format like C:/path/to/file (the "mixed"
>>> Windows/Unix style) is allowed and not unusal. It must be treated an
>>> absolute path and must not be prefixed with the base path.
>
>> Shouldn't that rather use HAVE_DOS_PATHS? E.g. OS/2 uses basically the
>> same rules.
>
> Yes, of course. Wasn't aware of HAVE_DOS_PATHS.
>
> Is C:/path/to/file allowed in OS/2, too? If so, #2 would be ok. If not, #2a.

C:/path/to/file is usually fine on OS/2 so #2 should be OK
Dave


More information about the MPlayer-dev-eng mailing list