[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Various coding standard fixes.
From: |
James Youngman |
Subject: |
[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
- [PATCH] Update copyright years, James Youngman, 2010/04/01
- [PATCH] Use the maintainer-makefile module., James Youngman, 2010/04/01
- [PATCH] Update copyright years, James Youngman, 2010/04/01
- [PATCH] Switch from GNU Free Documentation License 1.2 to 1.3., James Youngman, 2010/04/01
- [PATCH] Regenerate doc/regexprops.texi, James Youngman, 2010/04/01
- [PATCH] Avoid false-positive of GPL_version check in maint.mk., James Youngman, 2010/04/01
- [PATCH] Remove useless if conditionals before calls to 'free'., James Youngman, 2010/04/01
- [PATCH] Coding standard fix: "Warning" should be "WARNING" or "warning"., James Youngman, 2010/04/01
- [PATCH] Quote the first argument of AC_DEFINE., James Youngman, 2010/04/01
- [PATCH] Don't define S_IS*; include <sys/stat.h> instead., James Youngman, 2010/04/01
- [PATCH] Various coding standard fixes.,
James Youngman <=
- [PATCH] Add customisation of the behaviour of "make syntax-check"., James Youngman, 2010/04/01
- Re: [PATCH] Don't define S_IS*; include <sys/stat.h> instead., James Youngman, 2010/04/03