apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r678983 - /apr/apr-util/branches/1.3.x/misc/apu_dso.c
Date Wed, 23 Jul 2008 02:59:11 GMT
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) "/",



Mime
View raw message