iliaa           Sun Mar  2 15:35:05 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard       info.c 
  Log:
  Fixed bug #44306 (Better detection of MIPS processors on Windows)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/info.c?r1=1.249.2.10.2.14.2.2&r2=1.249.2.10.2.14.2.3&diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.249.2.10.2.14.2.2 
php-src/ext/standard/info.c:1.249.2.10.2.14.2.3
--- php-src/ext/standard/info.c:1.249.2.10.2.14.2.2     Mon Dec 31 07:17:15 2007
+++ php-src/ext/standard/info.c Sun Mar  2 15:35:05 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: info.c,v 1.249.2.10.2.14.2.2 2007/12/31 07:17:15 sebastian Exp $ */
+/* $Id: info.c,v 1.249.2.10.2.14.2.3 2008/03/02 15:35:05 iliaa Exp $ */
 
 #include "php.h"
 #include "php_ini.h"
@@ -277,7 +277,7 @@
                                php_uname = tmp_uname;
                                break;
                        case PROCESSOR_ARCHITECTURE_MIPS :
-                               php_uname = "MIPS R4000";
+                               snprintf(tmp_uname, sizeof(tmp_uname), "MIPS 
R%d000", SysInfo.wProcessorLevel);
                                php_uname = tmp_uname;
                                break;
                        case PROCESSOR_ARCHITECTURE_ALPHA :

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

Reply via email to