Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 02:11:34 -0600
From:      Warner Losh <imp@village.org>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        Brian Somers <brian@Awfulhak.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
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 
Message-ID:  <199909200811.CAA16320@harmony.village.org>
In-Reply-To: Your message of "Mon, 20 Sep 1999 11:05:00 %2B0300." <19990920110500.E52742@relay.ucb.crimea.ua> 
References:  <19990920110500.E52742@relay.ucb.crimea.ua>  <199909200756.IAA02571@keep.lan.Awfulhak.org> <199909200757.BAA16031@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <errno.h>

       [#1]  The  header  <errno.h>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909200811.CAA16320>