From d2fcc3ae358b77391609213e338c7d0c8d9ae86a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 2 Jan 2002 06:38:52 +0000 Subject: [PATCH] 2002-01-01 Roland McGrath * sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching. --- sysdeps/mach/hurd/errnos.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/mach/hurd/errnos.awk b/sysdeps/mach/hurd/errnos.awk index f670b24..cd356e7 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) -- 2.7.4