aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compat_ohash.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-06-20 01:21:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-06-20 01:21:48 +0000
commit68d738fe42e54462f22ee3dd221bf951ace1de86 (patch)
treeb40b22e579e620ed42baac2332bf494af3203d97 /compat_ohash.h
parent5ba3d3bba94db2977dc1ded16ed2539823a25967 (diff)
downloadmandoc-68d738fe42e54462f22ee3dd221bf951ace1de86.tar.gz
mandoc-68d738fe42e54462f22ee3dd221bf951ace1de86.tar.zst
mandoc-68d738fe42e54462f22ee3dd221bf951ace1de86.zip
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 'compat_ohash.h')
0 files changed, 0 insertions, 0 deletions