about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/errnos.awk
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-10-31 10:02:06 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-10-31 10:32:39 +0100
commita67377e7f708cf3141210ae4550932709b5262c7 (patch)
tree35f066f3e082aec663c3587ddd90d1e2f1c5159a /sysdeps/mach/hurd/errnos.awk
parent3ed7c33fa2915008ec861f25b2d54a0ccc59ca21 (diff)
downloadglibc-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/hurd/errnos.awk')
-rw-r--r--sysdeps/mach/hurd/errnos.awk3
1 files changed, 2 insertions, 1 deletions
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.  */";