From owner-freebsd-standards Mon Nov 4 8: 4:25 2002 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 94CEC37B401; Mon, 4 Nov 2002 08:04:24 -0800 (PST) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AD1E43E3B; Mon, 4 Nov 2002 08:04:23 -0800 (PST) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from naos (naos [128.130.111.28]) by vexpert.dbai.tuwien.ac.at (8.12.6/8.12.6) with ESMTP id gA4G43GX021268; Mon, 4 Nov 2002 17:04:03 +0100 (CET) Date: Mon, 4 Nov 2002 17:04:00 +0100 (CET) From: Gerald Pfeifer To: Bruce Evans Cc: "M. Warner Losh" , "David O'Brien" , Subject: Re: MFCing stdlib.h and stddef.h In-Reply-To: <20020808165908.N8452-100000@gamplex.bde.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 8 Aug 2002, Bruce Evans wrote: > On Wed, 7 Aug 2002, M. Warner Losh wrote: >> PR 40402 is interesting and brings to light a small problem. >> [...] >> g++, and I think most other modern C++ compilers, supports long long >> as an extension to the language. -pedantic turns these extensions off >> (or at least warns about them). I'm not sure what we can do about >> that. >> >> Since the compiler is correctly flagging an extension, I closed the >> bug. I'm not sure what to do about this disconnect between C++ and C >> standards. Comments from the standards@ people? > -current has a temporary fix for this in rev.1.46 of and > associated changes. Could this fix be backported to -STABLE? 4.7-RELEASE still warns about this, which is not really nice to have in a system header. Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Mon Nov 4 17:10: 4 2002 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 8A9C437B40B for ; Mon, 4 Nov 2002 17:10:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 464BD43E4A for ; Mon, 4 Nov 2002 17:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA51A3x3006010 for ; Mon, 4 Nov 2002 17:10:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA51A3fB006009; Mon, 4 Nov 2002 17:10:03 -0800 (PST) Date: Mon, 4 Nov 2002 17:10:03 -0800 (PST) Message-Id: <200211050110.gA51A3fB006009@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: Archie Cobbs Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Reply-To: Archie Cobbs Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following reply was made to PR standards/43335; it has been noted by GNATS. From: Archie Cobbs To: freebsd-gnats-submit@FreeBSD.org, avg@icyb.net.ua Cc: Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Date: Mon, 04 Nov 2002 17:03:45 -0800 I've committed fixes for the two write(2) bugs: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c.diff?r1=1.20&r2=1.21 I'll leave the execve() bug for others to consider; it's not clear what the right thing is. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Mon Nov 4 20:20: 4 2002 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 66E3337B401 for ; Mon, 4 Nov 2002 20:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C0443E4A for ; Mon, 4 Nov 2002 20:20:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA54K2x3087246 for ; Mon, 4 Nov 2002 20:20:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA54K2xf087245; Mon, 4 Nov 2002 20:20:02 -0800 (PST) Date: Mon, 4 Nov 2002 20:20:02 -0800 (PST) Message-Id: <200211050420.gA54K2xf087245@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: Andriy Gapon Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Reply-To: Andriy Gapon Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following reply was made to PR standards/43335; it has been noted by GNATS. From: Andriy Gapon To: Archie Cobbs Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Date: Mon, 04 Nov 2002 23:10:35 -0500 (EST) On Mon, 4 Nov 2002, Archie Cobbs wrote: > I've committed fixes for the two write(2) bugs: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c.diff?r1=1.20&r2=1.21 > > I'll leave the execve() bug for others to consider; it's not clear > what the right thing is. Thanks a lot, Archie. execve() patch is to leave alone descriptors which have close-on-exec flag set, it must :-) be correct since from point of view of such descriptors there are no execs in the world. Thanks again. -- Andriy Gapon * "The worst part of communication is the illusion that it has actually occurred". M. Jenkins. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Fri Nov 8 16:10: 6 2002 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 976C337B401 for ; Fri, 8 Nov 2002 16:10:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA56D43E3B for ; Fri, 8 Nov 2002 16:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA90A2x3026827 for ; Fri, 8 Nov 2002 16:10:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA90A2Cg026826; Fri, 8 Nov 2002 16:10:02 -0800 (PST) Date: Fri, 8 Nov 2002 16:10:02 -0800 (PST) Message-Id: <200211090010.gA90A2Cg026826@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: Andriy Gapon Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Reply-To: Andriy Gapon Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following reply was made to PR standards/43335; it has been noted by GNATS. From: Andriy Gapon To: Archie Cobbs Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Date: Fri, 08 Nov 2002 19:07:59 -0500 (EST) Just looked into uthread_writev.c, appears writev() needs the same patch as write() too. -- Andriy Gapon * "The worst part of communication is the illusion that it has actually occurred". M. Jenkins. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sat Nov 9 0:30: 4 2002 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 0B53737B401 for ; Sat, 9 Nov 2002 00:30:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8CBC43E9C for ; Sat, 9 Nov 2002 00:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA98U2x3041507 for ; Sat, 9 Nov 2002 00:30:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA98U2S3041506; Sat, 9 Nov 2002 00:30:02 -0800 (PST) Date: Sat, 9 Nov 2002 00:30:02 -0800 (PST) Message-Id: <200211090830.gA98U2S3041506@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: Andriy Gapon Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Reply-To: Andriy Gapon Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following reply was made to PR standards/43335; it has been noted by GNATS. From: Andriy Gapon To: Archie Cobbs Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Date: Fri, 08 Nov 2002 17:18:36 -0500 (EST) On Mon, 4 Nov 2002, Archie Cobbs wrote: > I've committed fixes for the two write(2) bugs: > http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c.diff?r1=1.20&r2=1.21 Archie, should this fix go into stable too ? -- Andriy Gapon * "The worst part of communication is the illusion that it has actually occurred". M. Jenkins. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message