Two minor tweaks regarding the fallback from -u/-d to default mode:
authorschwarze <schwarze@openbsd.org>
Sat, 19 Apr 2014 02:55:44 +0000 (02:55 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 19 Apr 2014 02:55:44 +0000 (02:55 +0000)
commit517a7a5410cdb5f11e54e71958cffc9b943349f3
tree8c898ae7943012022e2c239149da1544d11db587
parentf91dff1e6e4ba4a3008724d7b40277abf8682f41
Two minor tweaks regarding the fallback from -u/-d to default mode:
(1) Use all files found on the command line, but do *not* use all stray
files found during fallback tree recursion.
(2) If the fallback works, call that success, i.e. exit(0).
As pointed out by naddy@, the latter is required for ports' happiness.
usr.bin/mandoc/mandocdb.c