DragonFly commits List (threaded) for 2008-12
DragonFly BSD
DragonFly commits List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthias Schmidt <matthias@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Dec 2008 03:14:48 -0800 (PST)

commit 1f1aa8d7b840c4f625756edd033e90549a1e81f4
Author: Matthias Schmidt <matthias@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]