зеркало из https://github.com/mozilla/pjs.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:
Родитель
dfe2f556f7
Коммит
d99459c7bb
|
@ -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())
|
||||
|
|
Загрузка…
Ссылка в новой задаче