From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33576 invoked by alias); 24 Jul 2017 19:46:20 -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 130889 invoked by uid 89); 24 Jul 2017 19:45:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: nihcesxway4.hub.nih.gov Received: from nihcesxway4.hub.nih.gov (HELO nihcesxway4.hub.nih.gov) (128.231.90.119) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Jul 2017 19:45:46 +0000 X-SBRS-Extended: Low X-IronPortListener: ces-out Received: from uccbx01.nih.gov (HELO ces.nih.gov) ([156.40.79.151]) by nihcesxway4.hub.nih.gov with ESMTP; 24 Jul 2017 15:45:44 -0400 Received: from uccbX02.nih.gov (156.40.79.152) by uccbX01.nih.gov (156.40.79.151) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Mon, 24 Jul 2017 15:45:43 -0400 Received: from gcc01-CY1-obe.outbound.protection.outlook.com (156.40.79.132) by uccbX02.nih.gov (156.40.79.152) with Microsoft SMTP Server (TLS) id 15.0.1236.3 via Frontend Transport; Mon, 24 Jul 2017 15:45:42 -0400 Received: from BY1PR09MB0343.namprd09.prod.outlook.com (10.160.105.25) by BY1PR09MB0343.namprd09.prod.outlook.com (10.160.105.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Mon, 24 Jul 2017 19:45:41 +0000 Received: from BY1PR09MB0343.namprd09.prod.outlook.com ([10.160.105.25]) by BY1PR09MB0343.namprd09.prod.outlook.com ([10.160.105.25]) with mapi id 15.01.1282.017; Mon, 24 Jul 2017 19:45:41 +0000 From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "cygwin@cygwin.com" Subject: Re: Cygwin strptime() is missing "%s" which strftime() has Date: Mon, 24 Jul 2017 19:51:00 -0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr@ncbi.nlm.nih.gov; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BY1PR09MB0343;7:ZxIcZemgsH8z2xrtimYt4WUhKeHWHpp+a9dOGPDyBVGNaPWjKhlml1JDoP5LWenS1mq/TnBomJH4r1N40LO7VE8JuErKJhH1lkxIqpilFWpBPZ95NT7wZcPvcI6fSGfiWnMTw1Dbi67uEYqV1x2f7a30G0ySowW2Vi1g6mGN3EBJsY+jEeo1xUlcvh2XQmsbepotIs2Zu/8d+GeBgJesg5UlYMclGywkNpQ8Kcb8uIL395MT4b9vAS1pnVzP/l4lAsRIpFxYQGdlV+RyUBf6V52Zi1D4ThxKn86CmXgChOG1ZeWrIlZaOdf8yB6lP2DS+n2ahYSqw0jOTvrbqk2UsX2/HNhVkmNIIiQlbd2tCVc9D90bamQyXxvwCeE3bDKcfFSGZhq/BNplGvrk5cNd7JuIqUgAHnz8PKkOJaolYdXJxs1pWXKwGjWbk2hhP7xFV9lTUK8vuU+T0FqRdPjqGXVbnJODVfAe6lL9ZqKRswCz9I3NClrnJH1RnRDLMkHsIB2ecWKFFmvh4QZlaJv/fk4OWWiAC5OfbAtEisgxCppAjphsZ8V3lHSfCWDaKiWh83USsYUwNp4HBSIa8FdcLLDKiul5ctqIeXGalIOILXvCEkMWTZ/q/tIBLPojERP9xUEXV/D6RvNW1sgmrYmu9hwm8luVAImRO98FWuO85ClBUs1SZ4h6y2OqMQsOHq0DOSNb2FDKGeKfHb2y1UXFh5Frz8X+KE2GyPbfZkkdoerUUxV0UEv+kCpqQmiiD21NRNkENN2Tm6nJpxqSeNvYJC9ADu6gw0bzaVuGx9zRQ0c= x-ms-office365-filtering-correlation-id: 9002de02-2aa9-4269-5a94-08d4d2cc9139 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BY1PR09MB0343; x-ms-traffictypediagnostic: BY1PR09MB0343: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6041248)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY1PR09MB0343;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY1PR09MB0343; x-forefront-prvs: 0378F1E47A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39400400002)(39850400002)(39840400002)(39410400002)(39450400003)(189002)(199003)(8936002)(81156014)(6916009)(42882006)(3846002)(50986999)(102836003)(6246003)(53936002)(8676002)(2501003)(229853002)(101416001)(5660300001)(38730400002)(66066001)(2351001)(54356999)(110136004)(7736002)(74316002)(1730700003)(6116002)(305945005)(81166006)(7696004)(97736004)(2906002)(25786009)(105586002)(478600001)(2900100001)(55016002)(68736007)(3280700002)(6436002)(77096006)(5640700003)(33656002)(189998001)(9686003)(6506006)(106356001)(86362001)(3660700001)(99286003)(14454004);DIR:OUT;SFP:1102;SCL:1;SRVR:BY1PR09MB0343;H:BY1PR09MB0343.namprd09.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2017 19:45:41.5617 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 14b77578-9773-42d5-8507-251ca2dc2b06 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR09MB0343 X-OriginatorOrg: ncbi.nlm.nih.gov X-SW-Source: 2017-07/txt/msg00327.txt.bz2 > Demand. I patches strftime to add %s because Coreutils wanted it. But > coreutils doesn't use strptime, so I had no reason to add it. Well, I was bringing up a point of API inconsistency, hoping that it'd serv= e as an implicit request for an improvement so that strptime() gets its "%s"... Maybe coreutils did not need "%s" for strptime, but dateutils certainly do,= as: > date +"%s" | strptime "%s" does not work on Cygwin. That looks odd. Anton Lavrentiev Contractor NIH/NLM/NCBI -- 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