summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-09 11:21:20 +0000
committerRoland McGrath <roland@gnu.org>1996-07-09 11:21:20 +0000
commit20121a6ac20809e8472347163344c2e9ffe70f35 (patch)
treed1e7c0a95d44bd9303789f17de020087290ab731
parent3dbe15814da9f55274105b9b305941e573499576 (diff)
* 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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/gnu/errlist.awk2
-rw-r--r--sysdeps/mach/hurd/Makefile4
3 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index dab76abdaa..f61821d435 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
+ * 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/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
before using it in lhs of weak_alias.
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