find(1) assertion for folder with a sub-folder named `x:'

Haojun Bao baohaojun@gmail.com
Fri Jun 19 14:37:00 GMT 2009


hi, 

Here's a test case to make find(1) assertion:
    
    mkdir no-such-dir/foo/bar: -p

    #this will not assert
    find no-such-dir/  

    mkdir no-such-dir/foo/c: -p

    #this will assert now
    find no-such-dir/

    #this wil not assert
    cd no-such-dir/foo/; find .; cd -

    #this `rm' will fail silently
    rm no-such-dir/ -rf || echo rm failed

    #this `rm' will fail with `no such file/dir'
    rm no-such-dir/ -r
    
The `find' assertion is like this:

    assertion "ent->fts_info == FTS_NSOK || state.type != 0" failed: file "/usr/src/findutils-4.5.4-1/src/findutils-4.5.4/find/ftsfind.c", line 475, function: consider_visiting

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list