From owner-freebsd-standards@FreeBSD.ORG Fri Apr 6 02:10:17 2007 Return-Path: X-Original-To: freebsd-standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4948416A403 for ; Fri, 6 Apr 2007 02:10:17 +0000 (UTC) (envelope-from bruno@clisp.org) Received: from mo-p07-fb.rzone.de (mo-p07-fb.rzone.de [81.169.146.191]) by mx1.freebsd.org (Postfix) with ESMTP id A087313C487 for ; Fri, 6 Apr 2007 02:10:16 +0000 (UTC) (envelope-from bruno@clisp.org) Received: from mo-p07-ob.rzone.de (klopstock-mo-p07-ob.mail [192.168.63.178]) by charnel-fb-05.store (RZmta 5.5) with ESMTP id 503ba4j35FSuac for ; Fri, 6 Apr 2007 03:40:06 +0200 (MEST) Received: from linuix.haible.de ([81.210.213.230] [81.210.213.230]) by post.webmailer.de (klopstock mo27) (RZmta 5.5) with ESMTP id F072f6j35IjnrR ; Fri, 6 Apr 2007 03:38:39 +0200 (MEST) From: Bruno Haible To: freebsd-standards@FreeBSD.org Date: Fri, 6 Apr 2007 03:38:36 +0200 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704060338.36210.bruno@clisp.org> X-RZG-AUTH: gMysVb8JT2gB+rFDu0PuvnPihAP8oFdePhw95HsN8T+WAEY7QaDiGvwmoQ== X-RZG-CLASS-ID: mo07 X-RZG-CLASS-ID: mo07 Cc: Subject: a bug in printf %f and %a X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 02:10:17 -0000 Seen in FreeBSD 6.1. printf "%010f" and printf "%010a", applied to NaN, Inf, or -Inf, pad with zeroes. Should pad with spaces instead. [1] http://article.gmane.org/gmane.comp.lib.gnulib.bugs/10051 [2] http://article.gmane.org/gmane.comp.lib.gnulib.bugs/10055