|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-27 09:13 UTC] jani@php.net
[2008-07-27 15:26 UTC] Fedora at FamilleCollet dot com
[2008-07-27 15:30 UTC] jani@php.net
[2008-07-27 15:59 UTC] Fedora at FamilleCollet dot com
[2008-07-29 21:03 UTC] jani@php.net
[2008-08-06 14:43 UTC] derick@php.net
[2008-08-06 17:05 UTC] Fedora at FamilleCollet dot com
[2008-08-06 17:51 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 00:00:02 2025 UTC |
Description: ------------ Fileinfo extention is now enabled by default but doesn't compile because it use "strndup" with is provided both by the system and the source (softmagic.c) Source code of softmagic.c contain a test arround is local defined fonction : #ifndef HAVE_STRNDUP char * strndup(const char *, size_t); ... #endif But nothing set this macro. I don't find anything in the .m4 files Perhaps it should better use the zend_strndup ? Reproduce code: --------------- make Expected result: ---------------- Build succed Actual result: -------------- /home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:305: error: expected identifier or '(' before '__extension__' /home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:308: error: expected identifier or '(' before '__extension__' make: *** [ext/fileinfo/libmagic/softmagic.lo] Error 1