From 3067a7048bb96860e01ccb7a0f0face7935d4aa2 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sat, 14 Nov 1998 23:37:32 +0000 Subject: [PATCH] Use mmap for reading files. This is faster than read(). --- gnu/usr.bin/grep/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile index a758287a093..3657b36769c 100644 --- a/gnu/usr.bin/grep/Makefile +++ b/gnu/usr.bin/grep/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.12 1998/03/07 16:13:57 wosch Exp $ +# $Id: Makefile,v 1.13 1998/10/02 07:14:32 obrien Exp $ GREP_LIBZ= YES GREP_FTS= YES @@ -7,7 +7,7 @@ PROG= grep SRCS= dfa.c grep.c getopt.c kwset.c obstack.c search.c CFLAGS+=-DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 \ -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 \ - -DHAVE_VALLOC=1 + -DHAVE_VALLOC=1 -DHAVE_WORKING_MMAP=1 LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \ ${BINDIR}/grep ${BINDIR}/fgrep