aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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 /sysdeps
parent3dbe15814da9f55274105b9b305941e573499576 (diff)
downloadglibc-20121a6ac20809e8472347163344c2e9ffe70f35.tar
glibc-20121a6ac20809e8472347163344c2e9ffe70f35.tar.gz
glibc-20121a6ac20809e8472347163344c2e9ffe70f35.tar.bz2
glibc-20121a6ac20809e8472347163344c2e9ffe70f35.zip
* 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.
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