You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2005/10/12 15:01:07 UTC
svn commit: r314873 -
/xerces/c/branches/xerces-2.7/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp
Author: cargilld
Date: Wed Oct 12 06:01:04 2005
New Revision: 314873
URL: http://svn.apache.org/viewcvs?rev=314873&view=rev
Log:
Previous versions of xercesc would treat \directory\file.xml as a relative path. Fix for compatiblity.
Modified:
xerces/c/branches/xerces-2.7/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp
Modified: xerces/c/branches/xerces-2.7/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp?rev=314873&r1=314872&r2=314873&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp (original)
+++ xerces/c/branches/xerces-2.7/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp Wed Oct 12 06:01:04 2005
@@ -584,7 +584,7 @@
// If it starts with a double slash, then it cannot be relative since
// it's a remote file.
//
- if (isBackSlash(toCheck[0]) && isBackSlash(toCheck[1]))
+ if (isBackSlash(toCheck[0]))
return false;
// Else assume its a relative path
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org