summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-02-14 15:02:59 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-02-16 08:54:41 -0800
commit5ac3d87a69122d45a837840914c2f9e66b5bb8d4 (patch)
treedc4b278491a96fa312afadf093bf44b3a2b54348 /bootstrap.conf
parent5398777784b4455aa8466c1aef48b5738b8cd626 (diff)
downloadgrep-5ac3d87a69122d45a837840914c2f9e66b5bb8d4.tar.gz
Simplify -U on MS-Windows by removing guesswork
Suggested by Eric Blake (Bug#25707#11). * NEWS, doc/grep.texi: Document this. * src/dosbuf.c: Remove. * bootstrap.conf (gnulib_modules): Add xfreopen. * src/grep.c: Include xfreopen.h, not dosbuf.c. (fillbuf, print_line_head): Do not undossify input. (binary): New static var. (grepdesc): Apply BINARY to input file. (usage): Remove -u help. (main): Set BINARY if -U, and apply it to stdout. Do nothing if -u. With -f, apply BINARY to input file.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index cd2d756b..4115f35b 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -95,6 +95,7 @@ wcrtomb
wctob
wctype-h
xalloc
+xfreopen
xstrtoimax
'
gnulib_name=libgreputils