summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2008-03-02 15:35:05 +0000
committerIlia Alshanetsky <iliaa@php.net>2008-03-02 15:35:05 +0000
commita9146c60cb29b052332c98351a1c062dd9b0f4c3 (patch)
tree78cd72510afe9048a8c852177e55ad3538051e42
parent375b4c036a610eb316141cb32d3abf929fdbe828 (diff)
downloadphp-git-a9146c60cb29b052332c98351a1c062dd9b0f4c3.tar.gz
Fixed bug #44306 (Better detection of MIPS processors on Windows)
-rw-r--r--ext/standard/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 1b35a4ba63..d3356e7b64 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -277,7 +277,7 @@ PHPAPI char *php_get_uname(char mode)
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 :