This is the mail archive of the
cygwin
mailing list for the Cygwin project.
find(1) assertion for folder with a sub-folder named `x:'
- From: Haojun Bao <baohaojun at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Jun 2009 17:55:48 +0800
- Subject: 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/