From owner-cvs-all@FreeBSD.ORG Thu Nov 4 08:34:57 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D793416A4CE; Thu, 4 Nov 2004 08:34:57 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B511943D3F; Thu, 4 Nov 2004 08:34:57 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iA48Yv4f076386; Thu, 4 Nov 2004 08:34:57 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA48Yv35076385; Thu, 4 Nov 2004 08:34:57 GMT (envelope-from delphij) Message-Id: <200411040834.iA48Yv35076385@repoman.freebsd.org> From: Xin LI Date: Thu, 4 Nov 2004 08:34:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/stdtime strftime.3 strftime.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 08:34:58 -0000 delphij 2004-11-04 08:34:57 UTC FreeBSD src repository Modified files: lib/libc/stdtime strftime.3 strftime.c Log: Add glibc-style strftime(3) padding specifiers, namely, -(no padding), _(use space as padding), and 0(zero padding). These GNU extensions are widely used ones that is worthy for us to have. Discussed with: stefanf, roam, -current Approved by: murray Prodded by: ports/72722, ports/72723 MFC After: 1 month Revision Changes Path 1.35 +10 -1 src/lib/libc/stdtime/strftime.3 1.41 +69 -20 src/lib/libc/stdtime/strftime.c