Import of pkgsrc-2015Q3

This commit is contained in:
2016-01-21 23:42:40 +01:00
committed by sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228313 additions and 80017 deletions
+5 -5
View File
@@ -1,13 +1,13 @@
$NetBSD: patch-js_src_jit_MIR.cpp,v 1.3 2015/05/12 22:48:54 ryoon Exp $
$NetBSD: patch-js_src_jit_MIR.cpp,v 1.4 2015/09/23 06:44:42 ryoon Exp $
--- js/src/jit/MIR.cpp.orig 2015-05-04 00:43:27.000000000 +0000
--- js/src/jit/MIR.cpp.orig 2015-08-24 21:53:12.000000000 +0000
+++ js/src/jit/MIR.cpp
@@ -71,7 +71,7 @@ MDefinition::PrintOpcodeName(FILE* fp, M
@@ -72,7 +72,7 @@ MDefinition::PrintOpcodeName(GenericPrin
const char* name = names[op];
size_t len = strlen(name);
for (size_t i = 0; i < len; i++)
- fprintf(fp, "%c", tolower(name[i]));
+ fprintf(fp, "%c", tolower(((unsigned char)name[i])));
- out.printf("%c", tolower(name[i]));
+ out.printf("%c", tolower((unsigned char)name[i]));
}
const Value&