In mozilla.c it says that XFE_InitDNS_Early is called before NSPR, etc.; but
the LOG macro calls PR_smprintf which fires up NSPR. Use fprintf instead of LOG() for this case. Thanks to tenthumbs@cybernex.net. git-svn-id: svn://10.0.0.236/trunk@2259 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
110ffa00cd
commit
fc422af5d8
@ -54,7 +54,13 @@ int sock;
|
||||
#ifdef UNIX_ASYNC_DNS
|
||||
static XP_Bool done = FALSE;
|
||||
|
||||
LOG("XFE_InitDNS_Early", ("calling DNS_SpawnProcess.\n"));
|
||||
/*
|
||||
* The following used to be LOG() instead of fprintf(). But, LOG() uses
|
||||
* PR_smprintf() which fires up NSPR.
|
||||
*/
|
||||
#ifdef PROC1_DEBUG_PRINT
|
||||
fprintf(stderr, "\tproc1 (%d): %s\n", getpid(), "XFE_InitDNS_Early: calling DNS_SpawnProcess.");
|
||||
#endif
|
||||
sock = DNS_SpawnProcess(argc, argv);
|
||||
|
||||
XP_ASSERT(!done);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user