[libdvdcss-devel] [PATCH] OS/2 support

KO Myung-Hun komh at chollian.net
Sun Feb 1 14:59:28 CET 2009


Hi/2.

Diego Biurrun wrote:
>>>> @@ -322,6 +394,18 @@
>>>>      }
>>>>      else
>>>> +#elif defined( SYS_OS2 )
>>>> +    /* If device is "X:" or "X:\", we are not actually opening a file. */
>>>> +    if (psz_device[0] && psz_device[1] == ':' &&
>>>> +       (!psz_device[2] || (psz_device[2] == '\\' && !psz_device[3])))
>>>>     
>>>>         
>>> again
>>>       
>> Those were copied from the above Win32 codes. Still it is problematic, I  
>> willing to fix them.
>>     
>
> They were probably added by MPlayer patches.  Use the more common style
> with spaces.
>
>   
>>>> --- src/libdvdcss.c.org	2008-08-29 11:41:38.000000000 +0900
>>>> +++ src/libdvdcss.c	2009-02-01 21:02:18.000000000 +0900
>>>> @@ -306,7 +306,25 @@
>>>> +
>>>> +#       ifdef SYS_OS2
>>>> +            if( *psz_home == '/' || *psz_home == '\\')
>>>>         
>> Ditto.
>>     
>
> Again, I think it is better to follow the more common style.
>
>   

Ok. I fixed the all.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 1.1.14
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1 GHz with 512 MB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: os2.diff
Url: http://mailman.videolan.org/pipermail/libdvdcss-devel/attachments/20090201/83c77e49/attachment.txt 


More information about the libdvdcss-devel mailing list