summaryrefslogtreecommitdiff
path: root/cfg.mk
Commit message (Collapse)AuthorAgeFilesLines
* tests: remove all unportable uses of echoJim Meyering2010-04-011-0/+5
| | | | | | | * src/main.c: Use printf rather than echo -ne in a comment. * tests/fedora: Use printf (not echo) also in ok/fail functions. * cfg.mk (sc_prohibit_echo_minus_en): New rule, to prohibit any future introduction.
* post-release administriviaJim Meyering2010-03-291-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* tests: disable new texinfo-acronym syntax-check from gnulibJim Meyering2010-03-291-0/+1
| | | | * cfg.mk (local-checks-to-skip): Add new sc_texinfo_acronym, to skip it.
* doc: correct and amend NEWS entries for 2.6.1Jim Meyering2010-03-251-1/+1
| | | | | | | * NEWS (Bug fixes): Correct character ranges bug description. Add an example from Dmitry V. Levin. Add that the word-with-backref bug was introduced in 2.5.1. * cfg.mk (old_NEWS_hash): Update to match.
* post-release administriviaJim Meyering2010-03-251-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* post-release administriviaJim Meyering2010-03-231-1/+1
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* syntax-check: enable space-tabPaolo Bonzini2010-03-121-1/+0
| | | | | | * cfg.mk (local-checks-to-skip): Enable space-tab. * .x-sc_space_tab: Add exceptions. * tests/status.sh: Fix occurrence.
* syntax-check: enable m4-quote-checkPaolo Bonzini2010-03-121-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Enable m4-quote-check. * configure.ac: Fix occurrence.
* syntax-check: enable makefile-TAB-only-indentationPaolo Bonzini2010-03-121-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Enable makefile-TAB-only-indentation. * Makefile.am: Fix only occurrence.
* grep: fix error-message-uppercasePaolo Bonzini2010-03-121-1/+0
| | | | | | * cfg.mk (local-checks-to-skip): Enable error-message-uppercase. * src/dfa.c (parse_bracket_exp_mb, lex, dfaparse): Fix occurrences. * src/search.c (Pcompile, Pexecute): Fix occurrences.
* dfa, grep: cleanup if-before-free and cast-of-argument-to-freePaolo Bonzini2010-03-121-1/+0
| | | | | | | | | | | | | * .x-sc_avoid_if_before_free: Remove. * .x-sc_cast_of_alloca_return_value: Remove. * .x-sc_cast_of_x_alloc_return_value: Remove. * .x-sc_cast_of_argument_to_free: Temporarily add src/search.c. * cfg.mk (local-checks-to-skip): Remove sc_cast_of_argument_to_free. * src/dfa.c (ifree): Remove. (dfamust, build_state, transit_state, dfafree): Do not do if-before-free, do not cast free argument to ptr_t or char *. (freelist): Call free instead of ifree. * src/dfa.h (ptr_t): Remove.
* maint: enable the prohibit_magic_number_exit syntax checkJim Meyering2010-02-071-1/+0
| | | | | | | | | | * cfg.mk (local-checks-to-skip): Remove sc_prohibit_magic_number_exit, to enable that check. * src/system.h (EXIT_TROUBLE): Define. * src/grep.c: Use symbolic names, EXIT_SUCCESS, EXIT_FAILURE, and EXIT_TROUBLE, not 0, 1, 2. * src/search.c: Likewise. * src/vms_fab.c (string): Likewise.
* maint: update to latest gnulib; adjust cfg.mkJim Meyering2010-01-281-1/+1
| | | | | * gnulib: Update submodule to latest. * cfg.mk (old_NEWS_hash): Update to reflect NEWS Copyright line change.
* maint: avoid old jm_* macrosJim Meyering2010-01-061-0/+8
| | | | | There were jm_* macros here, until very recently. * cfg.mk (sc_prohibit_jm_in_m4): New rule, from coreutils.
* maint: record update-copyright options for this packageJim Meyering2010-01-031-0/+4
| | | | * cfg.mk: Next time, just run "make update-copyright".
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-011-1/+1
| | | | | | Use this command: git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \ env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
* maint: enable prohibit_have_config_h checkJim Meyering2009-12-041-1/+0
| | | | | | | | | * cfg.mk (local-checks-to-skip): Enable sc_prohibit_have_config_h * lib/regex.c: Remove useless cpp test of HAVE_CONFIG_H. * lib/savedir.c: Likewise. * src/grep.c: Likewise. * src/kwset.c: Likewise. * src/search.c: Likewise.
* maint: enable cast_of_x_alloc_return_value checkJim Meyering2009-12-041-1/+0
| | | | | | | | * cfg.mk (local-checks-to-skip): Enable sc_cast_of_x_alloc_return_value. * .x-sc_cast_of_x_alloc_return_value: * src/dfa.c (CALLOC, MALLOC, REALLOC): Remove casts. * src/dosbuf.c (undossify_input): Likewise. * src/grep.c (print_line_middle, prepend_default_options): Likewise.
* maint: enable cast_of_alloca_return_value checkJim Meyering2009-12-041-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Enable sc_cast_of_alloca_return_value. * .x-sc_cast_of_alloca_return_value: New file.
* maint: enable useless-if-before-free checkJim Meyering2009-12-041-1/+0
| | | | | | | | * cfg.mk (local-checks-to-skip): Enable sc_avoid_if_before_free. * .x-sc_avoid_if_before_free: New file. Exempt regex.c and dfa.c, in case anyone ever tries to merge their contents with other versions. * src/grep.c (print_line_middle, grepdir): Remove useless if-before-free. * src/search.c (IF_BK, EXECUTE_FCT): Likewise.
* maint: enable po-checkJim Meyering2009-12-041-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Enable sc_po_check. * po/POTFILES.in: Sort and update.
* maint: enable two checksJim Meyering2009-11-301-2/+0
| | | | | | | | * cfg.mk (local-checks-to-skip): Enable two: sc_prohibit_xalloc_without_use sc_two_space_separator_in_usage * src/grep.c (usage): Conform: use two spaces, not 1. * src/kwset.c (malloc): Define as a function-macro so that the syntax-check rule sees that we are indeed using xmalloc here.
* maint: enable makefile_path_separator checkJim Meyering2009-11-301-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Enable sc_makefile_path_separator_check, now that the sole offender, an old po/Makefile.in.in, is gone.
* maint: enable makefile @...@ checkJim Meyering2009-11-301-1/+0
| | | | | | | | * cfg.mk (local-checks-to-skip): Enable sc_makefile_check. * lib/Makefile.am (libgreputils_a_LIBADD): Use $(...), rather than anachronistic @...@ notation. * src/Makefile.am (LDADD): Likewise. * tests/Makefile.am (AWK): Remove definition.
* maint: enable trailing_blank checkJim Meyering2009-11-301-1/+0
| | | | | | | | | | | | | | | | | | | * cfg.mk (local-checks-to-skip): Enable sc_trailing_blank. * AUTHORS: Remove trailing blanks. * COPYING: Likewise. * README: Likewise. * README-alpha: Likewise. * README-boot: Likewise. * THANKS: Likewise. * TODO: Likewise. * src/dfa.c: Likewise. * src/mbsupport.h: Likewise. * tests/backref.sh: Likewise. * tests/file.sh: Likewise. * tests/options.sh: Likewise. * tests/tests: Likewise. * vms/README: Likewise. * vms/make.com: Likewise.
* maint: enable unmarked_diagnostics checkJim Meyering2009-11-301-1/+0
| | | | | | * cfg.mk (local-checks-to-skip): Enable sc_unmarked_diagnostics * src/grep.c (fillbuf): Mark a diagnostic for translation. (reset): Likewise.
* maint: enable require_config_h checksJim Meyering2009-11-301-2/+0
| | | | | | | | | * cfg.mk (local-checks-to-skip): Enable sc_require_config_h and sc_require_config_h_first. * src/dosbuf.c: Include <config.h>. * src/vms_fab.c: Likewise. * .x-sc_require_config_h: New file: list the exceptions. * .x-sc_require_config_h_first: Likewise.
* maint: use gnulib's progname module; enable set_program_name checkJim Meyering2009-11-301-1/+0
| | | | | | | | * bootstrap.conf (gnulib_modules): Add progname. * src/grep.c: Include "progname.h". (program_name): Remove declaration. (main): Call set_program_name. * cfg.mk (local-checks-to-skip): Add sc_program_name.
* maint: enable "file system" checkJim Meyering2009-11-301-1/+0
| | | | | * cfg.mk (local-checks-to-skip): Enable sc_file_system. * lib/savedir.c (savedir): Tweak spelling. Remove trailing blanks.
* maint: enable immutable_NEWS checkJim Meyering2009-11-301-2/+1
| | | | | | | | * NEWS: Move copyright to the bottom. Use the format required by release-related tools. * .prev-version: New file. * cfg.mk (old_NEWS_hash): Define. (local-checks-to-skip): Enable check: sc_immutable_NEWS.
* maint: disable the many failing syntax-checksJim Meyering2009-11-301-0/+56
* cfg.mk: New file. (local-checks-to-skip): Define to the list of disabled rules. Subsequent change-sets will enable them, one by one.