зеркало из https://github.com/mozilla/gecko-dev.git
don't do fprintf(stderr,)
turn this on for all platforms, as it is useful to figure out why profiles aren't working
This commit is contained in:
Родитель
d75f60cbc0
Коммит
688381585c
|
@ -164,11 +164,10 @@ static void GetProfileDirectory(nsFileSpec& outSpec)
|
|||
|
||||
if (currProfileName)
|
||||
{
|
||||
#if defined(XP_PC) && defined(NS_DEBUG)
|
||||
// Don't print in release version. Don't use stderr in XP code.
|
||||
fprintf(stderr, "ProfileName : %s\n", currProfileName);
|
||||
fprintf(stderr, "ProfileDir : %s\n", currProfileDirSpec.GetCString());
|
||||
#endif
|
||||
#if defined(NS_DEBUG)
|
||||
printf("ProfileName : %s\n", currProfileName);
|
||||
printf("ProfileDir : %s\n", currProfileDirSpec.GetCString());
|
||||
#endif /* NS_DEBUG */
|
||||
PR_FREEIF(currProfileName);
|
||||
}
|
||||
if (!currProfileDirSpec.Exists())
|
||||
|
|
Загрузка…
Ссылка в новой задаче