2002-01-01 Roland McGrath <roland@frob.com>
authorRoland McGrath <roland@gnu.org>
Wed, 2 Jan 2002 06:38:52 +0000 (06:38 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 2 Jan 2002 06:38:52 +0000 (06:38 +0000)
* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.

sysdeps/mach/hurd/errnos.awk

index f670b24..cd356e7 100644 (file)
@@ -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)