aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 dab76ab..f61821d 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 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