DragonFly-2.1.1.89.g1f1aa master gnu/usr.bin/grep grep.c

Matthias Schmidt matthias at crater.dragonflybsd.org
Thu Dec 18 03:15:23 PST 2008


commit 1f1aa8d7b840c4f625756edd033e90549a1e81f4
Author: Matthias Schmidt <matthias at dragonflybsd.org>
Date:   Thu Dec 18 11:56:46 2008 +0100

    Fix annoying bug with grep and HAMMER
    
    grep foo * on an UFS partition was silent if grep hit a subdirectory.  If
    executed on HAMMER, grep complains about "Invalid argument" because directories
    in HAMMER are not treated as files.
    
    Before:
    
    cd /usr/src
    grep test *
    Makefile:       test \
    grep: cat: Invalid argument
    [...]
    
    After:
    
    grep test *
    Makefile:       test \

Summary of changes:
 gnu/usr.bin/grep/grep.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=1f1aa8d7b840c4f625756edd033e90549a1e81f4


-- 
DragonFly BSD source repository





More information about the Commits mailing list