[PATCH] Remove useless if conditionals before calls to 'free'.

2010-04-01 Thread James Youngman
* lib/nextelem.c (next_element): Remove useless if-before-free. * lib/buildcmd.c (bc_do_exec): Likewise. * find/find.c (process_dir): Likewise. Signed-off-by: James Youngman --- ChangeLog |5 + find/find.c|6 ++ lib/buildcmd.c |3 +-- lib/nextelem.c |3 +-- 4 fil

[PATCH] Switch from GNU Free Documentation License 1.2 to 1.3.

2010-04-01 Thread James Youngman
* NEWS: Update GFDL version. * README-hacking: Likewise. * doc/find-maint.texi: Likewise. * lib/regexprops.c: Likewise (though the license being changed is the license for the output). Signed-off-by: James Youngman --- ChangeLog |7 +++ NEWS|2 +- README-hac

[PATCH] Don't define S_IS*; include instead.

2010-04-01 Thread James Youngman
* lib/modetype.h: Remove (all it does is define S_IS*). * lib/Makefile.am (EXTRA_DIST): Remove modetype.h. * lib/listfile.c: Don't define S_IS* macros. * find/pred.c: Don't include "modetype.h". * find/parser.c: Likewise. * find/ftsfind.c: Likewise. * find/fstype.c: Likewise. * find/find.c: Likewis

[PATCH] Avoid false-positive of GPL_version check in maint.mk.

2010-04-01 Thread James Youngman
* import-gnulib.sh (usage): Defeat the simple GPL version check of maint.mk, since it's trying to identify GPL2 licenses. Since the 'rehack' script converts v2 licenses into v3, we get a false positive for v2. So, amusingly, we use the same hack that maint.mk uses to avoid a false positive on its

[PATCH] Regenerate doc/regexprops.texi

2010-04-01 Thread James Youngman
Signed-off-by: James Youngman --- doc/regexprops.texi |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/regexprops.texi b/doc/regexprops.texi index f2e1590..e94720f 100644 --- a/doc/regexprops.texi +++ b/doc/regexprops.texi @@ -1,8 +1,8 @@ -...@c Copyright (C) 1994

[PATCH] Update copyright years

2010-04-01 Thread James Youngman
Signed-off-by: James Youngman --- ChangeLog |4 NEWS |2 +- doc/find.texi |2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 62eb4a9..64692a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-04-02 James Youn

[PATCH] Coding standard fix: "Warning" should be "WARNING" or "warning".

2010-04-01 Thread James Youngman
* find/find.c (dirchange_is_fatal): Change "Warning" to "WARNING". * find/ftsfind.c (consider_visiting): Likewise. * find/pred.c (pred_newerXY): Likewise. * find/util.c (get_statinfo): Likewise. (hook_fstatat): Likewise. * locate/word_io.c (decode_value): Likewise. * xargs/xargs.c (main): Change "W

[PATCH] Add customisation of the behaviour of "make syntax-check".

2010-04-01 Thread James Youngman
* cfg.mk: New file; configuration file for the maintainer-makefile provided by gnulib. Signed-off-by: James Youngman --- ChangeLog |4 cfg.mk| 45 + 2 files changed, 49 insertions(+), 0 deletions(-) create mode 100644 cfg.mk diff --git

[PATCH] Quote the first argument of AC_DEFINE.

2010-04-01 Thread James Youngman
Signed-off-by: James Youngman --- ChangeLog |2 ++ m4/withfts.m4 |2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 069b479..4cf978c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ 2010-04-02 James Youngman + * m4/wit

[PATCH] Various coding standard fixes.

2010-04-01 Thread James Youngman
* 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 --- ChangeLog |4 doc/find-maint.texi |1 - lib/regextype.c |2 -- 3 files changed, 4

[PATCH] Update copyright years

2010-04-01 Thread James Youngman
Signed-off-by: James Youngman --- ChangeLog |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1ec8f78..f98e334 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-04-02 James Youngman + * NEWS: Update copyright years. + +20

[PATCH] Use the maintainer-makefile module.

2010-04-01 Thread James Youngman
* import-gnulib.config (modules): Add maintainer-makefile. Signed-off-by: James Youngman --- .cvsignore |2 ++ .gitignore |2 ++ ChangeLog|4 build-aux/.cvsignore |2 ++ build-aux/.gitignore |2 ++ import-gnulib.config |1 + 6 files ch

Re: [PATCH] Optimise -fstype NOTUSED to -false at -O2.

2010-04-01 Thread James Youngman
I pushed the change.

[PATCH] Change error (1, ...) to error (EXIT_FAILURE, ...).

2010-04-01 Thread James Youngman
* find/find.c: Change error (1, ...) to error (EXIT_FAILURE, ...). * find/fstype.c: Likewise. * find/ftsfind.c: Likewise. * find/parser.c: Likewise. * find/pred.c: Likewise. * find/tree.c: Likewise. * find/util.c: Likewise. * locate/code.c: Likewise. * locate/frcode.c: Likewise. * locate/locate.c:

[PATCH] Assume C89 (or C99) C headers. Assume working .

2010-04-01 Thread James Youngman
* xargs/xargs.c: Unconditionally include . Assume isblank(c) is defined. Assume memcpy() has a prototype in . * import-gnulib.config (modules): Import gnulib's ctype module. Signed-off-by: James Youngman --- ChangeLog|6 ++ import-gnulib.config |1 + xargs/xargs.c