1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00
freebsd/usr.bin/find
Jilles Tjoelker 7a79617cc1 find: Correctly propagate -exec/-execdir ... {} + exit status.
As per POSIX, the -exec ... {} + primary always returns true, but a non-zero
exit status causes find to return a non-zero exit status itself. GNU does
the same, and also for -execdir ... {} +.

It does not make much sense to return false from the primary only when the
child process happens to be run.

The behaviour for -exec/-execdir ... ; remains unchanged: the primary
returns true or false depending on the exit status, and find's exit status
is unaffected.
2014-04-12 22:36:26 +00:00
..
extern.h find: Correctly propagate -exec/-execdir ... {} + exit status. 2014-04-12 22:36:26 +00:00
find.1 find: Correctly propagate -exec/-execdir ... {} + exit status. 2014-04-12 22:36:26 +00:00
find.c find: Correctly propagate -exec/-execdir ... {} + exit status. 2014-04-12 22:36:26 +00:00
find.h find: Include nanoseconds when comparing timestamps of files. 2013-03-17 22:51:58 +00:00
function.c find: Correctly propagate -exec/-execdir ... {} + exit status. 2014-04-12 22:36:26 +00:00
getdate.y Fix world after byacc import: 2012-05-22 16:33:10 +00:00
ls.c Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:19 +00:00
main.c find: Correctly propagate -exec/-execdir ... {} + exit status. 2014-04-12 22:36:26 +00:00
Makefile Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
misc.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
operator.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
option.c Add an option for finding sparse files. 2013-03-03 20:10:56 +00:00