aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-07-09 05:02:06 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-07-09 05:02:06 +0000
commit18c75117c20d721af72a6cc1755520a7074db8cb (patch)
tree300ae7df61e30d7966e468eb0f98d41d1a73b6be /sysdeps/gnu
parentf8fc0dd6495308582e5a098ee4488839779d6c55 (diff)
downloadglibc-18c75117c20d721af72a6cc1755520a7074db8cb.tar
glibc-18c75117c20d721af72a6cc1755520a7074db8cb.tar.gz
glibc-18c75117c20d721af72a6cc1755520a7074db8cb.tar.bz2
glibc-18c75117c20d721af72a6cc1755520a7074db8cb.zip
*** empty log message ***
Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO, PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise. (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise. Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> * sysdeps/mach/hurd/errnos.awk: Skip entries where the error is 0. The "placeholder" entries recently added to errno.texi convert to zero since `???/' is at the front of them. * sysdeps/gnu/errlist.awk (errnoh): Likewise. * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm __const to conform with unistd.h. * posix/regex.c (re_comp, re_exec): Use weak_function as keyword in function defns instead of weak_symbol (NAME) after the defn. * stdlib/stdlib.h (random): Declare return type to be int32_t.
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r--sysdeps/gnu/errlist.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/gnu/errlist.awk b/sysdeps/gnu/errlist.awk
index e6ca81a4ad..6c84b2e4f4 100644
--- a/sysdeps/gnu/errlist.awk
+++ b/sysdeps/gnu/errlist.awk
@@ -50,6 +50,8 @@ 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