From owner-freebsd-standards@FreeBSD.ORG Sun Feb 22 08:20:11 2004 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9A4816A4CF for ; Sun, 22 Feb 2004 08:20:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B214A43D1F for ; Sun, 22 Feb 2004 08:20:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1MGKBbv001590 for ; Sun, 22 Feb 2004 08:20:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1MGKBRH001589; Sun, 22 Feb 2004 08:20:11 -0800 (PST) (envelope-from gnats) Date: Sun, 22 Feb 2004 08:20:11 -0800 (PST) Message-Id: <200402221620.i1MGKBRH001589@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Marius Strobl Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marius Strobl List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 16:20:11 -0000 The following reply was made to PR standards/63173; it has been noted by GNATS. From: Marius Strobl To: Andrey Chernov Cc: FreeBSD-gnats-submit@FreeBSD.ORG, ru@FreeBSD.ORG Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc Date: Sun, 22 Feb 2004 17:12:41 +0100 On Sat, Feb 21, 2004 at 09:48:14PM +0300, Andrey Chernov wrote: > On Sat, Feb 21, 2004 at 04:57:06PM +0100, Marius Strobl wrote: > > after applying the patch still doesn't implement getopt(3) and > > therefore replace src/lib/libc/stdlib/getopt.c, i.e. it doesn't > > define REPLACE_GETOPT, yet. This is something that should be taken > > into consideration for FreeBSD 6 (regardless if the patch is applied > > or not). > > Please always consider POSIX as superceeded standard against GNU/Linux. > > It means your patch for header is wrong. If POSIX says that getopt() must > be declared in , it is only place where is must be declared, and > not in etc. If you need its declaration in non-standard header > , must be included, as was done before your patch. > Also please remove all getopt()-related redeclarations from Well, that's exactly the point where I got confused as e.g. according to the Single UNIX Specification Version 2 getsubopt(3) should live in stdlib.h, yet on FreeBSD it's primarily in unistd.h with a second declaration in stdlib.h. :) The intention of the way it's done in OpenBSD and the patch is to declare getopt(3) etc. unconditionally as done by the GNU getopt.h and not in specific namespaces (like __XSI_VISIBLE etc.). However, I don't feel strongly about it either way. I put up a new patch keeping getopt.h the way it was at: ftp://ftp.zeist.de/pub/patches/src_getopt_long_only.diff2 Thanks for having a look at this! From owner-freebsd-standards@FreeBSD.ORG Sun Feb 22 18:37:45 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B1D116A4CE for ; Sun, 22 Feb 2004 18:37:45 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C6A943D1F for ; Sun, 22 Feb 2004 18:37:45 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost.nic.fr [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id i1N2bfDa061914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Sun, 22 Feb 2004 21:37:41 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id i1N2bffP061911; Sun, 22 Feb 2004 21:37:41 -0500 (EST) (envelope-from wollman) Date: Sun, 22 Feb 2004 21:37:41 -0500 (EST) From: Garrett Wollman Message-Id: <200402230237.i1N2bffP061911@khavrinen.lcs.mit.edu> To: Marius Strobl In-Reply-To: <200402221620.i1MGKBRH001589@freefall.freebsd.org> References: <200402221620.i1MGKBRH001589@freefall.freebsd.org> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.37 cc: freebsd-standards@freebsd.org Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 02:37:45 -0000 < said: > The intention of the way it's done in OpenBSD and the patch is to > declare getopt(3) etc. unconditionally as done by the GNU getopt.h and > not in specific namespaces (like __XSI_VISIBLE etc.). If it's not declared the same way in the same place in every version of POSIX ever promulgated, then it needs to be in the appropriate namespace. -GAWollman From owner-freebsd-standards@FreeBSD.ORG Sun Feb 22 19:10:20 2004 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D393516A4CE for ; Sun, 22 Feb 2004 19:10:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC74B43D1D for ; Sun, 22 Feb 2004 19:10:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1N3AKbv072795 for ; Sun, 22 Feb 2004 19:10:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1N3AK90072794; Sun, 22 Feb 2004 19:10:20 -0800 (PST) (envelope-from gnats) Date: Sun, 22 Feb 2004 19:10:20 -0800 (PST) Message-Id: <200402230310.i1N3AK90072794@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Andrey Chernov Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrey Chernov List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 03:10:20 -0000 The following reply was made to PR standards/63173; it has been noted by GNATS. From: Andrey Chernov To: Marius Strobl Cc: FreeBSD-gnats-submit@FreeBSD.ORG, ru@FreeBSD.ORG Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc Date: Mon, 23 Feb 2004 06:01:54 +0300 On Sun, Feb 22, 2004 at 05:12:41PM +0100, Marius Strobl wrote: > Well, that's exactly the point where I got confused as e.g. according > to the Single UNIX Specification Version 2 getsubopt(3) should live in > stdlib.h, yet on FreeBSD it's primarily in unistd.h with a second > declaration in stdlib.h. :) SUSv2 is not eonugh alone, but I see getsubopt() in in POSIX, so we definitely have a bug here (I'll try to fix). -- Andrey Chernov | http://ache.pp.ru/ From owner-freebsd-standards@FreeBSD.ORG Sun Feb 22 19:36:35 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A76F116A4CE for ; Sun, 22 Feb 2004 19:36:35 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0022D43D1D for ; Sun, 22 Feb 2004 19:36:34 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i1N3aUJg041093; Mon, 23 Feb 2004 06:36:30 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i1N3aT71041088; Mon, 23 Feb 2004 06:36:29 +0300 (MSK) (envelope-from ache) Date: Mon, 23 Feb 2004 06:36:29 +0300 From: Andrey Chernov To: Garrett Wollman Message-ID: <20040223033628.GA41038@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Garrett Wollman , Marius Strobl , freebsd-standards@FreeBSD.ORG References: <200402221620.i1MGKBRH001589@freefall.freebsd.org> <200402230237.i1N2bffP061911@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402230237.i1N2bffP061911@khavrinen.lcs.mit.edu> User-Agent: Mutt/1.5.5.1i X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.24.0.4; VDF 6.24.0.14 cc: freebsd-standards@FreeBSD.ORG cc: Marius Strobl Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 03:36:35 -0000 On Sun, Feb 22, 2004 at 09:37:41PM -0500, Garrett Wollman wrote: > > The intention of the way it's done in OpenBSD and the patch is to > > declare getopt(3) etc. unconditionally as done by the GNU getopt.h and > > not in specific namespaces (like __XSI_VISIBLE etc.). > > If it's not declared the same way in the same place in every version > of POSIX ever promulgated, then it needs to be in the appropriate > namespace. The question is really about 3rd party non-standard headers, like GNU ones. I.e. Should we protect all contents there with __XSI_VISIBLE, __POSIX_VISIBLE too or not? -- Andrey Chernov | http://ache.pp.ru/ From owner-freebsd-standards@FreeBSD.ORG Sun Feb 22 19:52:49 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9750B16A4CE for ; Sun, 22 Feb 2004 19:52:49 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56E8D43D1D for ; Sun, 22 Feb 2004 19:52:49 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost.nic.fr [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id i1N3qlDa062408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Sun, 22 Feb 2004 22:52:48 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id i1N3qluf062405; Sun, 22 Feb 2004 22:52:47 -0500 (EST) (envelope-from wollman) Date: Sun, 22 Feb 2004 22:52:47 -0500 (EST) From: Garrett Wollman Message-Id: <200402230352.i1N3qluf062405@khavrinen.lcs.mit.edu> To: Andrey Chernov In-Reply-To: <20040223033628.GA41038@nagual.pp.ru> References: <200402221620.i1MGKBRH001589@freefall.freebsd.org> <200402230237.i1N2bffP061911@khavrinen.lcs.mit.edu> <20040223033628.GA41038@nagual.pp.ru> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.37 cc: freebsd-standards@FreeBSD.ORG Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 03:52:49 -0000 < said: > The question is really about 3rd party non-standard headers, like GNU > ones. I.e. Should we protect all contents there with __XSI_VISIBLE, > __POSIX_VISIBLE too or not? An application including a non-POSIX (or non-ISO) header has no expectation of receiving a POSIX (ISO) namespace. -GAWollman From owner-freebsd-standards@FreeBSD.ORG Sun Feb 22 20:10:20 2004 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 862BA16A4CE for ; Sun, 22 Feb 2004 20:10:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D8E443D31 for ; Sun, 22 Feb 2004 20:10:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1N4AKbv080645 for ; Sun, 22 Feb 2004 20:10:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1N4AKgO080644; Sun, 22 Feb 2004 20:10:20 -0800 (PST) (envelope-from gnats) Date: Sun, 22 Feb 2004 20:10:20 -0800 (PST) Message-Id: <200402230410.i1N4AKgO080644@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Andrey Chernov Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrey Chernov List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 04:10:20 -0000 The following reply was made to PR standards/63173; it has been noted by GNATS. From: Andrey Chernov To: Marius Strobl Cc: FreeBSD-gnats-submit@FreeBSD.ORG, ru@FreeBSD.ORG Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc Date: Mon, 23 Feb 2004 07:04:57 +0300 On Sun, Feb 22, 2004 at 05:12:41PM +0100, Marius Strobl wrote: > > It means your patch for header is wrong. If POSIX says that getopt() must > > be declared in , it is only place where is must be declared, and > > not in etc. If you need its declaration in non-standard header > > , must be included, as was done before your patch. > > Well, that's exactly the point where I got confused as e.g. according It seems now I change my mind a bit. It will be no harm, if we use _GETOPT_DECLARED in both and becayse GNU getopt.h we attempt to mimic to does not suppose to reveal all functions by including getopt.h. I'll take care of that. -- Andrey Chernov | http://ache.pp.ru/ From owner-freebsd-standards@FreeBSD.ORG Mon Feb 23 11:01:49 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AD7F16A518 for ; Mon, 23 Feb 2004 11:01:49 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1020343D2F for ; Mon, 23 Feb 2004 11:01:49 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) i1NJ1mbv035315 for ; Mon, 23 Feb 2004 11:01:48 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1NJ1muv035309 for freebsd-standards@freebsd.org; Mon, 23 Feb 2004 11:01:48 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 23 Feb 2004 11:01:48 -0800 (PST) Message-Id: <200402231901.i1NJ1muv035309@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 19:01:49 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [2001/01/23] misc/24590 standards timezone function not compatible witn Sin o [2001/03/05] bin/25542 standards /bin/sh: null char in quoted string o [2002/02/25] bin/35307 standards standard include files are not standard c o [2003/03/05] bin/48958 standards The type 'bool' has different sizes for C o [2003/04/21] standards/51209standards [PATCH] add a64l()/l64a/l64a_r functions p [2003/06/05] standards/52972standards /bin/sh arithmetic not POSIX compliant o [2003/06/20] standards/53554standards interval timers not cleared in fork() o [2003/07/12] standards/54410standards one-true-awk not POSIX compliant (no exte o [2003/09/15] standards/56906standards Several math(3) functions fail to set err o [2003/12/31] standards/60772standards _Bool and bool should be unsigned o [2004/02/05] standards/62388standards sys/resource.h does not pull in dependenc 11 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [1995/01/11] i386/105 standards Distributed libm (msun) has non-standard o [2000/09/24] bin/21519 standards sys/dir.h should be deprecated some more o [2000/12/05] kern/23304 standards POSIX clock_gettime, clock_getres return o [2001/01/16] bin/24390 standards Replacing old dir-symlinks when using /bi s [2001/06/18] kern/28260 standards UIO_MAXIOV needs to be made public o [2001/11/20] standards/32126standards getopt(3) not Unix-98 conformant s [2002/03/18] standards/36076standards Implementation of POSIX fuser command o [2002/06/13] standards/39256standards [v]snprintf aren't POSIX-conformant for s o [2002/07/09] misc/40378 standards stdlib.h gives needless warnings with -an p [2002/08/12] standards/41576standards POSIX compliance of ln(1) o [2002/10/23] standards/44425standards getcwd() succeeds even if current dir has o [2002/12/09] standards/46119standards Priority problems for SCHED_OTHER using p o [2002/12/23] standards/46504standards Warnings in headers o [2003/06/22] standards/53613standards FreeBSD doesn't define EPROTO o [2003/06/24] bin/53682 standards [PATCH] add fuser(1) utitity o [2003/07/24] standards/54809standards pcvt deficits o [2003/07/24] standards/54833standards more pcvt deficits o [2003/07/25] standards/54839standards pcvt deficits o [2003/07/31] standards/55112standards glob.h, glob_t's gl_pathc should be "size o [2003/09/04] standards/56476standards cd9660 unicode support simple hack o [2003/09/27] standards/57295standards [patch] make does not include cmd line va o [2003/10/12] standards/57911standards fnmatch ("[[:alpha:]]","x", FNM_PATHNAME) o [2003/10/29] standards/58676standards grantpt(3) alters storage used by ptsname o [2003/11/29] standards/59797standards Implement C99's round[f]() math fucntions p [2003/12/26] standards/60597standards FreeBSD's /usr/include lacks of cpio.h o [2004/01/26] standards/61934standards [PATCH] FreeBSD's mailx not completely SU o [2004/02/14] standards/62858standards malloc(0) not C99 compliant o [2004/02/21] standards/63173standards Patch to add getopt_long_only(3) to libc 28 problems total. From owner-freebsd-standards@FreeBSD.ORG Tue Feb 24 00:12:26 2004 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A6B516A4CE; Tue, 24 Feb 2004 00:12:26 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDE0243D2F; Tue, 24 Feb 2004 00:12:25 -0800 (PST) (envelope-from ache@FreeBSD.org) Received: from freefall.freebsd.org (ache@localhost [127.0.0.1]) i1O8CPbv075417; Tue, 24 Feb 2004 00:12:25 -0800 (PST) (envelope-from ache@freefall.freebsd.org) Received: (from ache@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1O8CPlk075413; Tue, 24 Feb 2004 00:12:25 -0800 (PST) (envelope-from ache) Date: Tue, 24 Feb 2004 00:12:25 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <200402240812.i1O8CPlk075413@freefall.freebsd.org> To: marius@alchemy.franken.de, ache@FreeBSD.org, freebsd-standards@FreeBSD.org Subject: Re: standards/63173: Patch to add getopt_long_only(3) to libc X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 08:12:26 -0000 Synopsis: Patch to add getopt_long_only(3) to libc State-Changed-From-To: open->patched State-Changed-By: ache State-Changed-When: Tue Feb 24 00:11:15 PST 2004 State-Changed-Why: Committed into -current http://www.freebsd.org/cgi/query-pr.cgi?pr=63173 From owner-freebsd-standards@FreeBSD.ORG Tue Feb 24 01:56:32 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E382C16A4CE for ; Tue, 24 Feb 2004 01:56:32 -0800 (PST) Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4FB543D39 for ; Tue, 24 Feb 2004 01:56:31 -0800 (PST) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73]) 8.11.1-0.5-michaelw-20030918) with ESMTP id i1O9uUm22311 for ; Tue, 24 Feb 2004 10:56:30 +0100 Received: (from stolz@localhost)i1O9uUVq067738 for standards@freebsd.org; Tue, 24 Feb 2004 10:56:30 +0100 (CET) (envelope-from stolz) Date: Tue, 24 Feb 2004 10:56:30 +0100 From: Volker Stolz To: standards@freebsd.org Message-ID: <20040224095630.GF24849@i2.informatik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.4i Subject: PR standards/53554 -- interval timers not cleared in fork() X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 09:56:33 -0000 Could somebody please review this PR and either give it a thumbs up or down? The proposed patch works perfectly for me. Regards, Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine From owner-freebsd-standards@FreeBSD.ORG Tue Feb 24 06:42:48 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A57F016A4F1; Tue, 24 Feb 2004 06:42:48 -0800 (PST) Received: from mail.tepkom.ru (mail.tepkom.ru [195.9.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8C3143D2D; Tue, 24 Feb 2004 06:42:47 -0800 (PST) (envelope-from wart@mojo.tepkom.ru) Received: from localhost (localhost [127.0.0.1]) by mail.tepkom.ru (Postfix) with SMTP id 8037924BE; Tue, 24 Feb 2004 17:43:29 +0300 (MSK) Received: from mojo.tepkom.ru (mojo.tepkom.ru [195.9.10.30]) by mail.tepkom.ru (Postfix) with ESMTP id 67DB123A9; Tue, 24 Feb 2004 17:43:29 +0300 (MSK) Received: by mojo.tepkom.ru (Postfix, from userid 1000) id 93992639FB; Tue, 24 Feb 2004 17:39:33 +0300 (MSK) Date: Tue, 24 Feb 2004 17:39:33 +0300 From: Wartan Hachaturow To: freebsd-standards@freebsd.org Message-ID: <20040224143933.GA2328@mojo.tepkom.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i cc: jmallett@freebsd.org Subject: SCCS port X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 14:42:48 -0000 Hello. I've created the first draft port of /projects/sccs, maintained by Juli Mallett -- as a first step in filling SCCS gap in our utilities conformance. I'd be glad and really thankful for any comments, blames and flames about it :) The port itself: http://velvet.myxomop.com/~wart/ports/sccs.tar.gz (Note that is fetches the distfile from http://velvet.myxomop.com/~wart/sccs. Current version is 0.1 :) -- Regards, Wartan. "Be different: conform." From owner-freebsd-standards@FreeBSD.ORG Wed Feb 25 15:05:07 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 379CB16A4CE for ; Wed, 25 Feb 2004 15:05:07 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE81343D31 for ; Wed, 25 Feb 2004 15:05:06 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i1PN55GM086844; Wed, 25 Feb 2004 17:05:05 -0600 (CST) (envelope-from dan) Date: Wed, 25 Feb 2004 17:05:05 -0600 From: Dan Nelson To: Volker Stolz Message-ID: <20040225230505.GA84652@dan.emsphone.com> References: <20040224095630.GF24849@i2.informatik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040224095630.GF24849@i2.informatik.rwth-aachen.de> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: standards@freebsd.org Subject: Re: PR standards/53554 -- interval timers not cleared in fork() X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 23:05:07 -0000 In the last episode (Feb 24), Volker Stolz said: > Could somebody please review this PR and either give it a thumbs up > or down? The proposed patch works perfectly for me. It was actually fixed in December. I submitted an almost idendical bugreport in PR 58647, and jhb's patch is exactly the same as yours. Dunno why mine got looked at and yours didn't. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-standards@FreeBSD.ORG Wed Feb 25 16:00:34 2004 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD98E16A4CF for ; Wed, 25 Feb 2004 16:00:34 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C63B843D1F for ; Wed, 25 Feb 2004 16:00:34 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1Q00Ybv089057 for ; Wed, 25 Feb 2004 16:00:34 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1Q00YmS089056; Wed, 25 Feb 2004 16:00:34 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 25 Feb 2004 16:00:34 -0800 (PST) Resent-Message-Id: <200402260000.i1Q00YmS089056@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-standards@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stefan Farfeleder Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D41CD16A4CE for ; Wed, 25 Feb 2004 16:00:03 -0800 (PST) Received: from laika.ifs.tuwien.ac.at (laika.ifs.tuwien.ac.at [128.131.167.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D99943D1D for ; Wed, 25 Feb 2004 16:00:03 -0800 (PST) (envelope-from stefan@fafoe.dyndns.org) Received: from fafoe.narf.at (unknown [212.186.3.235]) by laika.ifs.tuwien.ac.at (Postfix) with ESMTP id 032C420A9 for ; Thu, 26 Feb 2004 01:02:12 +0100 (CET) Received: from frog.fafoe.narf.at (frog.fafoe.narf.at [192.168.2.101]) by fafoe.narf.at (Postfix) with ESMTP id 55169410E; Thu, 26 Feb 2004 00:59:48 +0100 (CET) Received: by frog.fafoe.narf.at (Postfix, from userid 1001) id A3DD57E46; Thu, 26 Feb 2004 00:59:46 +0100 (CET) Message-Id: <20040225235946.A3DD57E46@frog.fafoe.narf.at> Date: Thu, 26 Feb 2004 00:59:46 +0100 (CET) From: Stefan Farfeleder To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: stefan@fafoe.narf.at Subject: standards/63371: [patch] isblank() not in C99/SUSv3 namespace X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Stefan Farfeleder List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 00:00:35 -0000 >Number: 63371 >Category: standards >Synopsis: [patch] isblank() not in C99/SUSv3 namespace >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 25 16:00:34 PST 2004 >Closed-Date: >Last-Modified: >Originator: Stefan Farfeleder >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD frog.fafoe.narf.at 5.2-CURRENT FreeBSD 5.2-CURRENT #25: Mon Feb 23 11:19:34 CET 2004 freebsd@frog.fafoe.narf.at:/freebsd/frog/obj/freebsd/frog/src/sys/FROG i386 >Description: C99 standardised the isblank() macro/function which is currently protected by the __BSD_VISIBLE macro and thus fails to be visible in a strict C99/SUSv3 compilation environment. >How-To-Repeat: $ cat isblank.c #include int main(void) { return isblank('a'); } $ c99 -D_C99_SOURCE isblank.c isblank.c: In function `main': isblank.c:2: warning: implicit declaration of function `isblank' $ c99 -D_POSIX_C_SOURCE=200112L isblank.c isblank.c: In function `main': isblank.c:2: warning: implicit declaration of function `isblank' >Fix: --- isblank.diff begins here --- Index: src/include/ctype.h =================================================================== RCS file: /usr/home/ncvs/src/include/ctype.h,v retrieving revision 1.24 diff -u -r1.24 ctype.h --- src/include/ctype.h 9 Sep 2002 05:38:05 -0000 1.24 +++ src/include/ctype.h 25 Feb 2004 23:18:33 -0000 @@ -89,9 +89,12 @@ int toascii(int); #endif +#if __BSD_VISIBLE || __ISO_C_VISIBLE >= 1999 +int isblank(int); +#endif + #if __BSD_VISIBLE int digittoint(int); -int isblank(int); int ishexnumber(int); int isideogram(int); int isnumber(int); @@ -133,9 +136,12 @@ #define toascii(c) ((c) & 0x7F) #endif +#if __BSD_VISIBLE || __ISO_C_VISIBLE >= 1999 +#define isblank(c) __istype((c), _CTYPE_B) +#endif + #if __BSD_VISIBLE #define digittoint(c) __maskrune((c), 0xFF) -#define isblank(c) __istype((c), _CTYPE_B) #define ishexnumber(c) __istype((c), _CTYPE_X) #define isideogram(c) __istype((c), _CTYPE_I) #define isnumber(c) __istype((c), _CTYPE_D) --- isblank.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-standards@FreeBSD.ORG Thu Feb 26 06:40:07 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 328D216A4CE; Thu, 26 Feb 2004 06:40:07 -0800 (PST) Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80D7B43D31; Thu, 26 Feb 2004 06:40:05 -0800 (PST) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73]) 8.11.1-0.5-michaelw-20030918) with ESMTP id i1QEe4m15256; Thu, 26 Feb 2004 15:40:04 +0100 Received: (from stolz@localhost)i1QEdwgP049730; Thu, 26 Feb 2004 15:39:58 +0100 (CET) (envelope-from stolz) Date: Thu, 26 Feb 2004 15:39:58 +0100 From: Volker Stolz To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-standards@FreeBSD.org Message-ID: <20040226143958.GA49712@i2.informatik.rwth-aachen.de> References: <200306201421.h5KELfUh011622@menelaos.informatik.rwth-aachen.de> <200306201430.h5KEUBBf022046@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306201430.h5KEUBBf022046@freefall.freebsd.org> X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.4i cc: obraun@FreeBSD.org Subject: Re: standards/53554: interval timers not cleared in fork() X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 14:40:07 -0000 > http://www.freebsd.org/cgi/query-pr.cgi?pr=53554 > > >Category: standards > >Responsible: freebsd-standards > >Synopsis: interval timers not cleared in fork() > >Arrival-Date: Fri Jun 20 07:30:11 PDT 2003 This PR can be closed. Reason: Committed/MFCed with standards/58647. -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine From owner-freebsd-standards@FreeBSD.ORG Thu Feb 26 06:40:20 2004 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF8E016A4D4 for ; Thu, 26 Feb 2004 06:40:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9B1543D39 for ; Thu, 26 Feb 2004 06:40:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1QEeKbv073682 for ; Thu, 26 Feb 2004 06:40:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1QEeKQF073680; Thu, 26 Feb 2004 06:40:20 -0800 (PST) (envelope-from gnats) Date: Thu, 26 Feb 2004 06:40:20 -0800 (PST) Message-Id: <200402261440.i1QEeKQF073680@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Volker Stolz Subject: Re: standards/53554: interval timers not cleared in fork() X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Volker Stolz List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 14:40:21 -0000 The following reply was made to PR standards/53554; it has been noted by GNATS. From: Volker Stolz To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-standards@FreeBSD.org Cc: obraun@FreeBSD.org Subject: Re: standards/53554: interval timers not cleared in fork() Date: Thu, 26 Feb 2004 15:39:58 +0100 > http://www.freebsd.org/cgi/query-pr.cgi?pr=53554 > > >Category: standards > >Responsible: freebsd-standards > >Synopsis: interval timers not cleared in fork() > >Arrival-Date: Fri Jun 20 07:30:11 PDT 2003 This PR can be closed. Reason: Committed/MFCed with standards/58647. -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine From owner-freebsd-standards@FreeBSD.ORG Thu Feb 26 06:52:14 2004 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C3716A4CE; Thu, 26 Feb 2004 06:52:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D31043D1D; Thu, 26 Feb 2004 06:52:14 -0800 (PST) (envelope-from obraun@FreeBSD.org) Received: from freefall.freebsd.org (obraun@localhost [127.0.0.1]) i1QEqEbv089094; Thu, 26 Feb 2004 06:52:14 -0800 (PST) (envelope-from obraun@freefall.freebsd.org) Received: (from obraun@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1QEqETJ089090; Thu, 26 Feb 2004 06:52:14 -0800 (PST) (envelope-from obraun) Date: Thu, 26 Feb 2004 06:52:14 -0800 (PST) From: Oliver Braun Message-Id: <200402261452.i1QEqETJ089090@freefall.freebsd.org> To: stolz@i2.informatik.rwth-aachen.de, obraun@FreeBSD.org, freebsd-standards@FreeBSD.org Subject: Re: standards/53554: interval timers not cleared in fork() X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 14:52:14 -0000 Synopsis: interval timers not cleared in fork() State-Changed-From-To: open->closed State-Changed-By: obraun State-Changed-When: Thu Feb 26 06:51:41 PST 2004 State-Changed-Why: Submitters request. http://www.freebsd.org/cgi/query-pr.cgi?pr=53554