apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1518630 - in /apr/apr-util/branches/1.5.x: ./ test/abts.c
Date Thu, 29 Aug 2013 13:06:47 GMT
Author: trawick
Date: Thu Aug 29 13:06:46 2013
New Revision: 1518630

URL: http://svn.apache.org/r1518630
Log:
merge r1516261 from trunk:

support Windows-style paths when checking for absolute paths
(e.g., cmake-based out of tree build)

Modified:
    apr/apr-util/branches/1.5.x/   (props changed)
    apr/apr-util/branches/1.5.x/test/abts.c

Propchange: apr/apr-util/branches/1.5.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1516261

Modified: apr/apr-util/branches/1.5.x/test/abts.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.5.x/test/abts.c?rev=1518630&r1=1518629&r2=1518630&view=diff
==============================================================================
--- apr/apr-util/branches/1.5.x/test/abts.c (original)
+++ apr/apr-util/branches/1.5.x/test/abts.c Thu Aug 29 13:06:46 2013
@@ -106,6 +106,9 @@ abts_suite *abts_add_suite(abts_suite *s
     /* suite_name_full may be an absolute path depending on __FILE__ 
      * expansion */
     suite_name = strrchr(suite_name_full, '/');
+    if (!suite_name) {
+        suite_name = strrchr(suite_name_full, '\\');
+    }
     if (suite_name) {
         suite_name++;
     } else {



Mime
View raw message