diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-03-24 02:18:51 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-03-24 02:18:51 +0000 |
commit | d66e91d61c8aa0c9b9bb234a683fcda0a15be65b (patch) | |
tree | d26b11bf567b5bae8132299760272dba7e27690f | |
parent | 08612e9c1eb58e01548c90223334d1eac1beb993 (diff) | |
download | mandoc-d66e91d61c8aa0c9b9bb234a683fcda0a15be65b.tar.gz |
Forgot chdir(2) into volume path.VERSION.1.12.1
-rw-r--r-- | apropos.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -143,6 +143,7 @@ main(int argc, char *argv[]) } if (--terms < ressz && res[terms].matched) { + chdir(paths.paths[res[terms].volume]); strlcpy(path, res[terms].file, PATH_MAX); usecat = RESTYPE_CAT == res[terms].type; } |