Re: The returned value of -prune and its documentation

2019-04-30 Thread Dale R. Worley
Cristian Zoicas writes: > The following directory structure and the following statement show that -prune > does not return false when -depth is given. > > mkdir -p test/s_files/ > echo a-top > test/a-top.txt > echo s-top > test/s-top.txt > echo a > test/s_files/a.txt > echo s1 > test/s_files/s1.tx

The returned value of -prune and its documentation

2019-04-30 Thread Cristian Zoicas
Hello all The manual page of find says the following for the -prune action: -prune True; if the file is a directory, do not descend into it. If -depth is given, false; no effect. Because -delete implies -depth, you cannot usefully use -prune and -delete together. So I unders

[bug #47220] Assertion "fdleak.c:382: complain_about_leaky_fds" during find

2019-04-30 Thread Pavel Modilaynen
Follow-up Comment #2, bug #47220 (project findutils): I consistently reproduce this with yocto when enable pseudo logging: FAKEROOTENV_append = " PSEUDO_DEBUG=1 PSEUDO_DEBUG_FILE=<>/pseudolog/pseudo_dbg.log" And I've tracked down this issue root cause to pseudo log file descriptor leak, reported