From nobody@FreeBSD.org  Tue Oct  9 07:54:34 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 2801F37B406
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  9 Oct 2001 07:54:30 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f99EsUp02580;
	Tue, 9 Oct 2001 07:54:30 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200110091454.f99EsUp02580@freefall.freebsd.org>
Date: Tue, 9 Oct 2001 07:54:30 -0700 (PDT)
From: ulrich <ulrich@infopuls.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: man page for strftime is incorrect
X-Send-Pr-Version: www-1.0

>Number:         31164
>Category:       docs
>Synopsis:       man page for strftime is incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 09 08:00:00 PDT 2001
>Closed-Date:    Fri May 23 18:22:59 PDT 2003
>Last-Modified:  Fri May 23 18:22:59 PDT 2003
>Originator:     ulrich
>Release:        4.1
>Organization:
>Environment:
>Description:
man page for strftime

%a    is replaced by national representation of the abbreviated weekday
           name, where the abbreviation is the first three characters.

This is incorrect and should be

"... two characters and a space."
>How-To-Repeat:
date "+%a|"

reveals that an additional blank is appended
>Fix:

>Release-Note:
>Audit-Trail:

From: Dima Dorfman <dima@trit.org>
To: ulrich <ulrich@infopuls.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: docs/31164: man page for strftime is incorrect 
Date: Sun, 14 Oct 2001 23:20:08 +0000

 ulrich <ulrich@infopuls.com> wrote:
 > >Description:
 > man page for strftime
 > 
 > %a    is replaced by national representation of the abbreviated weekday
 >            name, where the abbreviation is the first three characters.
 > 
 > This is incorrect and should be
 > 
 > "... two characters and a space."
       ^^^^^
 Is this part of the change?
 
 > >How-To-Repeat:
 > date "+%a|"
 
 I can't reproduce this:
 
 	dima@hornet% uname -r
 	4.4-20011007-STABLE
 	dima@hornet% date "+%a|"
 	Sun|
 
 	dima@mirage% uname -r
 	5.0-20010908-CURRENT
 	dima@mirage% date "+%a|"
 	Sun|

From: Dima Dorfman <dima@trit.org>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: docs/31164: strftime is incorrect 
Date: Mon, 15 Oct 2001 13:37:13 +0000

 Adding to audit-trail.
 
 Ulrich <ulrich@infopuls.com> wrote:
 > On Sun, Oct 14, 2001 at 11:20:08PM +0000, Dima Dorfman wrote:
 > > ulrich <ulrich@infopuls.com> wrote:
 > > > >Description:
 > > > man page for strftime
 > > > 
 > > > %a    is replaced by national representation of the abbreviated weekday
 > > >            name, where the abbreviation is the first three characters.
 > > > 
 > > > This is incorrect and should be
 > > > 
 > > > "... two characters and a space."
 > >       ^^^^^
 > > Is this part of the change?
 > 
 > I don't understand the question.
 > 
 > > > >How-To-Repeat:
 > > > date "+%a|"
 > > 
 > > I can't reproduce this:
 > > 
 > > 	dima@hornet% uname -r
 > > 	4.4-20011007-STABLE
 > > 	dima@hornet% date "+%a|"
 > > 	Sun|
 > > 
 > > 	dima@mirage% uname -r
 > > 	5.0-20010908-CURRENT
 > > 	dima@mirage% date "+%a|"
 > > 	Sun|
 > 
 > ----------------------------------------------------------------
 > 
 > uname -r
 > 4.1-RELEASE
 > 
 > date "+%a|"
 > Mo |
 > 
 > printenv | grep LC   
 > LC_MESSAGES=de_DE.ISO_8859-1
 > LC_TIME=de_DE.ISO_8859-1
 > LC_CTYPE=de_DE.ISO_8859-1
 > LC_COLLATE=de_DE.ISO_8859-1
 > 
 > ----------------------------------------------------------------
 > 
 > Seems that depending on the locale configuration the result is 
 > different. By now I regard the implementation of strftime as 
 > incorrect as the first three characters of the weekday in this 
 > case are "Mon". If there are intentionally different numbers of 
 > non blank characters for different locale settings the man page 
 > should say so.
 > 

From: "Simon L. Nielsen" <simon@nitro.dk>
To: freebsd-gnats-submit@FreeBSD.org, ulrich@infopuls.com
Cc:  
Subject: Re: docs/31164: man page for strftime is incorrect
Date: Sat, 24 May 2003 02:51:02 +0200

 --7ZAtKRhVyVSsbBD2
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hello
 
 This was a problem with an incorrect manual page.  This was fixed in :
 src/lib/libc/stdtime/strftime.3 v. 1.25 and MFC'ed as 1.18.2.8.
 
 Therefore I think this PR can be closed.
 
 --=20
 Simon L. Nielsen
 
 --7ZAtKRhVyVSsbBD2
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.2 (FreeBSD)
 
 iD8DBQE+zsH08kocFXgPTRwRAltjAKCF55xA66H9MuSuUKiK//9wW4zs4QCfbUSu
 G3it3NJQniUoXoJS9AGZUh0=
 =SKqX
 -----END PGP SIGNATURE-----
 
 --7ZAtKRhVyVSsbBD2--
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Fri May 23 18:21:16 PDT 2003 
State-Changed-Why:  
This has already been merged to STABLE.  Thanks to Simon L. Nielsen for 
letting us know this can be closed now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=31164 
>Unformatted:
