From owner-cvs-all Mon Sep 20 1:12:36 1999 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B9D3614CFF; Mon, 20 Sep 1999 01:12:26 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id CAA94901; Mon, 20 Sep 1999 02:12:21 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id CAA16320; Mon, 20 Sep 1999 02:11:34 -0600 (MDT) Message-Id: <199909200811.CAA16320@harmony.village.org> To: Ruslan Ermilov Subject: Re: cvs commit: src/usr.sbin/ppp arp.c bundle.c chat.c command.c defs.c exec.c i4b.c iface.c ip.c ipcp.c mp.c physical.c prompt.c radius.c route.c server.c tcp.c tty.c tun.c udp.c Cc: Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Mon, 20 Sep 1999 11:05:00 +0300." <19990920110500.E52742@relay.ucb.crimea.ua> References: <19990920110500.E52742@relay.ucb.crimea.ua> <199909200756.IAA02571@keep.lan.Awfulhak.org> <199909200757.BAA16031@harmony.village.org> Date: Mon, 20 Sep 1999 02:11:34 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <19990920110500.E52742@relay.ucb.crimea.ua> Ruslan Ermilov writes: : http://www.freebsd.org/cgi/cvsweb.cgi/syssrc/sys/sys/errno.h.diff?r1=1.20&r2=1.21&cvsroot=netbsd Odd that. It does remove the errno.h declearation. The draft standard says: 7.5 Errors [#1] The header defines several macros, all relating to the reporting of error conditions. [#2] The macros are EDOM EILSEQ ERANGE which expand to integer constant expressions with type int, distinct positive values, and which are suitable for use in #if preprocessing directives; and errno which expands to a modifiable lvalue157) that has type int, the value of which is set to a positive error number by several library functions. It is unspecified whether errno is a macro or an identifier declared with external linkage. If a macro definition is suppressed in order to access an actual object, or a program defines an identifier with the name errno, the behavior is undefined. Which seems fairly clear to me that this is required... However, you are quoting me sys/sys/errno.h, which is different than include/errno.h, which was what I was quoting. Warnr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message