Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-mozilla_js_src_gc_Statistics.cpp,v 1.1 2016/04/17 18:22:21 ryoon Exp $
--- mozilla/js/src/gc/Statistics.cpp.orig 2015-06-08 17:49:22.000000000 +0000
+++ mozilla/js/src/gc/Statistics.cpp
@@ -222,8 +222,8 @@ class gcstats::StatisticsSerializer
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 == '-')