From owner-freebsd-standards@FreeBSD.ORG Mon Apr 2 11:08:24 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 4C8CE16A47E for ; Mon, 2 Apr 2007 11:08:24 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 304A313C4CC for ; Mon, 2 Apr 2007 11:08:24 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l32B8OFn052289 for ; Mon, 2 Apr 2007 11:08:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l32B8MEn052285 for freebsd-standards@FreeBSD.org; Mon, 2 Apr 2007 11:08:22 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Apr 2007 11:08:22 GMT Message-Id: <200704021108.l32B8MEn052285@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 02 Apr 2007 11:08:24 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/25542 standards /bin/sh: null char in quoted string o kern/46239 standards posix semaphore implementation errors o stand/54410 standards one-true-awk not POSIX compliant (no extended REs) o stand/82654 standards C99 long double math functions are missing o stand/94729 standards fcntl() throws undocumented ENOTTY 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/21519 standards sys/dir.h should be deprecated some more o bin/24390 standards Replacing old dir-symlinks when using /bin/ln s stand/24590 standards timezone function not compatible witn Single Unix Spec s kern/28260 standards UIO_MAXIOV needs to be made public s stand/36076 standards Implementation of POSIX fuser command o stand/39256 standards snprintf/vsnprintf aren't POSIX-conformant for strings p stand/41576 standards POSIX compliance of ln(1) o stand/44425 standards getcwd() succeeds even if current dir has perm 000. o stand/46119 standards Priority problems for SCHED_OTHER using pthreads o stand/54833 standards [pcvt] more pcvt deficits o stand/54839 standards [pcvt] pcvt deficits p stand/55112 standards glob.h, glob_t's gl_pathc should be "size_t", not "int o stand/56476 standards cd9660 unicode support simple hack o stand/58676 standards grantpt(3) alters storage used by ptsname(3) s stand/62858 standards malloc(0) not C99 compliant s kern/64875 standards [libc] [patch] [feature request] add a system call: fd o stand/66357 standards make POSIX conformance problem ('sh -e' & '+' command- o stand/66531 standards _gettemp uses a far smaller set of filenames than docu o stand/70813 standards [PATCH] ls(1) not Posix compliant o stand/72006 standards floating point formating in non-C locales o stand/79056 standards regex(3) regression tests a stand/80293 standards sysconf() does not support well-defined unistd values o stand/81287 standards [PATCH]: fingerd(8) might send a line not ending in CR o stand/83845 standards [libm] [patch] add log2() and log2f() support for libm o stand/85080 standards output of long double subnormals (with printf) is wron o stand/92360 standards [headers] [patch] Missing TAB3 in kernel headers o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o stand/96016 standards clock_getres et al should be in o stand/96236 standards [PATCH] [POSIX] sed.1 incorrectly describes a function p stand/99517 standards Missing SIGRTMIN and SIGRTMAX signals o stand/99960 standards [Patch] [make] Add -p flag o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) o stand/104743 standards Wrong values for _POSIX_ minimal limits o stand/104841 standards C99 long double square root. o stand/107561 standards Missing SUS function tcgetsid() 36 problems total. From owner-freebsd-standards@FreeBSD.ORG Fri Apr 6 02:07:23 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 8AA9716A402 for ; Fri, 6 Apr 2007 02:07:23 +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 E231D13C4CC for ; Fri, 6 Apr 2007 02:07:22 +0000 (UTC) (envelope-from bruno@clisp.org) Received: from mo-p07-ob.rzone.de (fruni-mo-p07-ob.mail [192.168.63.183]) by charnel-fb-08.store (RZmta 5.5) with ESMTP id 803bb1j35FeW8X for ; Fri, 6 Apr 2007 03:36:47 +0200 (MEST) Received: from linuix.haible.de ([81.210.213.230] [81.210.213.230]) by post.webmailer.de (fruni mo7) (RZmta 5.5) with ESMTP id R04ef1j35HcQVS ; Fri, 6 Apr 2007 03:35:25 +0200 (MEST) From: Bruno Haible To: freebsd-standards@FreeBSD.org Date: Fri, 6 Apr 2007 03:35:22 +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: <200704060335.22770.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 %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:07:23 -0000 sprintf (buf, "%.2a", 1.51) should produce "0x1.83p+0". On FreeBSD it produces "0x1.82p+0", which is incorrect since [1] says: "For the a and A conversion specifiers, if FLT_RADIX is a power of 2, the value shall be correctly rounded to a hexadecimal floating number with the given precision." [1] http://www.opengroup.org/susv3/functions/fprintf.html [2] http://article.gmane.org/gmane.comp.lib.gnulib.bugs/10034 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