The exit status for “find” command is defined as
0 All path operands were traversed successfully.
0 An error occurred.
in POSIX and QNX manual,
but whatif there were NO matches, nothing was traversed?
$ mkdir freshdir
$ cd freshdir
$ find . -type f # no matches
$ echo $?
The Solaris find and GNU find returns 0 (“success”).
QNX find returns 1 (“error”).
This is a boundary condition not clearly specified in POSIX,
but if there’s no problem, it’s better that
QNX find returns 0 too for this.
Actual problem: GNU automake testsuite fails because of this.
I’d like to have QSSL comments before issuing bugreport to automake.
(They may say “QNX sux” without a good investigation report)