diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-15 23:48:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-15 23:48:51 +0000 |
commit | 1e37663de965811e1708b093943894578c95d5ae (patch) | |
tree | fc62f997f61d4c1639aa8609febc80555480fddb /mansearch.c | |
parent | a9275598d73b20d7aa08d835d182200c3fab8578 (diff) | |
download | mandoc-1e37663de965811e1708b093943894578c95d5ae.tar.gz |
At the end of mansearch(), fchdir() back to where we started from;
this is cleaner and helps to not scatter gmon.out files all over
the place when profiling.
Diffstat (limited to 'mansearch.c')
-rw-r--r-- | mansearch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mansearch.c b/mansearch.c index b6c00a9a..b84295ae 100644 --- a/mansearch.c +++ b/mansearch.c @@ -218,6 +218,7 @@ mansearch(const struct mansearch *search, } sql = sql_statement(e); + printf("%s\n", sql); /* * Loop over the directories (containing databases) for us to |