From MAILER-DAEMON Fri Jun 26 13:08:55 2015
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Z8X7X-0007BL-TQ
	for mharc-grep-commit@gnu.org; Fri, 26 Jun 2015 13:08:55 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52241)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z8X7V-0007AU-2K
	for grep-commit@gnu.org; Fri, 26 Jun 2015 13:08:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z8X7T-0003Wf-QS
	for grep-commit@gnu.org; Fri, 26 Jun 2015 13:08:53 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:45124)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z8X7T-0003Wb-MX
	for grep-commit@gnu.org; Fri, 26 Jun 2015 13:08:51 -0400
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1Z8X7S-00054r-UQ
	for grep-commit@gnu.org; Fri, 26 Jun 2015 17:08:51 +0000
Date: Fri, 26 Jun 2015 17:08:50 +0000
Message-Id: <E1Z8X7S-00054r-UQ@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.21-32-gf240c94
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: adf95a6108c1747b7e2e85716fdcb1d90c09d42d
X-Git-Newrev: f240c9477c7d76b74dbbc9390c727d49d3c7bc88
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Jun 2015 17:08:54 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  f240c9477c7d76b74dbbc9390c727d49d3c7bc88 (commit)
      from  adf95a6108c1747b7e2e85716fdcb1d90c09d42d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=f240c9477c7d76b74dbbc9390c727d49d3c7bc88


commit f240c9477c7d76b74dbbc9390c727d49d3c7bc88
Author: Jim Meyering <meyering@fb.com>
Date:   Mon Apr 27 11:28:30 2015 -0700

    maint: alphabetize anonymous enum member names

diff --git a/src/grep.c b/src/grep.c
index 81b8716..4c3aa28 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -307,13 +307,13 @@ enum
 {
   BINARY_FILES_OPTION = CHAR_MAX + 1,
   COLOR_OPTION,
-  INCLUDE_OPTION,
+  EXCLUDE_DIRECTORY_OPTION,
   EXCLUDE_OPTION,
   EXCLUDE_FROM_OPTION,
+  GROUP_SEPARATOR_OPTION,
+  INCLUDE_OPTION,
   LINE_BUFFERED_OPTION,
-  LABEL_OPTION,
-  EXCLUDE_DIRECTORY_OPTION,
-  GROUP_SEPARATOR_OPTION
+  LABEL_OPTION
 };
 
 /* Long options equivalences. */

-----------------------------------------------------------------------

Summary of changes:
 src/grep.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Fri Jun 26 14:13:30 2015
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Z8Y82-0004Sl-PY
	for mharc-grep-commit@gnu.org; Fri, 26 Jun 2015 14:13:30 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39755)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z8Y80-0004Sf-W1
	for grep-commit@gnu.org; Fri, 26 Jun 2015 14:13:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z8Y7z-00056E-W1
	for grep-commit@gnu.org; Fri, 26 Jun 2015 14:13:28 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:45736)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z8Y7z-000565-SX
	for grep-commit@gnu.org; Fri, 26 Jun 2015 14:13:27 -0400
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1Z8Y7z-0006zj-02
	for grep-commit@gnu.org; Fri, 26 Jun 2015 18:13:27 +0000
Date: Fri, 26 Jun 2015 18:13:27 +0000
Message-Id: <E1Z8Y7z-0006zj-02@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.21-33-g81571c7
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f240c9477c7d76b74dbbc9390c727d49d3c7bc88
X-Git-Newrev: 81571c718dc064561b99e250825bd93444cec4aa
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Jun 2015 18:13:30 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  81571c718dc064561b99e250825bd93444cec4aa (commit)
      from  f240c9477c7d76b74dbbc9390c727d49d3c7bc88 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=81571c718dc064561b99e250825bd93444cec4aa


commit 81571c718dc064561b99e250825bd93444cec4aa
Author: Jim Meyering <meyering@fb.com>
Date:   Mon May 11 08:07:20 2015 -0700

    maint: unify three argv-processing calls
    
    * src/grep.c (main): Unify three calls to grep_commandline_arg.

diff --git a/src/grep.c b/src/grep.c
index 4c3aa28..77ddce5 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -2589,20 +2589,27 @@ main (int argc, char **argv)
   if (fts_options & FTS_LOGICAL && devices == READ_COMMAND_LINE_DEVICES)
     devices = READ_DEVICES;
 
+  char **files;
   if (optind < argc)
     {
-      ok = true;
-      do
-        ok &= grep_command_line_arg (argv[optind]);
-      while (++optind < argc);
+      files = argv + optind;
     }
   else if (directories == RECURSE_DIRECTORIES && prepended < last_recursive)
     {
+      static char *cwd_only[] = { (char *) ".", NULL };
+      files = cwd_only;
       omit_dot_slash = true;
-      ok = grep_command_line_arg (".");
     }
   else
-    ok = grep_command_line_arg ("-");
+    {
+      static char *stdin_only[] = { (char *) "-", NULL };
+      files = stdin_only;
+    }
+
+  ok = true;
+  do
+    ok &= grep_command_line_arg (*files++);
+  while (*files != NULL);
 
   /* We register via atexit() to test stdout.  */
   exit (errseen ? EXIT_TROUBLE : ok);

-----------------------------------------------------------------------

Summary of changes:
 src/grep.c |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Fri Jun 26 16:35:34 2015
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Z8aLW-0001sg-D7
	for mharc-grep-commit@gnu.org; Fri, 26 Jun 2015 16:35:34 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51257)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Z8aLT-0001r1-9d
	for grep-commit@gnu.org; Fri, 26 Jun 2015 16:35:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Z8aLS-00073M-6q
	for grep-commit@gnu.org; Fri, 26 Jun 2015 16:35:31 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:47322)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Z8aLS-00073I-3M
	for grep-commit@gnu.org; Fri, 26 Jun 2015 16:35:30 -0400
Received: from eggert by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <eggert@cs.ucla.edu>) id 1Z8aLR-0000kz-DZ
	for grep-commit@gnu.org; Fri, 26 Jun 2015 20:35:29 +0000
Date: Fri, 26 Jun 2015 20:35:29 +0000
Message-Id: <E1Z8aLR-0000kz-DZ@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.21-34-gfa00791
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 81571c718dc064561b99e250825bd93444cec4aa
X-Git-Newrev: fa007910ceb18cba349b3f8a162a2939bc2b75c8
From: Paul Eggert <eggert@cs.ucla.edu>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Jun 2015 20:35:32 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  fa007910ceb18cba349b3f8a162a2939bc2b75c8 (commit)
      from  81571c718dc064561b99e250825bd93444cec4aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=fa007910ceb18cba349b3f8a162a2939bc2b75c8


commit fa007910ceb18cba349b3f8a162a2939bc2b75c8
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Jun 26 13:34:51 2015 -0700

    grep: minor tweaks
    
    * src/grep.c (main): Change recently-added static vars to be
    constants, which makes them sharable.  Prefer 'return' to 'exit'
    when returning/exiting from 'main'.  Move decl closer to first use
    and rename local from 'ok' (which was confusing) to 'status'.
    Prefer named constant STDOUT_FILENO to unnamed constant 1.

diff --git a/src/grep.c b/src/grep.c
index 77ddce5..6f43284 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -2153,7 +2153,7 @@ main (int argc, char **argv)
 {
   char *keys;
   size_t keycc, oldcc, keyalloc;
-  bool with_filenames, ok;
+  bool with_filenames;
   size_t cc;
   int opt, prepended;
   int prev_optind, last_recursive;
@@ -2514,7 +2514,7 @@ main (int argc, char **argv)
     {
       version_etc (stdout, program_name, PACKAGE_NAME, VERSION, AUTHORS,
                    (char *) NULL);
-      exit (EXIT_SUCCESS);
+      return EXIT_SUCCESS;
     }
 
   if (show_help)
@@ -2579,39 +2579,38 @@ main (int argc, char **argv)
 #ifdef SET_BINARY
   /* Output is set to binary mode because we shouldn't convert
      NL to CR-LF pairs, especially when grepping binary files.  */
-  if (!isatty (1))
-    SET_BINARY (1);
+  if (!isatty (STDOUT_FILENO))
+    SET_BINARY (STDOUT_FILENO);
 #endif
 
   if (max_count == 0)
-    exit (EXIT_FAILURE);
+    return EXIT_FAILURE;
 
   if (fts_options & FTS_LOGICAL && devices == READ_COMMAND_LINE_DEVICES)
     devices = READ_DEVICES;
 
-  char **files;
+  char *const *files;
   if (optind < argc)
     {
       files = argv + optind;
     }
   else if (directories == RECURSE_DIRECTORIES && prepended < last_recursive)
     {
-      static char *cwd_only[] = { (char *) ".", NULL };
+      static char *const cwd_only[] = { (char *) ".", NULL };
       files = cwd_only;
       omit_dot_slash = true;
     }
   else
     {
-      static char *stdin_only[] = { (char *) "-", NULL };
+      static char *const stdin_only[] = { (char *) "-", NULL };
       files = stdin_only;
     }
 
-  ok = true;
+  bool status = true;
   do
-    ok &= grep_command_line_arg (*files++);
+    status &= grep_command_line_arg (*files++);
   while (*files != NULL);
 
   /* We register via atexit() to test stdout.  */
-  exit (errseen ? EXIT_TROUBLE : ok);
+  return errseen ? EXIT_TROUBLE : status;
 }
-/* vim:set shiftwidth=2: */

-----------------------------------------------------------------------

Summary of changes:
 src/grep.c |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Fri Jun 26 19:48:16 2015
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Z8dM0-00048k-Tb
	for mharc-grep-commit@gnu.org; Fri, 26 Jun 2015 19:48:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33163)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Z8dLx-000489-Bu
	for grep-commit@gnu.org; Fri, 26 Jun 2015 19:48:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Z8dLv-0001LF-Dk
	for grep-commit@gnu.org; Fri, 26 Jun 2015 19:48:13 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:49258)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Z8dLv-0001LA-AS
	for grep-commit@gnu.org; Fri, 26 Jun 2015 19:48:11 -0400
Received: from eggert by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <eggert@cs.ucla.edu>) id 1Z8dLu-0005wB-BN
	for grep-commit@gnu.org; Fri, 26 Jun 2015 23:48:10 +0000
Date: Fri, 26 Jun 2015 23:48:10 +0000
Message-Id: <E1Z8dLu-0005wB-BN@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.21-35-ge555a55
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: fa007910ceb18cba349b3f8a162a2939bc2b75c8
X-Git-Newrev: e555a55f30c97191cedc76238e8dbefea882c8b9
From: Paul Eggert <eggert@cs.ucla.edu>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Jun 2015 23:48:15 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  e555a55f30c97191cedc76238e8dbefea882c8b9 (commit)
      from  fa007910ceb18cba349b3f8a162a2939bc2b75c8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=e555a55f30c97191cedc76238e8dbefea882c8b9


commit e555a55f30c97191cedc76238e8dbefea882c8b9
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Jun 26 16:44:50 2015 -0700

    grep: don't hang on command-line fifo if -D skip
    
    * NEWS: Document this.
    * src/grep.c (skip_devices):
    New function, with code taken from grepdirent.
    (grepdirent): Use it.  Avoid an unnecessary initialization.
    (grepfile): If skipping devices, open files with O_NONBLOCK.
    Throw in O_NOCTTY while we're at it.
    (grepdesc): Skip devices here, too.  Not only does this fix the
    bug, it fixes an unlikely race condition if some other process
    renames a device between fstatat and openat.
    * tests/skip-device: Add a test for this bug.

diff --git a/NEWS b/NEWS
index ae8f38f..bbbe893 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,9 @@ GNU grep NEWS                                    -*- outline -*-
   When the JIT stack is exhausted, grep -P now grows the stack rather
   than reporting an internal PCRE error.
 
+  'grep -D skip PATTERN FILE' no longer hangs if FILE is a fifo.
+  [bug introduced in grep-2.12]
+
 
 * Noteworthy changes in release 2.21 (2014-11-23) [stable]
 
diff --git a/src/grep.c b/src/grep.c
index 6f43284..d1581e3 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -433,6 +433,13 @@ is_device_mode (mode_t m)
   return S_ISCHR (m) || S_ISBLK (m) || S_ISSOCK (m) || S_ISFIFO (m);
 }
 
+static bool
+skip_devices (bool command_line)
+{
+  return (devices == SKIP_DEVICES
+          || (devices == READ_COMMAND_LINE_DEVICES && !command_line));
+}
+
 /* Return if ST->st_size is defined.  Assume the file is not a
    symbolic link.  */
 static bool
@@ -1466,7 +1473,6 @@ grepdirent (FTS *fts, FTSENT *ent, bool command_line)
 {
   bool follow;
   int dirdesc;
-  struct stat *st = ent->fts_statp;
   command_line &= ent->fts_level == FTS_ROOTLEVEL;
 
   if (ent->fts_info == FTS_DP)
@@ -1515,9 +1521,9 @@ grepdirent (FTS *fts, FTSENT *ent, bool command_line)
 
     case FTS_DEFAULT:
     case FTS_NSOK:
-      if (devices == SKIP_DEVICES
-          || (devices == READ_COMMAND_LINE_DEVICES && !command_line))
+      if (skip_devices (command_line))
         {
+          struct stat *st = ent->fts_statp;
           struct stat st1;
           if (! st->st_mode)
             {
@@ -1572,7 +1578,10 @@ open_symlink_nofollow_error (int err)
 static bool
 grepfile (int dirdesc, char const *name, bool follow, bool command_line)
 {
-  int desc = openat_safer (dirdesc, name, O_RDONLY | (follow ? 0 : O_NOFOLLOW));
+  int oflag = (O_RDONLY | O_NOCTTY
+               | (follow ? 0 : O_NOFOLLOW)
+               | (skip_devices (command_line) ? O_NONBLOCK : 0));
+  int desc = openat_safer (dirdesc, name, oflag);
   if (desc < 0)
     {
       if (follow || ! open_symlink_nofollow_error (errno))
@@ -1601,6 +1610,10 @@ grepdesc (int desc, bool command_line)
       goto closeout;
     }
 
+  if (desc != STDIN_FILENO && skip_devices (command_line)
+      && is_device_mode (st.st_mode))
+    goto closeout;
+
   if (desc != STDIN_FILENO && command_line
       && skipped_file (filename, true, S_ISDIR (st.st_mode) != 0))
     goto closeout;
diff --git a/tests/skip-device b/tests/skip-device
index 32663fe..e73bad3 100755
--- a/tests/skip-device
+++ b/tests/skip-device
@@ -8,4 +8,9 @@
 echo foo | grep -D skip foo - || fail=1
 echo foo | grep --devices=skip foo || fail=1
 
+require_timeout_
+mkfifo myfifo || framework_failure_
+timeout 2s grep -D skip foo myfifo
+test $? -eq 1 || fail=1
+
 Exit $fail

-----------------------------------------------------------------------

Summary of changes:
 NEWS              |    3 +++
 src/grep.c        |   21 +++++++++++++++++----
 tests/skip-device |    5 +++++
 3 files changed, 25 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Tue Jun 30 12:34:37 2015
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Z9yUX-0004SP-7l
	for mharc-grep-commit@gnu.org; Tue, 30 Jun 2015 12:34:37 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33602)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z9yUS-0004RN-6I
	for grep-commit@gnu.org; Tue, 30 Jun 2015 12:34:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z9yUQ-00050J-Be
	for grep-commit@gnu.org; Tue, 30 Jun 2015 12:34:32 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:47275)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Z9yUQ-000500-8h
	for grep-commit@gnu.org; Tue, 30 Jun 2015 12:34:30 -0400
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1Z9yUP-0002AZ-G0
	for grep-commit@gnu.org; Tue, 30 Jun 2015 16:34:29 +0000
Date: Tue, 30 Jun 2015 16:34:29 +0000
Message-Id: <E1Z9yUP-0002AZ-G0@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.21-36-gcd85f6a
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e555a55f30c97191cedc76238e8dbefea882c8b9
X-Git-Newrev: cd85f6ad171e784a6177e590b24be41e05a6b605
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 16:34:36 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  cd85f6ad171e784a6177e590b24be41e05a6b605 (commit)
      from  e555a55f30c97191cedc76238e8dbefea882c8b9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cd85f6ad171e784a6177e590b24be41e05a6b605


commit cd85f6ad171e784a6177e590b24be41e05a6b605
Author: Jim Meyering <meyering@fb.com>
Date:   Sun Jun 28 21:44:16 2015 -0700

    tests/case-fold-backref: factor test

diff --git a/tests/case-fold-backref b/tests/case-fold-backref
index dfa4161..b96b481 100755
--- a/tests/case-fold-backref
+++ b/tests/case-fold-backref
@@ -2,7 +2,7 @@
 # This would fail for grep-2.5.3
 . "${srcdir=.}/init.sh"; path_prepend_ ../src
 
-printf 'foo foo\nFoo foo\nFOO foo\n'      > exp1 || framework_failure_
+printf '%s foo\n' foo fOo Foo FOO > exp1 || framework_failure_
 fail=0
 
 for LOC in en_US.UTF-8 en_US zh_CN $LOCALE_FR_UTF8 C; do

-----------------------------------------------------------------------

Summary of changes:
 tests/case-fold-backref |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
grep


