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

git: grep: Restore modification for HAMMER FS


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 May 2012 14:57:12 -0700 (PDT)

commit 95cd2e3aa78765a18212ce0932a5edad68e56f66
Author: John Marino <draco@marino.st>
Date:   Tue May 8 18:25:35 2012 +0200

    grep: Restore modification for HAMMER FS
    
    The first version of this modification was created by Matthias Schmidt.
    Unmodified, grep used on a HAMMER filesystem will emit "Invalid argument"
    when scanning directories because HAMMER doesn't treat them as files.
    
    Unmodified behavior:
    > cd /usr/src
    > grep test: *
    Makefile:test:
    grep: cat: Invalid argument
    [...]
    
    After modification:
    > cd /usr/src
    > grep test: *
    Makefile:test:
    
    The modification was removed because it didn't merge simply with the
    grep upgrade from 2.9 to 2.12.  Now that the merge is complete, the
    new version of the modification is applied to restore the correct
    behavior of grep on the HAMMER filesystem.

Summary of changes:
 contrib/grep/src/main.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95cd2e3aa78765a18212ce0932a5edad68e56f66


-- 
DragonFly BSD source repository



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