From owner-freebsd-standards@FreeBSD.ORG Mon Oct 11 11:07:03 2010 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA02B106570A for ; Mon, 11 Oct 2010 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C73A68FC1A for ; Mon, 11 Oct 2010 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9BB7372037680 for ; Mon, 11 Oct 2010 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9BB730Q037678 for freebsd-standards@FreeBSD.org; Mon, 11 Oct 2010 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Oct 2010 11:07:03 GMT Message-Id: <201010111107.o9BB730Q037678@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-standards@FreeBSD.org 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, 11 Oct 2010 11:07:04 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o stand/151316 standards lib/libc/string/strerror.c r1.9 breaks POSIX o stand/150093 standards C++ std::locale support is broken a stand/149980 standards [libc] [patch] negative value integer to nanosleep(2) o stand/147210 standards xmmintrin.h and cstdlib conflicts with each other with p stand/145517 standards POSIX getline() missing o stand/144231 standards bind/connect/sendto too strict about sockaddr length o stand/143358 standards [libm] nearbyint(3) raises spurious inexact exception o stand/142803 standards j0 Bessel function inaccurate near zeros of the functi s stand/141705 standards [libc] [request] libc lacks cexp (and friends) o stand/130067 standards Wrong numeric limits in system headers? o stand/124860 standards flockfile(3) doesn't work when the memory has been exh o stand/123688 standards POSIX standard changes in unistd.h and grp.h o stand/121921 standards [patch] Add leap second support to at(1), atrun(8) o stand/116826 standards [patch] sh support for POSIX character classes o stand/116477 standards rm(1): rm behaves unexpectedly when using -r and relat o bin/116413 standards incorrect getconf(1) handling of unsigned constants gi o stand/116081 standards make does not work with the directive sinclude o stand/114633 standards /etc/rc.subr: line 511: omits a quotation mark: "force p stand/107561 standards [libc] [patch] [request] Missing SUS function tcgetsid o stand/104743 standards [headers] [patch] Wrong values for _POSIX_ minimal lim o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) o stand/96236 standards [patch] [posix] sed(1) incorrectly describes a functio o stand/96016 standards [headers] clock_getres et al should be in o stand/94729 standards [libc] fcntl() throws undocumented ENOTTY o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers a stand/86484 standards [patch] mkfifo(1) uses wrong permissions o stand/83845 standards [libm] [patch] add log2() and log2f() support for libm o stand/82654 standards C99 long double math functions are missing o stand/81287 standards [patch] fingerd(8) might send a line not ending in CRL a stand/80293 standards sysconf() does not support well-defined unistd values o stand/79056 standards [feature request] [atch] regex(3) regression tests o stand/70813 standards [patch] ls(1) not Posix compliant o stand/66357 standards make POSIX conformance problem ('sh -e' & '+' command- s kern/64875 standards [libc] [patch] [request] add a system call: fdatasync( s stand/62858 standards malloc(0) not C99 compliant o stand/56476 standards [patch] cd9660 unicode support simple hack o stand/54410 standards one-true-awk not POSIX compliant (no extended REs) o stand/46119 standards Priority problems for SCHED_OTHER using pthreads o stand/44365 standards [headers] [patch] [request] introduce ulong and unchar f stand/41576 standards ln(1): replacing old dir-symlinks o stand/39256 standards snprintf/vsnprintf aren't POSIX-conformant for strings o kern/27835 standards [libc] execve() doesn't conform to execve(2) spec in s a docs/26003 standards getgroups(2) lists NGROUPS_MAX but not syslimits.h s stand/24590 standards timezone function not compatible witn Single Unix Spec o stand/21519 standards sys/dir.h should be deprecated some more s bin/14925 standards getsubopt isn't poisonous enough 47 problems total. From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 15:37:50 2010 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEC841065670; Thu, 14 Oct 2010 15:37:50 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9480C8FC16; Thu, 14 Oct 2010 15:37:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EFbowt011939; Thu, 14 Oct 2010 15:37:50 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EFbovv011935; Thu, 14 Oct 2010 15:37:50 GMT (envelope-from arundel) Date: Thu, 14 Oct 2010 15:37:50 GMT Message-Id: <201010141537.o9EFbovv011935@freefall.freebsd.org> To: arundel@FreeBSD.org, standards@FreeBSD.org, freebsd-standards@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: standards/11020: popen does not honor ISO 9899 syntax 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: Thu, 14 Oct 2010 15:37:50 -0000 Synopsis: popen does not honor ISO 9899 syntax Responsible-Changed-From-To: standards->freebsd-standards Responsible-Changed-By: arundel Responsible-Changed-When: Thu Oct 14 15:37:07 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=11020 From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 15:37:50 2010 Return-Path: Delivered-To: standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEC841065670; Thu, 14 Oct 2010 15:37:50 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9480C8FC16; Thu, 14 Oct 2010 15:37:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EFbowt011939; Thu, 14 Oct 2010 15:37:50 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EFbovv011935; Thu, 14 Oct 2010 15:37:50 GMT (envelope-from arundel) Date: Thu, 14 Oct 2010 15:37:50 GMT Message-Id: <201010141537.o9EFbovv011935@freefall.freebsd.org> To: arundel@FreeBSD.org, standards@FreeBSD.org, freebsd-standards@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: standards/11020: popen does not honor ISO 9899 syntax 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: Thu, 14 Oct 2010 15:37:50 -0000 Synopsis: popen does not honor ISO 9899 syntax Responsible-Changed-From-To: standards->freebsd-standards Responsible-Changed-By: arundel Responsible-Changed-When: Thu Oct 14 15:37:07 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=11020 From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 15:38:29 2010 Return-Path: Delivered-To: standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31EEE1065670; Thu, 14 Oct 2010 15:38:29 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 07BCE8FC0A; Thu, 14 Oct 2010 15:38:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EFcS7E011991; Thu, 14 Oct 2010 15:38:28 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EFcSBn011987; Thu, 14 Oct 2010 15:38:28 GMT (envelope-from arundel) Date: Thu, 14 Oct 2010 15:38:28 GMT Message-Id: <201010141538.o9EFcSBn011987@freefall.freebsd.org> To: arundel@FreeBSD.org, standards@FreeBSD.org, freebsd-standards@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: standards/13364: Patch to wc(1) for Unix 98 compliance. 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: Thu, 14 Oct 2010 15:38:29 -0000 Synopsis: Patch to wc(1) for Unix 98 compliance. Responsible-Changed-From-To: standards->freebsd-standards Responsible-Changed-By: arundel Responsible-Changed-When: Thu Oct 14 15:38:02 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=13364 From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 15:38:29 2010 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31EEE1065670; Thu, 14 Oct 2010 15:38:29 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 07BCE8FC0A; Thu, 14 Oct 2010 15:38:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EFcS7E011991; Thu, 14 Oct 2010 15:38:28 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EFcSBn011987; Thu, 14 Oct 2010 15:38:28 GMT (envelope-from arundel) Date: Thu, 14 Oct 2010 15:38:28 GMT Message-Id: <201010141538.o9EFcSBn011987@freefall.freebsd.org> To: arundel@FreeBSD.org, standards@FreeBSD.org, freebsd-standards@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: standards/13364: Patch to wc(1) for Unix 98 compliance. 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: Thu, 14 Oct 2010 15:38:29 -0000 Synopsis: Patch to wc(1) for Unix 98 compliance. Responsible-Changed-From-To: standards->freebsd-standards Responsible-Changed-By: arundel Responsible-Changed-When: Thu Oct 14 15:38:02 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=13364 From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 15:38:56 2010 Return-Path: Delivered-To: standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A77E1065675; Thu, 14 Oct 2010 15:38:56 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E4A078FC21; Thu, 14 Oct 2010 15:38:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EFctG7012039; Thu, 14 Oct 2010 15:38:55 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EFctvk012035; Thu, 14 Oct 2010 15:38:55 GMT (envelope-from arundel) Date: Thu, 14 Oct 2010 15:38:55 GMT Message-Id: <201010141538.o9EFctvk012035@freefall.freebsd.org> To: arundel@FreeBSD.org, standards@FreeBSD.org, freebsd-standards@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: standards/22210: typeof(passwd->pw_gid) != typeof(group->gr_gid) 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: Thu, 14 Oct 2010 15:38:56 -0000 Synopsis: typeof(passwd->pw_gid) != typeof(group->gr_gid) Responsible-Changed-From-To: standards->freebsd-standards Responsible-Changed-By: arundel Responsible-Changed-When: Thu Oct 14 15:38:39 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=22210 From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 15:38:56 2010 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A77E1065675; Thu, 14 Oct 2010 15:38:56 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E4A078FC21; Thu, 14 Oct 2010 15:38:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EFctG7012039; Thu, 14 Oct 2010 15:38:55 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EFctvk012035; Thu, 14 Oct 2010 15:38:55 GMT (envelope-from arundel) Date: Thu, 14 Oct 2010 15:38:55 GMT Message-Id: <201010141538.o9EFctvk012035@freefall.freebsd.org> To: arundel@FreeBSD.org, standards@FreeBSD.org, freebsd-standards@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: standards/22210: typeof(passwd->pw_gid) != typeof(group->gr_gid) 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: Thu, 14 Oct 2010 15:38:56 -0000 Synopsis: typeof(passwd->pw_gid) != typeof(group->gr_gid) Responsible-Changed-From-To: standards->freebsd-standards Responsible-Changed-By: arundel Responsible-Changed-When: Thu Oct 14 15:38:39 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=22210 From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 15:39:21 2010 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8F231065672; Thu, 14 Oct 2010 15:39:21 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AEDB28FC1D; Thu, 14 Oct 2010 15:39:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EFdLCN012090; Thu, 14 Oct 2010 15:39:21 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EFdLaG012086; Thu, 14 Oct 2010 15:39:21 GMT (envelope-from arundel) Date: Thu, 14 Oct 2010 15:39:21 GMT Message-Id: <201010141539.o9EFdLaG012086@freefall.freebsd.org> To: arundel@FreeBSD.org, standards@FreeBSD.org, freebsd-standards@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: standards/37224: make: $< only set for implicit rules 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: Thu, 14 Oct 2010 15:39:21 -0000 Synopsis: make: $< only set for implicit rules Responsible-Changed-From-To: standards->freebsd-standards Responsible-Changed-By: arundel Responsible-Changed-When: Thu Oct 14 15:39:06 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=37224 From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 15:39:21 2010 Return-Path: Delivered-To: standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8F231065672; Thu, 14 Oct 2010 15:39:21 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AEDB28FC1D; Thu, 14 Oct 2010 15:39:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EFdLCN012090; Thu, 14 Oct 2010 15:39:21 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EFdLaG012086; Thu, 14 Oct 2010 15:39:21 GMT (envelope-from arundel) Date: Thu, 14 Oct 2010 15:39:21 GMT Message-Id: <201010141539.o9EFdLaG012086@freefall.freebsd.org> To: arundel@FreeBSD.org, standards@FreeBSD.org, freebsd-standards@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: standards/37224: make: $< only set for implicit rules 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: Thu, 14 Oct 2010 15:39:21 -0000 Synopsis: make: $< only set for implicit rules Responsible-Changed-From-To: standards->freebsd-standards Responsible-Changed-By: arundel Responsible-Changed-When: Thu Oct 14 15:39:06 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=37224 From owner-freebsd-standards@FreeBSD.ORG Fri Oct 15 14:48:39 2010 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4FC0106564A for ; Fri, 15 Oct 2010 14:48:39 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id 98B9F8FC19 for ; Fri, 15 Oct 2010 14:48:39 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id A39C635A84E; Fri, 15 Oct 2010 16:48:38 +0200 (CEST) Received: by turtle.stack.nl (Postfix, from userid 1677) id 8E6CF1706A; Fri, 15 Oct 2010 16:48:38 +0200 (CEST) Date: Fri, 15 Oct 2010 16:48:38 +0200 From: Jilles Tjoelker To: Kostik Belousov Message-ID: <20101015144838.GB56014@stack.nl> References: <201010091240.o99Ce7AM048178@freefall.freebsd.org> <20101009130850.GY2392@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101009130850.GY2392@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-standards@freebsd.org Subject: Re: standards/151316: lib/libc/string/strerror.c r1.9 breaks POSIX 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, 15 Oct 2010 14:48:39 -0000 On Sat, Oct 09, 2010 at 04:08:50PM +0300, Kostik Belousov wrote: > The often-used idiom is > printf("Error %d %s\n", errno, strerror(errno)); > In case of errno == 0 you get > Error 0: Unknown error > or something else depending on the order of evaluation of the arguments. But if that wrong usage is to be fully supported, strerror() should not fail at all. This option is mentioned in POSIX.1-2008's rationale section for strerror(). This is only sidely related to 0 being a valid input to strerror() or not. -- Jilles Tjoelker