diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-06-20 01:21:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-06-20 01:21:48 +0000 |
commit | 89950ec6e6520116b180c9c8641702284e63be2d (patch) | |
tree | e11a0ad8031893e4152406646588b79592bd052e /out.h | |
parent | e3955eaa210176dd13ecce369f9eeda376c3d45e (diff) | |
download | mandoc-89950ec6e6520116b180c9c8641702284e63be2d.tar.gz |
More tweaking of set_basedir().
1) Do not error out when getcwd(3) fails, only fail when inaccessibility
of the cwd prevents processing of relative paths given on the command line.
2) Do not uselessly call set_basedir() twice in a row.
While fts_read(3) in treescan() does cause the cwd to jump around,
fts_close(3) is always called at the end, putting us back
where we came from. The -d/-u fallback code already relied on this.
3) Fix the man-root-dir indicator in say().
Diffstat (limited to 'out.h')
0 files changed, 0 insertions, 0 deletions