You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2013/08/29 02:16:19 UTC

svn commit: r1518424 - in /apr/apr/branches/1.4.x: ./ test/abts.c

Author: trawick
Date: Thu Aug 29 00:16:18 2013
New Revision: 1518424

URL: http://svn.apache.org/r1518424
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/branches/1.4.x/   (props changed)
    apr/apr/branches/1.4.x/test/abts.c

Propchange: apr/apr/branches/1.4.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1516261

Modified: apr/apr/branches/1.4.x/test/abts.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/test/abts.c?rev=1518424&r1=1518423&r2=1518424&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/test/abts.c (original)
+++ apr/apr/branches/1.4.x/test/abts.c Thu Aug 29 00:16:18 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 {