From 20121a6ac20809e8472347163344c2e9ffe70f35 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 9 Jul 1996 11:21:20 +0000 Subject: * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds. * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The sysdeps/mach/hurd/errnos.awk bug fix was the only correct change. --- sysdeps/gnu/errlist.awk | 2 -- sysdeps/mach/hurd/Makefile | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/gnu/errlist.awk b/sysdeps/gnu/errlist.awk index 6c84b2e..e6ca81a 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 200f2b0..61b3288 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 -- cgit v1.1