diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-10-31 10:02:06 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-10-31 10:32:39 +0100 |
commit | a67377e7f708cf3141210ae4550932709b5262c7 (patch) | |
tree | 35f066f3e082aec663c3587ddd90d1e2f1c5159a /sysdeps/mach | |
parent | 3ed7c33fa2915008ec861f25b2d54a0ccc59ca21 (diff) | |
download | glibc-a67377e7f708cf3141210ae4550932709b5262c7.tar.gz glibc-a67377e7f708cf3141210ae4550932709b5262c7.tar.xz glibc-a67377e7f708cf3141210ae4550932709b5262c7.zip |
hurd: Fix errno* generation
* sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. * sysdeps/gnu/errlist.c (EIEIO): Move text to... * manual/errno.texi (EIEIO): ... here. * sysdeps/gnu/errlist.c (EIEIO): Regenerate. * sysdeps/mach/hurd/bits/errno.h: Regenerate.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/bits/errno.h | 8 | ||||
-rw-r--r-- | sysdeps/mach/hurd/errnos.awk | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/errno.h b/sysdeps/mach/hurd/bits/errno.h index 8096fb9c05..8f2fbfd80f 100644 --- a/sysdeps/mach/hurd/bits/errno.h +++ b/sysdeps/mach/hurd/bits/errno.h @@ -1,9 +1,17 @@ /* This file generated by errnos.awk from errno.texi + stdc-predef.h + libc-symbols.h mach/message.h mach/kern_return.h + mach/i386/kern_return.h + mach/port.h + mach/boolean.h + mach/i386/boolean.h + mach/i386/vm_types.h mach/mig_errors.h device/device_types.h + mach/std_types.h Do not edit this file; edit errnos.awk and regenerate it. */ #ifndef _BITS_ERRNO_H diff --git a/sysdeps/mach/hurd/errnos.awk b/sysdeps/mach/hurd/errnos.awk index dc19350eb0..24e37bdeb5 100644 --- a/sysdeps/mach/hurd/errnos.awk +++ b/sysdeps/mach/hurd/errnos.awk @@ -23,7 +23,8 @@ BEGIN { for (i = 1; i < ARGC; i++) { arg = ARGV[i]; - sub(/.*(manual|include)\//, "", arg) + sub(/.*(manual|include)\//, "", arg); + if (arg ~ /.*errnos.d/) continue; print " " arg; } print " Do not edit this file; edit errnos.awk and regenerate it. */"; |