From owner-freebsd-bugs Mon Mar 19 13: 3:46 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id AFFBD37B725 for ; Mon, 19 Mar 2001 13:03:43 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id PAA95759; Mon, 19 Mar 2001 15:01:17 -0500 (EST) (envelope-from wollman) Date: Mon, 19 Mar 2001 15:01:17 -0500 (EST) From: Garrett Wollman Message-Id: <200103192001.PAA95759@khavrinen.lcs.mit.edu> To: G Hasse Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/25904: Error in the printf-function. In-Reply-To: References: <200103191616.LAA93612@khavrinen.lcs.mit.edu> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > And why is there differnces in Linux and FreeBSD? Is there > some right and wrong here? The implementation is allowed to do anything when you invoke undefined behavior (such as passing the wrong types to a variadic function). As Chris Torek once said: If the standard says [things] depend on the phase of the moon, the programmer should be prepared to look out the window as necessary. Again, followups belong in comp.lang.c, not FreeBSD-bugs. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message