[Glibc-bsd-commits] r1385 - trunk/glibc-2.3-head/sysdeps/kfreebsd/bits

Aurelien Jarno aurel32 at costa.debian.org
Mon Mar 20 23:31:42 UTC 2006


Author: aurel32
Date: 2006-03-20 23:31:41 +0000 (Mon, 20 Mar 2006)
New Revision: 1385

Modified:
   trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/errno.h
Log:
Revert r1244 (definition of ENODATA and EDOOFUS). This violates IEEE1003.1-2004 which
states that the values shall be unique, and this breaks some programs.



Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/errno.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/errno.h	2006-03-20 18:25:22 UTC (rev 1384)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/errno.h	2006-03-20 23:31:41 UTC (rev 1385)
@@ -148,10 +148,8 @@
 #define	ECANCELED	85		/* Operation canceled */
 #define	EILSEQ		86		/* Illegal byte sequence */
 #define	ENOATTR		87		/* Attribute not found */
-#define ENODATA 	ENOATTR
 
 #define EDOOFUS		88		/* Programming error */
-#define EGREGIOUS	EDOOFUS
 
 #define	EBADMSG		89		/* Bad message */
 #define	EMULTIHOP	90		/* Multihop attempted */




More information about the Glibc-bsd-commits mailing list