From owner-svn-src-head@FreeBSD.ORG Sun Sep 28 21:47:32 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA796E5C for ; Sun, 28 Sep 2014 21:47:31 +0000 (UTC) Received: from nm24-vm0.bullet.mail.bf1.yahoo.com (nm24-vm0.bullet.mail.bf1.yahoo.com [98.139.213.161]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7BC91C7D for ; Sun, 28 Sep 2014 21:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1411940844; bh=g+jjBEy2hLs762o1qE5jcmTuxZo5O0sceLVQOjTlNgQ=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:From:Subject; b=LulEXn5pCVMkLmyfnuefjCQxChp89kZjKlf9yyGgX/OY2l4A/HKSdBcXbrttItXiegxEGD908LZVu7/4FhgH4PPC8AkPHEDTgtFaLJ75jgzDJbzptR8myF7ZJ1L/mfzctHISylaSNYGZ3Mdq+DHUqfNA1uyrPzCNPBZQJWpyFm7/pdNlFSrYrX1RuNIrNDR0LN5s8e4EGbFaOcW8VJDG8NtYNPG+qVsGz2MFf0rWEfH0Y6Fizkk0I+6u678MBFbD/hZ9RP8Txgn4HkDfc03n/ProVS3IGTFw+npj49oBaMiwULYLWxvzNJByzg/aTXswz4dV94gGLexyd5wBe4lAdA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=FrY8GFkZFtrtpmVh+pINMFx9iVbjybSysIwLDwq+/VsleU1zzKS1duD+n2DSansiCZBVhO/eiXeYa5oq1oC6sxpxiCnddH0J3vBFv/EHt8UuDQpFTBuxqkRZfRVcCKROkcXFFswgwK+4cl+gam22bM0DWsgC5rqCh/x3+q5RSfIdA02J37C3LZolslKvrVC/ZVvEswT6l9odsQmiB/Y9f/+VgX3wUXYzM9lOVqnxkmzoN4ks3YX7dwAEK+DTDxHalalOhdBREnMxXEkyIisEdDK8CCDNKdNwFEt32r/jN7r3a+NUP45X928VO8POLUJigRspOp1jrOeYBqRijTEt8w==; Received: from [98.139.212.152] by nm24.bullet.mail.bf1.yahoo.com with NNFMP; 28 Sep 2014 21:47:24 -0000 Received: from [98.139.211.162] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 28 Sep 2014 21:47:24 -0000 Received: from [127.0.0.1] by smtp219.mail.bf1.yahoo.com with NNFMP; 28 Sep 2014 21:47:24 -0000 X-Yahoo-Newman-Id: 98092.50548.bm@smtp219.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: DYyrPi4VM1lLfBTBUuy9Mh0R8r5G72IvQs9vU8d0rj8fxHo MCnwhFXhxzusy4v5VScp5YOHY9iGWbZ1pfKc4M2SKy5W718p7KLPCDmL9YfZ 5CKFTD12GgAqLFRV5.WibDGO80Ygx2cT5KISIKP0wZI5Y82FC4amwGp75myk Kj4yDlRBiZPE9W2s87ZJTX0SDRchthxefA5pEpCZblDEHPa_h2cUwf34lRUj xR4yqnJ4atMOoHV1lEdWJs1ckQH1ePDMO_DYb7fzVIdcmlzDrrsbfEcWNHV3 L72VCuInMy9FZP8asrv7ezJALWszEw83UzxSzWU8JyKCiUCwEHgLkBFsXunC 73H3NQ5rOJG0rz9bgN9PzdG6fltQgDZmgRuNh89EzWoZPObGjum.fXHT8R5_ fA0Ff.q1ILesOVAEqtMfS1BTjIHu4ZaYaq7XafyQpL_qyFw2XZ5rmItIeSkY BnQoTkyVz48D0ccWcf6YbNH9a7gSq6IVyd7YI12Daoz.bs0GP_v7TRjpQEKh LAMqKiDXu_5mQXh9sFptbdUzTxcd1E2Y0ig-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <542881F2.2090000@freebsd.org> Date: Sun, 28 Sep 2014 16:47:30 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Garrett Cooper Subject: Re: svn commit: r272273 - head/lib/libc/stdtime References: <201409282120.s8SLKLJs070469@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 21:47:32 -0000 On 09/28/14 16:27, Garrett Cooper wrote: >> On Sep 28, 2014, at 14:20, "Pedro F. Giffuni" wrote: >> >> Author: pfg >> Date: Sun Sep 28 21:20:20 2014 >> New Revision: 272273 >> URL: http://svnweb.freebsd.org/changeset/base/272273 >> >> Log: >> Add strptime(3) support for %U and %W (take 2) >> >> Add support for the missing POSIX-2001 %U and %W features: the >> existing FreeBSD strptime code recognizes both directives and >> validates that the week number lies in the permitted range, >> but then simply discards the value. >> >> Initial support for the feature was written by Paul Green. >> David Carlier added the initial handling of tm_wday/tm_yday. >> Major credit goes to Andrey Chernov for detecting much of the >> brokenness, and rewriting/cleaning most of the code, making it >> much more robust. >> >> Tested independently with the strptime test from the GNU C >> library. > I'll try the netbsd testcases as well. > Thanks! Great! It may be that NetBSD doesn't support %U %W. Still, it would be really interesting to run the NetBSD tests after applying the patch here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=93197 Regards, Pedro.