You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2008/07/23 04:58:49 UTC
svn commit: r678982 - /apr/apr-util/trunk/misc/apu_dso.c
Author: wrowe
Date: Tue Jul 22 19:58:49 2008
New Revision: 678982
URL: http://svn.apache.org/viewvc?rev=678982&view=rev
Log:
Round out 675817 by avoiding a skip of a 'special' last element
APU_DSO_LIBDIR where none existed.
Modified:
apr/apr-util/trunk/misc/apu_dso.c
Modified: apr/apr-util/trunk/misc/apu_dso.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/misc/apu_dso.c?rev=678982&r1=678981&r2=678982&view=diff
==============================================================================
--- apr/apr-util/trunk/misc/apu_dso.c (original)
+++ apr/apr-util/trunk/misc/apu_dso.c Tue Jul 22 19:58:49 2008
@@ -162,7 +162,11 @@
if (rv == APR_SUCCESS) { /* APR_EDSOOPEN */
break;
}
+#if defined(APU_DSO_LIBDIR)
else if (i < paths->nelts - 1) {
+#else
+ else { /* No APU_DSO_LIBDIR to skip */
+#endif
/* try with apr-util-APU_MAJOR_VERSION appended */
eos = apr_cpystrn(eos,
"apr-util-" APU_STRINGIFY(APU_MAJOR_VERSION) "/",
Re: svn commit: r678982 - /apr/apr-util/trunk/misc/apu_dso.c
Posted by Bojan Smojver <bo...@rexursive.com>.
On Wed, 2008-07-23 at 02:58 +0000, wrowe@apache.org wrote:
> Round out 675817 by avoiding a skip of a 'special' last element
> APU_DSO_LIBDIR where none existed.
Thanks Bill! I didn't take that one into account at all.
--
Bojan