Date: Sun, 15 Aug 2010 22:15:04 +0000 (UTC) From: Gabor Kovesdan <gabor@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/grep fastgrep.c file.c grep.c grep.h queue.c util.c Message-ID: <201008152215.o7FMFP5M006227@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gabor 2010-08-15 22:15:04 UTC FreeBSD src repository Modified files: usr.bin/grep fastgrep.c file.c grep.c grep.h queue.c util.c Log: SVN rev 211364 on 2010-08-15 22:15:04Z by gabor - Revert strlcpy() changes to memcpy() because it's more efficient and former may be safer but in this case it doesn't add extra safety [1] - Fix -w option [2] - Fix handling of GREP_OPTIONS [3] - Fix --line-buffered - Make stdin input imply --line-buffered so that tail -f can be piped to grep [4] - Imply -h if single file is grepped, this is the GNU behaviour - Reduce locking overhead to gain some more performance [5] - Inline some functions to help the compiler better optimize the code - Use shortcut for empty files [6] PR: bin/149425 [6] Prodded by: jilles [1] Reported by: Alex Kozlov <spam@rm-rf.kiev.ua> [2] [3], swell.k@gmail.com [2], poyopoyo@puripuri.plala.or.jp [4] Submitted by: scf [5], Shuichi KITAGUCHI <ki@hh.iij4u.or.jp> [6] Approved by: delphij (mentor) Revision Changes Path 1.3 +4 -4 src/usr.bin/grep/fastgrep.c 1.2 +19 -6 src/usr.bin/grep/file.c 1.6 +24 -25 src/usr.bin/grep/grep.c 1.4 +1 -4 src/usr.bin/grep/grep.h 1.3 +1 -1 src/usr.bin/grep/queue.c 1.7 +17 -26 src/usr.bin/grep/util.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008152215.o7FMFP5M006227>