Date: Wed, 14 Sep 2005 02:44:03 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_prf.c Message-ID: <200509140244.j8E2i3i9008629@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2005-09-14 02:44:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern subr_prf.c Log: MFC 1.118: When padding with zero, do pad after prefixes rather than padding before prefixes. Use cases: printf("%05d", -42); --> "00-42" (should be "-0042") printf("%#05x", 12); --> "000xc" (should be "0x00c") Submitted by: Oliver Fromme PR: kern/85520 Approved by: re (kensmith) Revision Changes Path 1.116.2.1 +5 -1 src/sys/kern/subr_prf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509140244.j8E2i3i9008629>