delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/24/01:36:27

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ACvFv7V1tMT66jLg
slu20eBo66HzNw9C5sylBBuPp4W7st0/YSSvTrWG+pYpKnnM634/VpaUUGz9xWmS
EyE2Uu3MGU/bA67d84DGOhnrWCSHUQqnC6PJiMu58cRtePnuTu/x7NIGxXM0lVvY
sHuJXmVg5geAxhXCdxpaEGcX7rI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Y0AAT8scPjGYEsuPPHwUzC
WQs3A=; b=tmGbaH5wxGJzgKUDihg0cViik8ZuVqVK6BYOW70SYWjaX2g/xTrLQ8
1ME57rviEV+9XYfeVPLaPwVPn7q3Wv2vtEEedbpbbb8EhwLS/pQpSyH/TxrExWnP
5gADyGbuhA/CpMYLQGzg58wilf9GmpnQQhXlN0jT8kxx+cX7EjKtk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:64.59.136.138, H*RU:64.59.136.138, H*M:4522, H*i:sk:e944909
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=T/3OdLCQ c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=TocKZC-5bZFaLBETl9IA:9 a=QEXdDO2ut3YA:10
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.11
References: <announce DOT 20160820213705 DOT s5bhpxbmpawjxy7c AT calimero DOT vinschen DOT de> <35c2b18f-ac98-d69e-32fe-2eae2d128f85 AT SystematicSw DOT ab DOT ca> <20160823161152 DOT GA6100 AT calimero DOT vinschen DOT de> <e9449091-044e-177a-cd6f-cb77665d9681 AT SystematicSw DOT ab DOT ca>
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <b9941b2d-b779-4522-0f9b-c0b0fede9a9a@SystematicSw.ab.ca>
Date: Tue, 23 Aug 2016 23:36:05 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <e9449091-044e-177a-cd6f-cb77665d9681@SystematicSw.ab.ca>
X-CMAE-Envelope: MS4wfDYJcAog6peM50Vzm0hdO5Sb7zeOYJewvpHQ+ysvV7I20GyRGFU/dt2soZY6/V0mb56AC1i6ziziYRIXci114xuLQqDoX04++EOw+T91USY3OIvlB5gf T7ETHljfQFO2HTJVSgh06yLGYr1FXElttxJZtn5yeEmftXa7Zm+7rGKnifOcKx+raJTfgmOQ56/tBw==
X-IsSubscribed: yes

On 2016-08-23 22:15, Brian Inglis wrote:
> On 2016-08-23 10:11, Corinna Vinschen wrote:
>> On Aug 23 07:27, Brian Inglis wrote:
>>> Compared lists of locale_t headers and functions for POSIX, Cygwin,
>>> and glibc, attached below for comparison, and found:
>>>
>>> * missed string.h(strerror_l) on my first check;
>>>    not sure if you can implement that easily on Windows?
>>>
>>> * GNU also supports wchar.h(wcsftime_l) and time.h(strptime_l);
>>>
>>> * GNU also defines string.h(str[n]casecmp_l) functions as an extension,
>>>    as well as in POSIX specified strings.h.
>>
>> I just applied a couple of patches to add the missing strerror_l,
>> strptime_l and wcsftime_l.  I also added the missing str[n]casecmp_l
>> prototypes to strings.h.  I'll create a new test release in a bit.
>
> GNU duplicates the POSIX strings.h(str[n]casecmp_l) in string.h also.

i.e. str[n]casecmp_l should be defined under #if __POSIX_VISIBLE >= 200809
but not defined under #ifdef __GNU_VISIBLE in string*s*.h,
and defined under #ifdef __GNU_VISIBLE but not defined under
#if __POSIX_VISIBLE >= 200809 in *string*.h;
strerror_l should be under #if __POSIX_VISIBLE  >= 200809 in *string*.h,
or its #includes.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019