diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-06-19 00:45:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-06-19 00:45:37 +0000 |
commit | e3955eaa210176dd13ecce369f9eeda376c3d45e (patch) | |
tree | d58be7f8cd3ceb489344dd565086fda6916036f4 /example.style.css | |
parent | 0ca5847d527ba91fbbe0c81d40853c72054f9b5f (diff) | |
download | mandoc-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 'example.style.css')
0 files changed, 0 insertions, 0 deletions