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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=RWJ21gj4cLqPRcqG G1iFP1rUQLNzYM809DQzhxuDuNaK678VujYX0iKedacuX7/GTxkTw5TBpU5IsF3l 6xDUBh3QLCLMU5g1huGEfPplli9wsHYWY1olgctl330zI0XSVdnLULr6x/bDYFvj WJkDrleWX/MfMBGxcfXoaqi+YHc= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=ytJ2ClgZ7o7z3CfzoofnJw SGbP0=; b=B9U5bfXSvVJxugQISAV5KC98QtKTuPcsXwXTykCqrVRAY2jEMNmFev 8tgq7w8o/jEA3IFpjDWx5SZbepiDX5dFrrVPHM+WThaUv5WlhOLuM/2YoS4OMuuU a2JZ5v+Goarg7crzfu2Sf0o+VINeVHpJCpSKsFbUQ2RsASyiuLtMY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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_05,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=worlds, world's, H*M:online, belief X-HELO: mailout06.t-online.de Subject: Re: Cygwin strptime() is missing "%s" which strftime() has To: cygwin AT cygwin DOT com References: From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Message-ID: <2fb73f15-64b7-e10c-1e24-12ca9aa7c78b@t-online.de> Date: Mon, 24 Jul 2017 23:02:28 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Am 24.07.2017 um 04:09 schrieb Lavrentiev, Anton (NIH/NLM/NCBI) [C]: > rather it's a question about portability of code that > uses %s for both functions and expects it to work unchanged in the > Cygwin environment. And the answer to that question is: such code _is_not_portable_, and therefore that expectation is wrong. If that code claims to be portable, then its use of %s in either of those functions constitutes a _bug_. In the old days there was a well-known fallacy known by the slogan "all the world's a VAX." Nowadays it appears to have been replaced by an equally wide-spread, and equally incorrect belief that all the world is Linux. Well, it's not. Not even the whole Un*x world is Linux. -- 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