diff options
author | Roland McGrath <roland@gnu.org> | 1996-07-18 08:43:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-07-18 08:43:26 +0000 |
commit | 49b986270035c7f86c3dc85383fd1da2e413fef9 (patch) | |
tree | 5b1236203c804457e180793a67e3e0e4b489a3d8 /sysdeps/mach/hurd | |
parent | d7bca0d30b5d3c8ae8421a1994ba24b1b56370d7 (diff) | |
download | glibc-49b986270035c7f86c3dc85383fd1da2e413fef9.tar.gz glibc-49b986270035c7f86c3dc85383fd1da2e413fef9.tar.xz glibc-49b986270035c7f86c3dc85383fd1da2e413fef9.zip |
Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com> cvs/libc-960718
* sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0 check. mib's clueless hacking broke it. Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir). Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com> * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... * sysdeps/alpha/elf/start.S: here. * misc/sys/ustat.h: New file. * misc/ustat.h: Ditto. * sysdeps/generic/ustatbits.h: Ditto. * libc-orig/sysdeps/stub/ustat.c: Ditto. * sysdeps/unix/sysv/linux/ustatbits.h: Ditto. * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and ustatbits.h. (routines): Mention ustat. * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in alphabetically correct place. Mention ustat. * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a common symbol (makes errno accessible from gdb). * login/pututline_r.c (pututline_r): Test ut_id in repositioning test, not ut_type. * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in separate loop from search for UT_ID. Fix code so it is in sync with Unix man page. * login/getutline_r.c (getutline_r): Stop searching only if ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com> * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to avoid duplicate declarations. Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com> * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux and alpha-gnu-linuxecoff targets. Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com> * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport(). Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com> * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead of int. * resolv/res_comp.c (res_hnok): Use empty statement in place of NULL (which generates a "useless expression" warning in gcc).
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/errnos.awk | 8 | ||||
-rw-r--r-- | sysdeps/mach/hurd/errnos.h | 22 |
2 files changed, 17 insertions, 13 deletions
diff --git a/sysdeps/mach/hurd/errnos.awk b/sysdeps/mach/hurd/errnos.awk index 5c88d11210..100e4b1114 100644 --- a/sysdeps/mach/hurd/errnos.awk +++ b/sysdeps/mach/hurd/errnos.awk @@ -54,15 +54,15 @@ errnoh == 2 && $1 == "@deftypevr" && $2 == "Macro" && $3 == "int" \ { ++errnoh; e = $4; next; } errnoh == 3 && $1 == "@comment" && $2 == "errno" { - errno = $3 + 0; - if (errno == 0) - next; - if (errno > maxerrno) maxerrno = errno; if (e == "EWOULDBLOCK") { print "#define EWOULDBLOCK EAGAIN /* Operation would block */"; next; } + errno = $3 + 0; + if (errno == 0) + next; + if (errno > maxerrno) maxerrno = errno; x = sprintf ("%-40s/*%s */", sprintf ("%-24s%s", "#define\t" e, "_HURD_ERRNO (" errno ")"), etext); diff --git a/sysdeps/mach/hurd/errnos.h b/sysdeps/mach/hurd/errnos.h index 2ec061596a..b14c98ab88 100644 --- a/sysdeps/mach/hurd/errnos.h +++ b/sysdeps/mach/hurd/errnos.h @@ -42,7 +42,7 @@ enum __error_t_codes ENOTBLK = _HURD_ERRNO (15), #define ENOTBLK _HURD_ERRNO (15)/* Block device required */ EBUSY = _HURD_ERRNO (16), -#define EBUSY _HURD_ERRNO (16)/* Device busy */ +#define EBUSY _HURD_ERRNO (16)/* Device or resource busy */ EEXIST = _HURD_ERRNO (17), #define EEXIST _HURD_ERRNO (17)/* File exists */ EXDEV = _HURD_ERRNO (18), @@ -103,11 +103,11 @@ enum __error_t_codes EPFNOSUPPORT = _HURD_ERRNO (46), #define EPFNOSUPPORT _HURD_ERRNO (46)/* Protocol family not supported */ EAFNOSUPPORT = _HURD_ERRNO (47), -#define EAFNOSUPPORT _HURD_ERRNO (47)/* Address family not supported by protocol family */ +#define EAFNOSUPPORT _HURD_ERRNO (47)/* Address family not supported by protocol */ EADDRINUSE = _HURD_ERRNO (48), #define EADDRINUSE _HURD_ERRNO (48)/* Address already in use */ EADDRNOTAVAIL = _HURD_ERRNO (49), -#define EADDRNOTAVAIL _HURD_ERRNO (49)/* Can't assign requested address */ +#define EADDRNOTAVAIL _HURD_ERRNO (49)/* Cannot assign requested address */ ENETDOWN = _HURD_ERRNO (50), #define ENETDOWN _HURD_ERRNO (50)/* Network is down */ ENETUNREACH = _HURD_ERRNO (51), @@ -121,15 +121,15 @@ enum __error_t_codes ENOBUFS = _HURD_ERRNO (55), #define ENOBUFS _HURD_ERRNO (55)/* No buffer space available */ EISCONN = _HURD_ERRNO (56), -#define EISCONN _HURD_ERRNO (56)/* Socket is already connected */ +#define EISCONN _HURD_ERRNO (56)/* Transport endpoint is already connected */ ENOTCONN = _HURD_ERRNO (57), -#define ENOTCONN _HURD_ERRNO (57)/* Socket is not connected */ +#define ENOTCONN _HURD_ERRNO (57)/* Transport endpoint is not connected */ EDESTADDRREQ = _HURD_ERRNO (39), #define EDESTADDRREQ _HURD_ERRNO (39)/* Destination address required */ ESHUTDOWN = _HURD_ERRNO (58), -#define ESHUTDOWN _HURD_ERRNO (58)/* Can't send after socket shutdown */ +#define ESHUTDOWN _HURD_ERRNO (58)/* Cannot send after transport endpoint shutdown */ ETOOMANYREFS = _HURD_ERRNO (59), -#define ETOOMANYREFS _HURD_ERRNO (59)/* Too many references: can't splice */ +#define ETOOMANYREFS _HURD_ERRNO (59)/* Too many references: cannot splice */ ETIMEDOUT = _HURD_ERRNO (60), #define ETIMEDOUT _HURD_ERRNO (60)/* Connection timed out */ ECONNREFUSED = _HURD_ERRNO (61), @@ -153,7 +153,7 @@ enum __error_t_codes ESTALE = _HURD_ERRNO (70), #define ESTALE _HURD_ERRNO (70)/* Stale NFS file handle */ EREMOTE = _HURD_ERRNO (71), -#define EREMOTE _HURD_ERRNO (71)/* Too many levels of remote in path */ +#define EREMOTE _HURD_ERRNO (71)/* Object is remote */ EBADRPC = _HURD_ERRNO (72), #define EBADRPC _HURD_ERRNO (72)/* RPC struct is bad */ ERPCMISMATCH = _HURD_ERRNO (73), @@ -174,6 +174,8 @@ enum __error_t_codes #define ENEEDAUTH _HURD_ERRNO (81)/* Need authenticator */ ENOSYS = _HURD_ERRNO (78), #define ENOSYS _HURD_ERRNO (78)/* Function not implemented */ + EILSEQ = _HURD_ERRNO (106), +#define EILSEQ _HURD_ERRNO (106)/* Invalid or incomplete multibyte or wide character */ EBACKGROUND = _HURD_ERRNO (100), #define EBACKGROUND _HURD_ERRNO (100)/* Inappropriate operation for background process */ EDIED = _HURD_ERRNO (101), @@ -240,6 +242,8 @@ enum __error_t_codes EKERN_RIGHT_EXISTS = 21, EKERN_INVALID_HOST = 22, EKERN_MEMORY_PRESENT = 23, + EKERN_WRITE_PROTECTION_FAILURE = 24, + EKERN_TERMINATED = 26, /* Errors from <mach/mig_errors.h>. */ EMIG_TYPE_ERROR = -300, /* client type check failure */ @@ -267,7 +271,7 @@ enum __error_t_codes }; -#define _HURD_ERRNOS 106 +#define _HURD_ERRNOS 107 /* 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 |