cvs: php-src /ext/ming config.w32

From: Date: Tue, 03 Aug 2004 00:47:56 +0000
Subject: cvs: php-src /ext/ming config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28150@lists.php.net to get a copy of this message
wez Mon Aug 2 20:47:56 2004 EDT Modified files: /php-src/ext/ming config.w32 Log: Avoid possible exception http://cvs.php.net/diff.php/php-src/ext/ming/config.w32?r1=1.2&r2=1.3&ty=u Index: php-src/ext/ming/config.w32 diff -u php-src/ext/ming/config.w32:1.2 php-src/ext/ming/config.w32:1.3 --- php-src/ext/ming/config.w32:1.2 Thu Mar 11 13:48:26 2004 +++ php-src/ext/ming/config.w32 Mon Aug 2 20:47:56 2004 @@ -1,4 +1,4 @@ -// $Id: config.w32,v 1.2 2004/03/11 18:48:26 fmk Exp $ +// $Id: config.w32,v 1.3 2004/08/03 00:47:56 wez Exp $ // vim:ft=javascript ARG_WITH("ming", "MING support", "no"); @@ -15,7 +15,7 @@ } c = file_get_contents(ming_h + "\\ming.h"); - if (c.match(/MING_VERSION\s+(0.[a-zA-Z0-9]+)/)) { + if (typeof(c) == "string" && c.match(/MING_VERSION\s+(0.[a-zA-Z0-9]+)/)) { v = RegExp.$1; if (v > "0.2") { if (CHECK_LIB("libungif.lib", "ming", PHP_MING) &&

« previous php.cvs (#28150) next »