summaryrefslogtreecommitdiffstats
path: root/compat_ohash.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-06-19 00:45:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-06-19 00:45:37 +0000
commite3955eaa210176dd13ecce369f9eeda376c3d45e (patch)
treed58be7f8cd3ceb489344dd565086fda6916036f4 /compat_ohash.h
parent0ca5847d527ba91fbbe0c81d40853c72054f9b5f (diff)
downloadmandoc-e3955eaa210176dd13ecce369f9eeda376c3d45e.tar.gz
Some simple set_basedir() cleanup; more to come.
1) Refrain from calling set_basedir() in the -t case, and do not attempt to strip anything from the file names in that case. Testing individual files cannot reasonably have any notion of a base dir. 2) Remove the possibility of passing NULL to set_basedir(). It was dangerous because it was not idempotent, and it served no purpose except closing a file descriptor right before exit(), which is pointless. Besides, the file descriptor is likely to be removed completely, soon. 3) Make sure that /foobar isn't treated as a subdirectory of /foo; this fixes a bug reported by espie@.
Diffstat (limited to 'compat_ohash.h')
0 files changed, 0 insertions, 0 deletions