diff options
author | Jim Meyering <meyering@redhat.com> | 2009-11-29 16:43:38 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-11-30 16:55:04 +0100 |
commit | cea5dc237ac3e1e50637a289fe21d961e93c6585 (patch) | |
tree | 2932904cec6600294bfcfbfae1c6c1a1538c7336 | |
parent | e03f560fae58821cc4f8b51f910ec379227601fd (diff) | |
download | grep-cea5dc237ac3e1e50637a289fe21d961e93c6585.tar.gz |
maint: enable trailing_blank check
* 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.
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | COPYING | 4 | ||||
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | README-alpha | 4 | ||||
-rw-r--r-- | README-boot | 2 | ||||
-rw-r--r-- | THANKS | 2 | ||||
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | cfg.mk | 1 | ||||
-rw-r--r-- | src/dfa.c | 4 | ||||
-rw-r--r-- | src/mbsupport.h | 4 | ||||
-rwxr-xr-x | tests/backref.sh | 2 | ||||
-rwxr-xr-x | tests/file.sh | 2 | ||||
-rwxr-xr-x | tests/options.sh | 4 | ||||
-rw-r--r-- | tests/tests | 2 | ||||
-rw-r--r-- | vms/README | 2 | ||||
-rw-r--r-- | vms/make.com | 6 |
16 files changed, 23 insertions, 24 deletions
@@ -1,6 +1,6 @@ Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - + Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. @@ -77,7 +77,7 @@ modification follow. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. - + "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. @@ -510,7 +510,7 @@ actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. - + If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties @@ -1,6 +1,6 @@ Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - + Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. @@ -42,7 +42,7 @@ and have been disabled. The combination of -o and -i options is broken and the known failing cases are disabled in foad1.sh -The option -i does not work properly in some multibyte locales such as +The option -i does not work properly in some multibyte locales such as tr_TR.UTF-8 where the upper case and lower case forms of a character are not necessarily of the same byte length. diff --git a/README-alpha b/README-alpha index 8aacb982..671382b5 100644 --- a/README-alpha +++ b/README-alpha @@ -1,6 +1,6 @@ Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - + Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. @@ -31,5 +31,5 @@ email message to <grep-commit-request@gnu.org> with "subscribe" (without the quotation marks) in the subject header field (or in the body) of the email, or visit <http://lists.gnu.org/mailman/listinfo/grep-commit>. -A web page containing information for GNU grep developers is at +A web page containing information for GNU grep developers is at <http://www.gnu.org/software/grep/devel.html>. diff --git a/README-boot b/README-boot index c5bfd44f..b168281e 100644 --- a/README-boot +++ b/README-boot @@ -1,6 +1,6 @@ Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - + Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. @@ -1,6 +1,6 @@ Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - + Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. @@ -1,6 +1,6 @@ Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - + Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. @@ -37,7 +37,6 @@ local-checks-to-skip = \ sc_prohibit_strcmp \ sc_prohibit_xalloc_without_use \ sc_space_tab \ - sc_trailing_blank \ sc_two_space_separator_in_usage \ sc_useless_cpp_parens @@ -552,7 +552,7 @@ parse_bracket_exp_mb () work_mbc->nchars + 2); work_mbc->chars[work_mbc->nchars++] = L'['; work_mbc->chars[work_mbc->nchars++] = delim; - break; + break; } if (--lexleft, *lexptr++ != ']') @@ -2619,7 +2619,7 @@ check_matching_with_multibyte_ops (struct dfa *d, int s, int index) of check_matching_with_multibyte_ops() for optimization. `mbclen' and `pps' are the output. `mbclen' is the length of the character consumed, and `pps' is the set this function enumerate. */ -static status_transit_state +static status_transit_state transit_state_consume_1char (struct dfa *d, int s, unsigned char const **pp, int *match_lens, int *mbclen, position_set *pps) { diff --git a/src/mbsupport.h b/src/mbsupport.h index ffa0603e..ced494d1 100644 --- a/src/mbsupport.h +++ b/src/mbsupport.h @@ -1,7 +1,7 @@ /* mbsupport.h --- Localize determination of whether we have multibyte stuff. Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) @@ -22,7 +22,7 @@ This gives us a consistent definition for all uses of MBS_SUPPORT. This follows the ``Don't Repeat Yourself'' principle from "The Pragmatic Programmer". - + The tests should be *all* the ones that are needed for an individual application. */ diff --git a/tests/backref.sh b/tests/backref.sh index c5583f53..e6c51127 100755 --- a/tests/backref.sh +++ b/tests/backref.sh @@ -1,6 +1,6 @@ #! /bin/sh # Test for backreferences and other things. -# +# # Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, diff --git a/tests/file.sh b/tests/file.sh index e759d2d6..a0ef067e 100755 --- a/tests/file.sh +++ b/tests/file.sh @@ -27,7 +27,7 @@ if test $? -ne 0 ; then failures=1 fi -# match +# match echo "GNU" | ${GREP} -G -f patfile > /dev/null 2>&1 if test $? -ne 0 ; then echo "File_pattern: Wrong status code, test \#2 failed" diff --git a/tests/options.sh b/tests/options.sh index 3cd4cd00..9e9192d8 100755 --- a/tests/options.sh +++ b/tests/options.sh @@ -7,7 +7,7 @@ # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. # -# grep [ -E| -F][ -c| -l| -q ][-insvx] -e pattern_list +# grep [ -E| -F][ -c| -l| -q ][-insvx] -e pattern_list # [-f pattern_file] ... [file. ..] # grep [ -E| -F][ -c| -l| -q ][-insvx][-e pattern_list] # -f pattern_file ... [file ...] @@ -31,7 +31,7 @@ if test $? -ne 0 ; then failures=1 fi -# checking for fixed string +# checking for fixed string echo "abababccccccd" | ${GREP} -F -e 'c\{3\}' > /dev/null 2>&1 if test $? -ne 1 ; then echo "Options: Wrong status code, test \#3 failed" diff --git a/tests/tests b/tests/tests index c9f13506..0ba2e210 100644 --- a/tests/tests +++ b/tests/tests @@ -1,5 +1,5 @@ # regular expression test set -# +# # Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, @@ -1,6 +1,6 @@ Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - + Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. diff --git a/vms/make.com b/vms/make.com index c816966c..e1022487 100644 --- a/vms/make.com +++ b/vms/make.com @@ -12,12 +12,12 @@ $ ccopt = "/decc/prefix=all" + ccopt $ endif $ endif $ if f$extract(1,3,f$getsyi("Version")) .lts. "7.0" -$ then +$ then $ if f$search("x11vms:xvmsutils.olb").eqs."" $ then $ type sys$input -To build grep on OpenVMS versions prior to 7.x you need to install the -xvmsutils to get the close-/open-/readdir functions. The library can be +To build grep on OpenVMS versions prior to 7.x you need to install the +xvmsutils to get the close-/open-/readdir functions. The library can be found at http://www.decus.de:8080/www/vms/sw/xvmsutils.htmlx Exiting now |