aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/gnu/errlist.awk2
-rw-r--r--sysdeps/mach/hurd/Makefile4
2 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/gnu/errlist.awk b/sysdeps/gnu/errlist.awk
index 6c84b2e4f4..e6ca81a4ad 100644
--- a/sysdeps/gnu/errlist.awk
+++ b/sysdeps/gnu/errlist.awk
@@ -50,8 +50,6 @@ errnoh == 2 && $1 == "@deftypevr" && $2 == "Macro" && $3 == "int" \
errnoh == 3 && $1 == "@comment" && $2 == "errno" \
{
errno = $3 + 0;
- if (errno == 0)
- next;
if (alias[e])
printf "#if defined (%s) && %s != %s\n", e, e, alias[e];
else
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index 200f2b02a5..61b3288d98 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -86,8 +86,8 @@ $(common-objpfx)stamp-errnos: $(hurd)/errnos.awk $(errno.texinfo) \
# Make it unwritable so noone will edit it by mistake.
-chmod a-w $(hurd)/errnos.h-tmp
./$(..)move-if-change $(hurd)/errnos.h-tmp $(hurd)/errnos.h
-# test ! -d CVS || \
-# (cd $(hurd); cvs commit -m'Regenerated from $^' errnos.h)
+ test ! -d CVS || \
+ (cd $(hurd); cvs commit -m'Regenerated from $^' errnos.h)
touch $@
generated += errnos.d stamp-errnos