summaryrefslogtreecommitdiffstats
path: root/src/fnid.c
Commit message (Collapse)AuthorAgeFilesLines
* avoid warnings, adjust for const-correctnessJim Meyering2008-06-241-1/+1
| | | | | | | | | | | | | | * libidu/scanners.c (long_options_c, long_options_asm) (long_options_text, long_options_perl): Add initializers. * src/fid.c (long_options): Add initializers. * src/fnid.c (long_options): Add initializers. * src/lid.c (ATTRIBUTE_UNUSED): Define. (long_options): Add initializers. (report_nothing): Mark parameter as unused. (get_editor_argv, report_edit): Adjust for const-correctness. * src/mkid.c (long_options): Add initializers. (report_statistics): Don't subtract "void*" pointers. Cast to "char*". * src/xtokid.c (long_options): Add initializers.
* remove redundant "const" in declarationsJim Meyering2008-06-241-1/+1
| | | | | | | | | | * libidu/scanners.c (languages_0, long_options_c): Likewise. (long_options_asm, long_options_text, long_options_perl): Likewise. * src/fid.c (long_options): Likewise. * src/fnid.c (long_options): Likewise. * src/lid.c (long_options): Likewise. * src/mkid.c (long_options): Likewise. * src/xtokid.c (long_options): Likewise.
* sync maint.mk from coreutils, and adjust to conformJim Meyering2008-06-141-1/+1
| | | | | | | | * libidu/scanners.c (long_options_c, long_options_asm): Add "const". (long_options_text, long_options_perl): Likewise. * src/fnid.c (long_options): Likewise. * src/lid.c (long_options): Likewise. * src/xtokid.c (long_options): Likewise.
* use gnulib's progname moduleJim Meyering2008-06-041-2/+2
| | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add progname. * src/mkid.c: Include "progname.h". (program_name): Remove declaration. (main): Call set_program_name rather than setting program_name. * src/fid.c: Likewise. * src/fnid.c: Likewise. * src/lid.c: Likewise. * src/xtokid.c: Likewise.
* detect write error on stdoutJim Meyering2008-05-201-0/+3
| | | | | | | | | | * src/fid.c: Include "closeout.h". (main): Use it via atexit. * src/fnid.c (main): Likewise. * src/lid.c (main): Likewise. * src/mkid.c (main): Likewise. * src/xtokid.c (main): Likewise. * NEWS: Mention the bug fixes.
* tighten scope in libidu/, tooJim Meyering2008-05-171-1/+2
| | | | | | | | | | | | | | | | | | Mark with "extern" the symbols that belong that way. Make the others static. * libidu/dynvec.h (dv_fill): * libidu/fnprint.c (cw_dlink): * libidu/hash.h (qsort_cmp_t): * libidu/idfile.h (io_func_t): * libidu/scanners.c (lang_args_obstack, languages_0, languages_N): (language_help_me, language_getopt, get_language): (lang_args_index): * libidu/walker.c (largest_member_file): * maint.mk (extract_char, today): * src/fid.c (long_options): * src/fnid.c (cw_dlink): * src/lid.c (cw_dlink): * src/xtokid.c (cw_dlink):
* declare many global variable to be "static"Jim Meyering2008-05-171-5/+3
| | | | | Remove the few that were thus exposed as being unused. Remove some unused prototypes.
* make functions staticJim Meyering2008-05-171-2/+1
|
* License upgrade to "GPL-3 or later"Pedro J. Ruiz Lopez2007-08-171-3/+3
|
* * add bug report string to the help outputClaudio Fontana2006-03-051-0/+1
| | | | * src/lid.c: fix bug in pattern recognition in is_number()
* * started to address portability problems in the id-utils-4.0 releaseClaudio Fontana2005-12-271-4/+5
|
* *** empty log message ***Claudio Fontana2005-11-011-11/+17
|
* * libidu/fnprint.c (print_filenames): Move ALLOCA outside loop.Greg McGary1998-11-201-1/+1
| | | | | | | | libidu/walker.c (get_lang_args): Ditto. src/fnid.c (main): Ditto. src/lid.c (report_grep, search_flinkv): Ditto. src/mkid.c (scan_member_file): Consolidate two ALLOCA buffers at inner scopes to a single buffer at an outer scope.
* assorted bug fixesGreg McGary1997-07-231-2/+3
|
* Initial revisionGreg McGary1997-04-181-0/+192