Import of pkgsrc-2015Q3
This commit is contained in:
13
mail/thunderbird/patches/patch-mozilla_js_src_jskwgen.cpp
Normal file
13
mail/thunderbird/patches/patch-mozilla_js_src_jskwgen.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
$NetBSD: patch-mozilla_js_src_jskwgen.cpp,v 1.1 2015/07/09 15:17:34 ryoon Exp $
|
||||
|
||||
--- mozilla/js/src/jskwgen.cpp.orig 2015-06-08 17:49:25.000000000 +0000
|
||||
+++ mozilla/js/src/jskwgen.cpp
|
||||
@@ -181,7 +181,7 @@ qchar(char c, char* quoted_buffer)
|
||||
*s++ = '\\';
|
||||
break;
|
||||
default:
|
||||
- if (!isprint(c)) {
|
||||
+ if (!isprint(((unsigned char)c))) {
|
||||
*s++ = '\\';
|
||||
*s++ = (char)('0' + (0x3 & (((unsigned char)c) >> 6)));
|
||||
*s++ = (char)('0' + (0x7 & (((unsigned char)c) >> 3)));
|
||||
Reference in New Issue
Block a user