Hi Xinchen

2011/8/8 Laruence <larue...@php.net>:
> Hi all:
>
>    trunk/ext/fileinfo/libmagic/softmagic.c seems to be a third-party
> source, I was wondering can I directly modify it?
>
>    it can't be compiled with -Wall -Werror, with a lots of warnings..

Yes you can alter the original source thats distributed in php-src,
just remember to update the .patch file in the ext/fileinfo folder so
that when the lib is updated, so is the fix and report upstream if
needed.

-- 
regards,

Kalle Sommer Nielsen
ka...@php.net

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to