summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@nuwen.net>2017-11-26 16:12:17 -0800
committerJim Meyering <meyering@fb.com>2017-11-26 18:54:41 -0800
commit6ada8b0a1b3f408ebf76e0cf7f7bb61019a70fdc (patch)
tree3ccb18b622fb647583e3a1f80f6e149fc75779e3
parentd069525b20e65ef86fb680ba830db634487f111e (diff)
downloadgrep-6ada8b0a1b3f408ebf76e0cf7f7bb61019a70fdc.tar.gz
grep: fix directory recursion on MS-Windows
gnulib recently gained a module, windows-stat-inodes, that fixes directory recursion on MS-Windows. No changes to grep's C sources are required; grep simply needs to request the module during configuration. When grep requests this module, its configure script will gain the behavior that was implemented in windows-stat-inodes.m4. This detects mingw and sets WINDOWS_STAT_INODES=1. All other platforms are unaffected, setting WINDOWS_STAT_INODES=0 (which is what's happening in the absence of this patch). * bootstrap.conf (gnulib_modules): Add windows-stat-inodes. * NEWS (Bug fixes): Mention it. Thanks to Pär Björklund who diagnosed the problem as involving inodes, and thanks to Václav Haisman who provided the bootstrap.conf patch.
-rw-r--r--NEWS6
-rw-r--r--bootstrap.conf1
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 9ed78fb0..51a15292 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,12 @@ GNU grep NEWS -*- outline -*-
when a file is listed, instead of when a line is selected. This
resembles what git-grep does.
+** Bug fixes
+
+ The --recursive (-r) option no longer fails on MS-Windows.
+ [bug introduced in grep 2.11]
+
+
* Noteworthy changes in release 3.1 (2017-07-02) [stable]
** Improvements
diff --git a/bootstrap.conf b/bootstrap.conf
index 1c50974e..73f1573d 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -93,6 +93,7 @@ wchar
wcrtomb
wctob
wctype-h
+windows-stat-inodes
xalloc
xbinary-io
xstrtoimax