From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86241 invoked by alias); 24 Jul 2017 21:02:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 80628 invoked by uid 89); 24 Jul 2017 21:02:41 -0000 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 Received: from mailout06.t-online.de (HELO mailout06.t-online.de) (194.25.134.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Jul 2017 21:02:38 +0000 Received: from fwd17.aul.t-online.de (fwd17.aul.t-online.de [172.20.27.64]) by mailout06.t-online.de (Postfix) with SMTP id AB54F41E1077 for ; Mon, 24 Jul 2017 23:02:35 +0200 (CEST) Received: from [192.168.2.28] (Jr2mTiZAZhbLnvMHdlo7+AtEbJwSw+SpC9S7JnlT9+W-GLlZ7hnZ93IOe-VfTnOZtp@[91.59.4.86]) by fwd17.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1dZkUr-2CZFxI0; Mon, 24 Jul 2017 23:02:33 +0200 Subject: Re: Cygwin strptime() is missing "%s" which strftime() has To: cygwin@cygwin.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 21:28:00 -0000 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 X-SW-Source: 2017-07/txt/msg00330.txt.bz2 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