James Youngman
8becd09bb9
Use a consistent order for header-file inclusion.
...
* find/exec.c: Include config.h, then system headers followed by
gnulib headers and last, find-specific headers.
* find/find.c: Likewise.
* find/finddata.c: Likewise.
* find/fstype.c: Likewise.
* find/ftsfind.c: Likewise.
* find/parser.c: Likewise.
* find/pred.c: Likewise.
* find/tree.c: Likewise.
* find/util.c: Likewise.
* lib/buildcmd.c: Likewise.
* lib/dircallback.c: Likewise.
* lib/extendbuf.c: Likewise.
* lib/fdleak.c: Likewise.
* lib/findutils-version.c: Likewise.
* lib/listfile.c: Likewise.
* lib/printquoted.c: Likewise.
* lib/qmark.c: Likewise.
* lib/regexprops.c: Likewise.
* lib/regextype.c: Likewise.
* lib/safe-atoi.c: Likewise.
* lib/savedirinfo.c: Likewise.
* lib/splitstring.c: Likewise.
* lib/test_splitstring.c: Likewise.
* lib/waitpid.c: Likewise.
* locate/bigram.c: Likewise.
* locate/code.c: Likewise.
* locate/frcode.c: Likewise.
* locate/locate.c: Likewise.
* locate/word_io.c: Likewise.
* xargs/xargs.c: Likewise.
2011-06-20 10:26:24 +01:00
James Youngman
0caac6fe3d
Take gnulib-tool's advice about which header files to include.
...
* locate/locate.c: Include <regex.h> instead of "regex.h".
Include "fnmatch.h" instead of <fnmatch.h> (because we use
fnmatch-gnu). Include "gettext.h".
* lib/regexprops.c: Include <regex.h> instead of "regex.h".
* find/tree.c: Include "gettext.h". Include "fnmatch.h" instead
of <fnmatch.h> (because we use fnmatch-gnu).
* find/parser.c: Include "gettext.h" and <regex.h>. Include
"fnmatch.h" instead of <fnmatch.h> (because we use fnmatch-gnu).
* find/pred.c: Likewise.
* find/exec.c: Include "gettext.h".
* find/find.c: Likewise.
* find/fstype.c: Likewise.
* find/ftsfind.c: Likewise.
* find/print.c: Likewise.
* lib/buildcmd.c: Likewise.
* lib/fdleak.c: Likewise.
* lib/findutils-version.c: Likewise.
* lib/regextype.c: Likewise.
* lib/safe-atoi.c: Likewise.
* find/util.c: Likewise.
* locate/bigram.c: Likewise.
* locate/code.c: Likewise.
* locate/frcode.c: Likewise.
* locate/word_io.c: Likewise.
* xargs/xargs.c: Likewise.
* find/Makefile.am: Add a comment explaining why gnulib-tool
advised us to use each library.
2011-06-20 00:39:20 +01:00
James Youngman
f457e8f05e
Update the copyright year in C source files.
...
* find/defs.h: Update copyright year.
* find/find.c: Update copyright year.
* find/finddata.c: Update copyright year.
* find/ftsfind.c: Update copyright year.
* find/parser.c: Update copyright year.
* find/pred.c: Update copyright year.
* find/sharefile.c: Update copyright year.
* find/sharefile.h: Update copyright year.
* find/tree.c: Update copyright year.
* find/util.c: Update copyright year.
* lib/buildcmd.c: Update copyright year.
* lib/buildcmd.h: Update copyright year.
* lib/dircallback.c: Update copyright year.
* lib/dircallback.h: Update copyright year.
* lib/extendbuf.c: Update copyright year.
* lib/extendbuf.h: Update copyright year.
* lib/fdleak.c: Update copyright year.
* lib/fdleak.h: Update copyright year.
* lib/findutils-version.c: Update copyright year.
* lib/findutils-version.h: Update copyright year.
* lib/forcefindlib.c: Update copyright year.
* lib/listfile.c: Update copyright year.
* lib/listfile.h: Update copyright year.
* lib/nextelem.c: Update copyright year.
* lib/nextelem.h: Update copyright year.
* lib/printquoted.c: Update copyright year.
* lib/printquoted.h: Update copyright year.
* lib/qmark.c: Update copyright year.
* lib/regexprops.c: Update copyright year.
(copying): Update copyright year in the output file, too.
* lib/regextype.c: Update copyright year.
* lib/regextype.h: Update copyright year.
* lib/safe-atoi.c: Update copyright year.
* lib/safe-atoi.h: Update copyright year.
* lib/savedirinfo.c: Update copyright year.
* lib/savedirinfo.h: Update copyright year.
* lib/unused-result.h: Update copyright year.
* lib/waitpid.c: Update copyright year.
* locate/bigram.c: Update copyright year.
* locate/code.c: Update copyright year.
* locate/frcode.c: Update copyright year.
* locate/locate.c: Update copyright year.
* locate/locatedb.h: Update copyright year.
* locate/word_io.c: Update copyright year.
* xargs/xargs.c: Update copyright year.
2011-06-04 13:19:26 +01:00
James Youngman
a80e33b1c1
Don't display a separate gnulib version.
...
* lib/findutils-version.c (display_findutils_version): Don't
display gnulib_version because it's no longer defined (because
there is no gnulib version separate from the findutils version,
now that gnulib is a submodule).
* import-gnulib.config: remove gnulib_version and destdir, they
are not needed any more.
* lib/Makefile.am (EXTRA_DIST): Don't distribute gnulib-version.h
or gnulib-version.c.
(BUILT_SOURCES): delete, there are no longer any built sources.
* lib/gnulib-version.h: Remove.
* locate/code.c: Don't include gnulib-version.h
* xargs/xargs.c: Don't include gnulib-version.h
2011-06-04 00:20:27 +01:00
James Youngman
a80cb03935
Remove redundant declarations.
...
* locate/frcode.c: Don't declare xmalloc, include xalloc.h instead.
* locate/code.c: Don't declare program_name, we already included
progname.h.
Signed-off-by: James Youngman <jay@gnu.org >
2010-04-21 10:47:42 +01:00
James Youngman
d2eb02ad77
Change error (1, ...) to error (EXIT_FAILURE, ...).
...
* 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: Likewise.
* locate/word_io.c: Likewise.
* xargs/xargs.c: Likewise.
* lib/buildcmd.c: Likewise. Also include <stdlib.h>.
* lib/regextype.c: Likewise (both).
Signed-off-by: James Youngman <jay@gnu.org >
2010-04-02 21:07:53 +01:00
James Youngman
8565f667a2
Coding style fixes: space after function names.
...
* locate/code.c: Insert a space between function name and open parenthesis.
* locate/frcode.c: Likewise.
* locate/locate.c: Likewise.
* locate/word_io.c: Likewise.
Signed-off-by: James Youngman <jay@gnu.org >
2010-04-01 00:15:16 +01:00
James Youngman
5dce9f443c
Removed trailing whitespace.
...
Removed trailing whitespace.
* Makefile.am: Removed trailing white space.
* NEWS, build-aux/check-testfiles.sh, build-aux/src-sniff.py,
doc/Makefile.am, doc/find-maint.texi, doc/find.texi, find/Makefile.am,
find/defs.h, find/find.1, find/find.c, find/finddata.c, find/fstype.c,
find/ftsfind.c, find/parser.c, find/pred.c, find/tree.c, find/util.c,
import-gnulib.sh, lib/Makefile.am, lib/buildcmd.c, lib/buildcmd.h,
lib/dircallback.c, lib/dircallback.h, lib/extendbuf.c,
lib/extendbuf.h, lib/findutils-version.c, lib/findutils-version.h,
lib/forcefindlib.c, lib/gnulib-version.h, lib/listfile.c,
lib/modetype.h, lib/nextelem.c, lib/nextelem.h, lib/printquoted.c,
lib/printquoted.h, lib/qmark.c, lib/regexprops.c, lib/regextype.c,
lib/savedirinfo.c, lib/savedirinfo.h, lib/strspn.c, lib/wait.h,
lib/waitpid.c, locate/bigram.c, locate/code.c, locate/locate.1,
locate/locate.c, locate/locatedb.5, locate/locatedb.h,
locate/updatedb.1, locate/updatedb.sh, locate/word_io.c,
m4/findlib.m4, m4/nullsort.m4, m4/withfts.m4, xargs/xargs.1: Likewise.
Signed-off-by: James Youngman <jay@gnu.org >
2009-03-04 10:49:59 +00:00
James Youngman
6941a60177
Applied patch from Jim Meyering; Avoid link failure for locate with -fno-common.
2008-03-10 09:41:44 +00:00
Eric Blake
194619c1ba
Pick up gnulib change to getline module.
...
* import-gnulib.config (gnulib_version): Bump date.
* locate/bigram.c: Use <stdio.h>, not getline.h.
* locate/code.c: Likewise.
* locate/frcode.c: Likewise.
* locate/locate.c: Likewise.
2007-08-23 14:17:38 +00:00
Eric Blake
6597c7a55c
* find/parser.c (parse_version): Avoid compiler warning.
...
* locate/code.c (includes): Likewise.
2007-07-24 03:38:39 +00:00
James Youngman
1bd53425e8
Fixed Savannah bug #20547 , version information not compliant with GNU coding standard
2007-07-22 13:08:22 +00:00
James Youngman
1c43fc92b5
Migrated from GPL version 2 to GPL version 3
2007-07-02 08:25:45 +00:00
James Youngman
5a7e83f1d7
Fixed various lint complaints pointed out by build-aux/src-sniff.py
2007-06-21 23:41:08 +00:00
James Youngman
4f76ac2b63
Fix Savannah bug #19980 , by avoiding the non-POSIX function putw() (and in previous changes, getw(), and wcwidth())
2007-06-09 12:53:42 +00:00
James Youngman
dc4a7adf94
Bugfixes for Savannah bugs #19768 and #19766
2007-05-01 09:46:30 +00:00
James Youngman
4e24fa0d9e
Fixed Savannah bug #19484 (decompression problem if first filename to go into the locate database begins with a space)
2007-04-19 22:58:20 +00:00
James Youngman
70f1a3d1ea
New method of checking out and configuring gnulib - define which version we need to use, and remember which version we used
2007-02-28 23:55:47 +00:00
James Youngman
a76cefba3d
Updated the FSF's postal address
2005-06-07 22:24:56 +00:00
James Youngman
3d28858599
Fix Savannah bug #13324 : Fix compiler warnings for GCC-3.4
2005-06-07 20:38:56 +00:00
James Youngman
5dfee34c44
Updated/corrected the email address for David MacKenzie, one of the original authors of findutils
2005-01-31 23:40:27 +00:00
James Youngman
6acfeff358
The GNU coding standard requires a space between the function name and
...
its parenthesised argument list.
2005-01-08 14:10:33 +00:00
James Youngman
03461a7dda
Savannah bug 11517: find, xargs, locate, etc. should not hide write failures; patch from Jim Meyering
2005-01-08 12:31:06 +00:00
James Youngman
38f2a494e5
Support --version and --help.
2004-11-21 12:41:23 +00:00
James Youngman
0b932df623
Corrected typo in the address of the FSF office
2004-10-24 22:59:23 +00:00
James Youngman
e2bea8f503
Use gnulib-tool --import to import the gnulib code, rather than the odd way we were doing it before
2004-10-24 22:43:13 +00:00
James Youngman
55cbfc3109
Work round an apparent compiler bug in HP-UX 11.23 for
...
ia64
2004-10-24 22:24:01 +00:00
James Youngman
1ae35fc28f
Avoid use of exit() within main, to silence warnings about unreachable code
2004-10-24 18:25:21 +00:00
James Youngman
7da8b17cf1
Merged changes made for version 4.1.20 onto the trunk
2003-06-14 15:41:26 +00:00
Kevin Dalley
700e44333c
* locate/code.c (main), doc/find.texi: improve handling of
...
non-ASCII characters used old format.
2000-10-30 07:32:52 +00:00
Kevin Dalley
491aaa41f5
*** empty log message ***
2000-04-12 10:18:08 +00:00
Kevin Dalley
fa7296a66b
* locate/frcode.c, locate/code.c, locate/bigram.c: add macros
...
PARAMS rather than P_. Add prototypes.
2000-04-05 08:07:55 +00:00
Kevin Dalley
b91d55816e
* locate/Makefile.am, locate/locate.c, locate/code.c:
...
internationalized file.
2000-01-27 03:24:13 +00:00
Kevin Dalley
6f0ed1d6c5
* locate/frcode.c, locate/code.c, locate/bigram.c: change return
...
from main to int. Replace getstr with getline, where possible.
2000-01-18 09:54:20 +00:00
Kevin Dalley
c030b5ee33
Initial revision
1996-02-04 20:35:16 +00:00