head 1.2; access; symbols pkgsrc-2017Q3:1.1.0.14 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.10 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.8 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.6 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.4 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.2 pkgsrc-2016Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2017.10.27.17.48.31; author ryoon; state dead; branches; next 1.1; commitid 5JxkMLJMGh5nuIcA; 1.1 date 2016.04.17.18.22.21; author ryoon; state Exp; branches; next ; commitid kYErSctBTRkdC03z; desc @@ 1.2 log @Remove thunderbird{24,31,38} @ text @$NetBSD: patch-mozilla_js_src_jsdate.cpp,v 1.1 2016/04/17 18:22:21 ryoon Exp $ --- mozilla/js/src/jsdate.cpp.orig 2015-06-08 17:49:25.000000000 +0000 +++ mozilla/js/src/jsdate.cpp @@@@ -2669,11 +2669,11 @@@@ ToLocaleFormatHelper(JSContext* cx, Hand if (strcmp(format, "%x") == 0 && result_len >= 6 && /* Format %x means use OS settings, which may have 2-digit yr, so hack end of 3/11/22 or 11.03.22 or 11Mar22 to use 4-digit yr...*/ - !isdigit(buf[result_len - 3]) && - isdigit(buf[result_len - 2]) && isdigit(buf[result_len - 1]) && + !isdigit(((unsigned char)buf[result_len - 3])) && + isdigit(((unsigned char)buf[result_len - 2])) && isdigit(((unsigned char)buf[result_len - 1])) && /* ...but not if starts with 4-digit year, like 2022/3/11. */ - !(isdigit(buf[0]) && isdigit(buf[1]) && - isdigit(buf[2]) && isdigit(buf[3]))) { + !(isdigit(((unsigned char)buf[0])) && isdigit(((unsigned char)buf[1])) && + isdigit(((unsigned char)buf[2])) && isdigit(((unsigned char)buf[3])))) { double localtime = obj->as().cachedLocalTime(&cx->runtime()->dateTimeInfo); int year = IsNaN(localtime) ? 0 : (int) YearFromTime(localtime); JS_snprintf(buf + (result_len - 2), (sizeof buf) - (result_len - 2), @ 1.1 log @Import thunderbird38-38.7.2 as mail/thunderbird38. Mozilla Thunderbird is a redesign of the Mozilla mail component. The goal is to produce a cross platform stand alone mail application using the XUL user interface language. This version uses the gtk2 toolkit. This package tracks 38 ESR branch. @ text @d1 1 a1 1 $NetBSD: patch-mozilla_js_src_jsdate.cpp,v 1.1 2015/07/09 15:17:34 ryoon Exp $ @