diff options
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_js_src_jskwgen.cpp')
-rw-r--r-- | mail/thunderbird45/patches/patch-mozilla_js_src_jskwgen.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_js_src_jskwgen.cpp b/mail/thunderbird45/patches/patch-mozilla_js_src_jskwgen.cpp new file mode 100644 index 00000000000..8a01ab5e5ba --- /dev/null +++ b/mail/thunderbird45/patches/patch-mozilla_js_src_jskwgen.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_js_src_jskwgen.cpp,v 1.1 2017/04/27 13:38:19 ryoon Exp $ + +--- mozilla/js/src/jskwgen.cpp.orig 2016-04-07 21:33:24.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))); |