git: grep: Restore modification for HAMMER FS

John Marino marino at crater.dragonflybsd.org
Tue May 8 14:57:12 PDT 2012


commit 95cd2e3aa78765a18212ce0932a5edad68e56f66
Author: John Marino <draco at 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





More information about the Commits mailing list