diff --git grep-clean/src/egrep.sh grep-workdir/src/egrep.sh index a0d1694..d584c3f 100644 --- grep-clean/src/egrep.sh +++ grep-workdir/src/egrep.sh @@ -1,4 +1,3 @@ #!@SHELL@ cmd=${0##*/} -echo "$cmd: warning: $cmd is obsolescent; using @grep@ @option@" >&2 exec @grep@ @option@ "$@" diff --git grep-clean/src/grep.c grep-workdir/src/grep.c index 491dd02..5a0250a 100644 --- grep-clean/src/grep.c +++ grep-workdir/src/grep.c @@ -1774,7 +1774,7 @@ drain_input (int fd, struct stat const *st) ssize_t nbytes; if (S_ISFIFO (st->st_mode) && dev_null_output) { -#ifdef SPLICE_F_MOVE +#if 0 /* Should be faster, since it need not copy data to user space. */ nbytes = splice (fd, NULL, STDOUT_FILENO, NULL, INITIAL_BUFSIZE, SPLICE_F_MOVE);