• Julius Plenz's avatar
    Intercept dup2() · e033127e
    Julius Plenz authored
    Thus, also shell redirection -- which makes heavy use of dup2() --  is handled
    correctly:
    
        $ cachestats /tmp/foo
        open: No such file or directory
        $ nocache sh -c 'echo foo > /tmp/foo'
        $ cachestats /tmp/foo
        pages in cache: 0/1 (0.0%)  [filesize=0.0K, pagesize=4K]
    e033127e
Name
Last commit
Last update
COPYING Loading commit data...
Makefile Loading commit data...
README Loading commit data...
README.md Loading commit data...
cachedel.c Loading commit data...
cachestats.c Loading commit data...
fcntl_helpers.c Loading commit data...
nocache Loading commit data...
nocache.c Loading commit data...
nocache.global Loading commit data...