From owner-svn-src-all@FreeBSD.ORG Sun Sep 28 21:27:44 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00BFC6FE; Sun, 28 Sep 2014 21:27:43 +0000 (UTC) Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9C45AAF; Sun, 28 Sep 2014 21:27:43 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id g10so4093547pdj.17 for ; Sun, 28 Sep 2014 14:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=WGKfrGfI3g3TSpozrEOMQe+K1BEgfzJbg16kv3GrirI=; b=YMQHbwVtE9xzv2WViBK1o8U7ynl885wR1ZAmEXip63MpXM/yZkkfcG6/9h9Aeb4qOC AvDjPUf2kdxdDV7BL6beH4RBqjNf64a+rjHEK6/nBLCGg0JIl8nDp0Kkv7XpTaF9qdek cgTyU8MfTPG/FYJvMUS2RJfE5szvh6Z50wlN/NRv1oiKmjHCPexCGvXLGksfccx9xFpl ZIZEYy25gevo9pTvzXBtVUN7+uFwwEF2dDL5ClWDnxMUoiKXVLzyzztIK01d2fmxc2jU 8o2oGQoMIgajEjwtuUk0ItdG1DkayFTWeROFWSajNzbhv5mZ1+tPGakNNDv1fCjMs7Xg 1Yog== X-Received: by 10.70.119.105 with SMTP id kt9mr47810050pdb.7.1411939663191; Sun, 28 Sep 2014 14:27:43 -0700 (PDT) Received: from [192.168.20.11] (c-98-247-240-204.hsd1.wa.comcast.net. [98.247.240.204]) by mx.google.com with ESMTPSA id rg1sm10507408pdb.14.2014.09.28.14.27.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 28 Sep 2014 14:27:42 -0700 (PDT) References: <201409282120.s8SLKLJs070469@svn.freebsd.org> Mime-Version: 1.0 (1.0) In-Reply-To: <201409282120.s8SLKLJs070469@svn.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: iPhone Mail (11D257) From: Garrett Cooper Subject: Re: svn commit: r272273 - head/lib/libc/stdtime Date: Sun, 28 Sep 2014 14:27:40 -0700 To: "Pedro F. Giffuni" Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 21:27:44 -0000 > 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!