|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-08-02 10:48 UTC] mj@php.net
[2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 07:00:01 2025 UTC |
Description: ------------ The configure macro to find the magic file does not stop searching when it finds a match. There are two loops that need to be broken and the patch below fixes this. Reproduce code: --------------- --- config.m4.orig 2006-11-29 16:33:06.000000000 -0400 +++ config.m4 2006-11-29 16:22:05.000000000 -0400 @@ -54,7 +54,7 @@ for j in $MAGIC_MIME_FILENAMES; do if test -f "$i/$j"; then PHP_DEFAULT_MAGIC_FILE="$i/$j" - break + break 2 fi done done