This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]