delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/24/17:03:07

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: <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_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: <BY1PR09MB0343663DE41D927E67CF0CCEA5BB0 AT BY1PR09MB0343 DOT namprd09 DOT prod DOT outlook DOT com>
From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de>
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: <BY1PR09MB0343663DE41D927E67CF0CCEA5BB0@BY1PR09MB0343.namprd09.prod.outlook.com>
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

- Raw text -


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