chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / patches / hurd-i386 / submitted-ECANCELED.diff
1 Regenerate errnos.
2
3 http://www.cygwin.com/ml/libc-alpha/2007-08/msg00050.html
4
5 ---
6  sysdeps/mach/hurd/bits/errno.h |    6 +++---
7  1 file changed, 3 insertions(+), 3 deletions(-)
8
9 --- a/sysdeps/mach/hurd/bits/errno.h
10 +++ b/sysdeps/mach/hurd/bits/errno.h
11 @@ -212,8 +212,8 @@
12  #define        EPROTO          _HURD_ERRNO (116)/* Protocol error */
13         ETIME           = _HURD_ERRNO (117),
14  #define        ETIME           _HURD_ERRNO (117)/* Timer expired */
15 -       ECANCELED       = _HURD_ERRNO (118),
16 -#define        ECANCELED       _HURD_ERRNO (118)/* Operation canceled */
17 +       ECANCELED       = _HURD_ERRNO (119),
18 +#define        ECANCELED       _HURD_ERRNO (119)/* Operation canceled */
19  
20         /* Errors from <mach/message.h>.  */
21         EMACH_SEND_IN_PROGRESS          = 0x10000001,
22 @@ -297,7 +297,7 @@
23  
24  };
25  
26 -#define        _HURD_ERRNOS    119
27 +#define        _HURD_ERRNOS    120
28  
29  /* User-visible type of error codes.  It is ok to use `int' or
30     `kern_return_t' for these, but with `error_t' the debugger prints