From owner-freebsd-doc Wed Jul 4 15:40:19 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5361837B407 for ; Wed, 4 Jul 2001 15:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f64Me1i16033; Wed, 4 Jul 2001 15:40:01 -0700 (PDT) (envelope-from gnats) Received: from segfault.monkeys.com (236.dsl9226.surewest.net [63.92.26.236]) by hub.freebsd.org (Postfix) with ESMTP id 8B43D37B406 for ; Wed, 4 Jul 2001 15:37:56 -0700 (PDT) (envelope-from rfg@monkeys.com) Received: by segfault.monkeys.com (Postfix, from userid 1237) id 046B14DA76; Wed, 4 Jul 2001 15:37:55 -0700 (PDT) Message-Id: <20010704223755.046B14DA76@segfault.monkeys.com> Date: Wed, 4 Jul 2001 15:37:55 -0700 (PDT) From: rfg@monkeys.com Reply-To: rfg@monkeys.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/28699: strptime(3) %d format specifier not completely documented Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28699 >Category: docs >Synopsis: strptime(3) %d format specifier not completely documented >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 04 15:40:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Ronald F. Guilmette >Release: FreeBSD 4.2-RELEASE i386 >Organization: Infinite Monkeys & Co. >Environment: Nothing special >Description: The %d format specifier, when supplied as part of the format string argument in a call to strptime(3), will match *either* a pair of consecutive digit characters (as documented for the %d specifier on the strftime(3) man page) *or*, additionally, it appears to also be willing to match a single space character followed by a single digit character. This extended functionality of the %d format specifier, when used with the strptime(3) function, is very useful (please don't remove it!) but it ought to be documented. >How-To-Repeat: man 3 strptime man 3 strftime >Fix: Add a note to the strptime(3) man page saying that %d matches either two digits or a space followed by a single digit. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message