This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: errno 118 assigned twice (ECANCELED and ENOTSUP)


Hi,

Samuel Thibault, le Sun 22 Jul 2007 13:50:04 +0200, a écrit :
> I forgot to post the regenerated mach/hurd/bits/errno.h, here is a
> patch.

Could this patch be applied? Else BZ #3665 isn't actually fixed... (That
file is _not_ automatically regenerated).

Samuel

2007-07-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	[BZ #3665]
	* sysdeps/mach/hurd/bits/errno.h: Regenerated.

Index: sysdeps/mach/hurd/bits/errno.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/bits/errno.h,v
retrieving revision 1.10
diff -u -p -r1.10 errno.h
--- sysdeps/mach/hurd/bits/errno.h	27 Aug 2002 09:22:45 -0000	1.10
+++ sysdeps/mach/hurd/bits/errno.h	22 Jul 2007 11:28:13 -0000
@@ -212,8 +212,8 @@ enum __error_t_codes
 #define	EPROTO          _HURD_ERRNO (116)/* Protocol error */
 	ETIME           = _HURD_ERRNO (117),
 #define	ETIME           _HURD_ERRNO (117)/* Timer expired */
-	ECANCELED       = _HURD_ERRNO (118),
-#define	ECANCELED       _HURD_ERRNO (118)/* Operation canceled */
+	ECANCELED       = _HURD_ERRNO (119),
+#define	ECANCELED       _HURD_ERRNO (119)/* Operation canceled */
 
 	/* Errors from <mach/message.h>.  */
 	EMACH_SEND_IN_PROGRESS          = 0x10000001,
@@ -297,7 +297,7 @@ enum __error_t_codes
 
 };
 
-#define	_HURD_ERRNOS	119
+#define	_HURD_ERRNOS	120
 
 /* User-visible type of error codes.  It is ok to use `int' or
    `kern_return_t' for these, but with `error_t' the debugger prints


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]