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 15:06:47 UTC
svn commit: r1518630 - in /apr/apr-util/branches/1.5.x: ./ test/abts.c
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 {