|
From: <cn...@us...> - 2009-05-12 04:57:20
|
Revision: 226
http://hgengine.svn.sourceforge.net/hgengine/?rev=226&view=rev
Author: cnlohr
Date: 2009-05-12 04:57:19 +0000 (Tue, 12 May 2009)
Log Message:
-----------
When we find out we can't set up the path the way we want, bail trying to set it, and assume we're already in the right place.
Modified Paths:
--------------
Mercury2/src/MercuryFileDriverDirect.cpp
Modified: Mercury2/src/MercuryFileDriverDirect.cpp
===================================================================
--- Mercury2/src/MercuryFileDriverDirect.cpp 2009-05-12 04:56:51 UTC (rev 225)
+++ Mercury2/src/MercuryFileDriverDirect.cpp 2009-05-12 04:57:19 UTC (rev 226)
@@ -213,6 +213,7 @@
if( !path_end )
{
fprintf( stderr, "WARNING: Could not change path of program to path of executable! Path retreived: \"%s\".\n", buffer );
+ return;
}
*path_end = 0;
if( !SetCurrentDirectory( (LPCWSTR)buffer ) )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|