X-Recipient: archive-cygwin@delorie.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:to:subject:mime-version:content-type
	:content-transfer-encoding:date:from:in-reply-to:references
	:message-id; q=dns; s=default; b=mvzkdxp04r0TrBouYOGMPdwTjJKKG/D
	KGAsH5J9LCv9UULmAhQayxBTW7xyIRihAOaYsp+/iWW2BqZFT3/4dx5FpNGAgF+C
	5e7/9S9YP1plQ1iTGAh58lxIOBnXPcRFuIy1T6lqvkzcSk69/zb3VFOt4/Ozer/G
	AAQMZj+yFvHg=
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:to:subject:mime-version:content-type
	:content-transfer-encoding:date:from:in-reply-to:references
	:message-id; s=default; bh=NqHCndFpPmyfOvzgugceUqKZWDI=; b=V1ips
	uGbl2arKXn5sSNCkT76EXTuJfqESOFEI1sJ7NV5MasEsZfScu95ncyAdzFdnMo0C
	lwO9YT9u8ugL6wx/gRXslO3HjUzpoBlIqbaDEwD7T+/kqbC0H+W8cIe6nOAQycVe
	4TO6W3zjUlKxcnVq/sUHXJ3HtsDmmCm0V2S9ZU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FROM_STARTS_WITH_NUMS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:4.72, HX-PHP-Originating-Script:501
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=HahkdmM8 c=1 sm=1 tr=0 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=G3gG6ho9WtcA:10 a=hPSZArYMLkZ_0NBVav8A:9 a=QEXdDO2ut3YA:10
To: cygwin@cygwin.com
Subject: Re: Cygwin strptime() is missing "%s" which strftime() has
X-PHP-Originating-Script: 501:rcmail.php
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Date: Sun, 23 Jul 2017 12:46:30 -0700
From: Kaz Kylheku <920-082-4242@kylheku.com>
In-Reply-To: <BN3PR09MB0340BFF87B6B3E7A100C1A8EA5A50@BN3PR09MB0340.namprd09.prod.outlook.com>
References: <BN3PR09MB0340BFF87B6B3E7A100C1A8EA5A50@BN3PR09MB0340.namprd09.prod.outlook.com>
Message-ID: <9484711653ddb8d9ad8d125477e44757@mail.kylheku.com>
X-Sender: 920-082-4242@kylheku.com
User-Agent: Roundcube Webmail/0.9.2
X-CMAE-Envelope: MS4wfEDiTyDRs+xu23zqnFF1zofz2JQZ/TURLnBk2F7zty05l9qKEkLwjWhShHCm9VrlgDc1uPJEss0WZ4P4hufmW5zArw+8Epv4jxb5w2kMRCRh3nMiMXm/ CjXBf2Z561bySzBpe9w0bt/0DAFc5Mi7iSZInDElOMmNPo/8pQHC/Nrw
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v6NJkrXi018443

On 22.07.2017 13:48, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
> Hello,
> 
> It looks like Cygwin implementation of strptime(3) cannot understand
> the "%s" format (seconds since Jan 1, 1970 UTC), which strftime() can.

But that's just scanning a decimal integer to time_t.

Where implemented, how does that deal with overflows and such compared 
to strtoul?


--
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


