fixes bug 278307 "When GRE_HOME is set, #ifndef XP_WIN32 and #ifndef XP_UNIX we return null unexpectedly" patch by callek, r+sr=darin

git-svn-id: svn://10.0.0.236/trunk@167696 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net 2005-01-14 00:02:06 +00:00
parent b30b2d519e
commit 2ca4cf84b4

View File

@ -304,6 +304,9 @@ GRE_GetGREPath()
#elif XP_WIN32
if (!_fullpath(sGRELocation, env, MAXPATHLEN))
strcpy(sGRELocation, env);
#else
// hope for the best
strcpy(sGRELocation, env);
#endif
// xxxbsmedberg: it would help that other platforms had a "make absolute" function
return sGRELocation;