Import of pkgsrc-2015Q3
This commit is contained in:
15
www/firefox38/patches/patch-js_src_gc_Statistics.cpp
Normal file
15
www/firefox38/patches/patch-js_src_gc_Statistics.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
$NetBSD: patch-js_src_gc_Statistics.cpp,v 1.1 2015/07/09 14:13:52 ryoon Exp $
|
||||
|
||||
--- js/src/gc/Statistics.cpp.orig 2015-02-05 11:52:40.000000000 +0000
|
||||
+++ js/src/gc/Statistics.cpp 2015-02-05 11:52:28.000000000 +0000
|
||||
@@ -221,8 +221,8 @@
|
||||
while (*c) {
|
||||
if (*c == ' ' || *c == '\t')
|
||||
p('_');
|
||||
- else if (isupper(*c))
|
||||
- p(tolower(*c));
|
||||
+ else if (isupper((unsigned char)*c))
|
||||
+ p(tolower((unsigned char)*c));
|
||||
else if (*c == '+')
|
||||
p("added_");
|
||||
else if (*c == '-')
|
||||
Reference in New Issue
Block a user