about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-01-02 06:38:52 +0000
committerRoland McGrath <roland@gnu.org>2002-01-02 06:38:52 +0000
commitd2fcc3ae358b77391609213e338c7d0c8d9ae86a (patch)
treecbb3a0b1c1cb32f1d5ad679bafbcca7b510e66e2 /sysdeps
parent3327b955a80211ccf6219107f8a60ee80289c21c (diff)
downloadglibc-d2fcc3ae358b77391609213e338c7d0c8d9ae86a.tar.gz
glibc-d2fcc3ae358b77391609213e338c7d0c8d9ae86a.tar.xz
glibc-d2fcc3ae358b77391609213e338c7d0c8d9ae86a.zip
2002-01-01 Roland McGrath <roland@frob.com>
	* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/errnos.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/errnos.awk b/sysdeps/mach/hurd/errnos.awk
index f670b24afb..cd356e7fb9 100644
--- a/sysdeps/mach/hurd/errnos.awk
+++ b/sysdeps/mach/hurd/errnos.awk
@@ -1,4 +1,4 @@
-# Copyright (C) 1991,92,93,94,95,96,97,2000 Free Software Foundation, Inc.
+# Copyright (C) 1991,92,93,94,95,96,97,2000, 2001 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -113,7 +113,7 @@ in_mig_errors && $1 == "#endif" && $3 == "_MACH_MIG_ERRORS_H_" \
   }
 
 (in_mig_errors && $1 == "#define" && $3 <= -300) || \
-(in_device_errors && $1 == "#define") \
+(in_device_errors && $1 == "#define" && /D_/ && NF > 3) \
   {
     comment = "";
     for (i = 4; i <= NF; ++i)