[PATCH] Prevent 'make clean' from removing git-tracked files in lib/.

2013-02-04 Thread Kamil Dudka
* lib/Makefile.am (libfind_a_SOURCES): Move header files to EXTRA_DIST in order not to get them on the CLEANFILES list due to unmatched string substitutions. --- ChangeLog |7 +++ lib/Makefile.am |2 +- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/Ch

[PATCH v2 3/3] Fix compile-time warnings.

2013-02-04 Thread Kamil Dudka
* find/defs.h (struct predicate): Add a missing const modifier. * find/find.c (wd_sanity_check): Suppress a warning in #else branch. (process_dir): Remove an unused variables and statements. * find/pred.c (pred_context): Use const modifier in the prototype. * lib/buildcmd.{c,h} (bc_args_exceed_test

Re: [PATCH 3/3] Fix compile-time warnings.

2013-02-04 Thread Kamil Dudka
On Sunday 03 February 2013 23:07:42 Kamil Dudka wrote: > diff --git a/find/exec.c b/find/exec.c > index aa69fe3..f731d82 100644 > --- a/find/exec.c > +++ b/find/exec.c > @@ -324,7 +324,7 @@ launch (struct buildcmd_control *ctl, void > *usercontext, int argc, char **argv) } > } > > - if