errno 118 assigned twice (ECANCELED and ENOTSUP)

Thomas Schwinge tschwinge@gnu.org
Tue Nov 13 00:30:00 GMT 2007


Hello!

Is there any problem w.r.t. applying the following patch?  This is simply
the result of running `make' now that the `manual/errno.texi' changes
have been installed (months ago already, actually).
<http://sourceware.org/bugzilla/show_bug.cgi?id=3665> can finally be
closed afterwards.


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

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

diff --git a/sysdeps/mach/hurd/bits/errno.h b/sysdeps/mach/hurd/bits/errno.h
index a7d57ad..3b6fe76 100644
--- a/sysdeps/mach/hurd/bits/errno.h
+++ b/sysdeps/mach/hurd/bits/errno.h
@@ -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
#v-


Regards,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20071113/5509577f/attachment.sig>


More information about the Libc-alpha mailing list