findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Findutils-patches] [PATCH] Various coding standard fixes.


From: James Youngman
Subject: [Findutils-patches] [PATCH] Various coding standard fixes.
Date: Fri, 2 Apr 2010 01:48:24 +0100

* lib/regextype.c: Don't use HAVE_CONFIG_H.
* doc/find-maint.texi: Remove RCS keywords (they were in an
example security vulnerability announcement).

Signed-off-by: James Youngman <address@hidden>
---
 ChangeLog           |    4 ++++
 doc/find-maint.texi |    1 -
 lib/regextype.c     |    2 --
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 82545c7..14e4409 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,7 +14,11 @@
        * find/fstype.c: Likewise.
        * find/find.c: Likewise.
 
+       Various coding standard fixes.
        * m4/withfts.m4: Quote the first argument of AC_DEFINE.
+       * lib/regextype.c: Don't use HAVE_CONFIG_H.
+       * doc/find-maint.texi: Remove RCS keywords (they were in an
+       example security vulnerability announcement).
 
        Coding standard fix: "Warning" should be "WARNING".
        * find/find.c (dirchange_is_fatal): Change "Warning" to "WARNING".
diff --git a/doc/find-maint.texi b/doc/find-maint.texi
index 8dc3450..4f4dc0f 100644
--- a/doc/find-maint.texi
+++ b/doc/find-maint.texi
@@ -792,7 +792,6 @@ becomes available.    Here is an example alert:-
 @smallexample
 GNU findutils heap buffer overrun (potential privilege escalation)
 
-$Revision$; $Date$
 
 
 I. BACKGROUND
diff --git a/lib/regextype.c b/lib/regextype.c
index 1253d5a..a64e781 100644
--- a/lib/regextype.c
+++ b/lib/regextype.c
@@ -19,9 +19,7 @@
 */
 /* Written by James Youngman, <address@hidden>. */
 
-#if HAVE_CONFIG_H
 # include <config.h>
-#endif
 
 #include <string.h>
 #include <stdio.h>
-- 
1.5.6.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]