diff --git a/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp b/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp index ccba8bce684..ac0e1781a3a 100644 --- a/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp +++ b/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp @@ -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;