[ros-diffs] [arty] 13393: Add a . to an empty path to make a relative path, before the initial /

arty at svn.reactos.com arty at svn.reactos.com
Thu Feb 3 16:43:53 CET 2005


Add a . to an empty path to make a relative path, before the initial / 
is added.
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
  _____  

Modified: branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
2005-02-02 23:07:33 UTC (rev 13392)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
2005-02-03 15:43:51 UTC (rev 13393)
@@ -187,7 +187,7 @@

 #ifdef WIN32
 		if ( i ) out += "/";
 #else
-		out += "/";
+		out += out.size() ? "/" : "./";
 #endif
 		out += vout[i];
 	}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050203/63a81e60/attachment.html


More information about the Ros-diffs mailing list