From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 1B5DA3858C83 for ; Tue, 15 Feb 2022 22:04:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1B5DA3858C83 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id K3jVnLUvqyr5HK5vunRCwm; Tue, 15 Feb 2022 22:04:26 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id K5vunyGhlebQ7K5vunE85g; Tue, 15 Feb 2022 22:04:26 +0000 X-Authority-Analysis: v=2.4 cv=fZK+dmcF c=1 sm=1 tr=0 ts=620c236a a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=iMpC6L0jGsNNbTZxuiUA:9 a=QEXdDO2ut3YA:10 Message-ID: <1451bc59-821e-aa0f-100a-8abceca94662@SystematicSw.ab.ca> Date: Tue, 15 Feb 2022 15:04:26 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: [PATCH 0/1] newlib/libc/time/tzset_r.c(_tzset_unlocked_r): add POSIX <> quoted abbrs Content-Language: en-CA From: Brian Inglis To: newlib@sourceware.org References: <20220215215701.40283-1-Brian.Inglis@SystematicSW.ab.ca> Reply-To: newlib@sourceware.org Organization: Systematic Software In-Reply-To: <20220215215701.40283-1-Brian.Inglis@SystematicSW.ab.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfI720Uvqyyg54L8IbQ9KWXSlww3It6V0dg5DCRCoXaFYQgyNIkcV6adZTDfZML0+WkkM8PNc08qMcFhpltRkNpMGWstemV6GTAVsvebPtZUh6jEBkBsp VEVwcN96Tx3CENOAo3944MqB84O2dMpPVsKKlYeLaRUAL3zgNUntFLAQz5gFUaJmk2ekFsYYaJeYZkwSS4uHEgzLcMcvnLBqOA8= X-Spam-Status: No, score=-1163.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2022 22:04:28 -0000 Submitted a newlib patch which builds okay, but cannot test, as I don't have a newlib platform to run on, and Cygwin uses it's own TZ DB code base. It should accept up to 10 character abbreviations for STD and DST matching POSIX specs including anything within < > quoted content. If someone needing this could build, test, and send feedback, I'd appreciate it. --- newlib/libc/time/tzset_r.c | 68 ++++++++++++++++++++++++++++++++------ 1 file changed, 58 insertions(+), 10 deletions(-) -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]