From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s3FNmpdt005602 for ; Tue, 15 Apr 2014 19:48:51 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s3FNmpWm014582; Tue, 15 Apr 2014 19:48:51 -0400 (EDT) Date: Tue, 15 Apr 2014 19:48:51 -0400 (EDT) Message-Id: <201404152348.s3FNmpWm014582@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: At the end of mansearch(), fchdir() back to where we started X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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. Modified Files: -------------- mdocml: mansearch.c Revision Data ------------- Index: mansearch.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mansearch.c,v retrieving revision 1.28 retrieving revision 1.29 diff -Lmansearch.c -Lmansearch.c -u -p -r1.28 -r1.29 --- mansearch.c +++ 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 -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv