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:59:11 UTC

svn commit: r678983 - /apr/apr-util/branches/1.3.x/misc/apu_dso.c

Author: wrowe
Date: Tue Jul 22 19:59:10 2008
New Revision: 678983

URL: http://svn.apache.org/viewvc?rev=678983&view=rev
Log:
Round out 675817 by avoiding a skip of a 'special' last element
APU_DSO_LIBDIR where none existed.

Backports: r678982

Modified:
    apr/apr-util/branches/1.3.x/misc/apu_dso.c

Modified: apr/apr-util/branches/1.3.x/misc/apu_dso.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/misc/apu_dso.c?rev=678983&r1=678982&r2=678983&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/misc/apu_dso.c (original)
+++ apr/apr-util/branches/1.3.x/misc/apu_dso.c Tue Jul 22 19:59:10 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) "/",