mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 728986: dump() writes to stdout instead of stderr. r=bent
This commit is contained in:
parent
c6d4d0e166
commit
6f18fbf7c7
@ -528,8 +528,8 @@ private:
|
||||
#ifdef ANDROID
|
||||
__android_log_print(ANDROID_LOG_INFO, "Gecko", buffer.ptr());
|
||||
#endif
|
||||
fputs(buffer.ptr(), stderr);
|
||||
fflush(stderr);
|
||||
fputs(buffer.ptr(), stdout);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -2799,8 +2799,8 @@ SandboxDump(JSContext *cx, unsigned argc, jsval *vp)
|
||||
}
|
||||
#endif
|
||||
|
||||
fputs(cstr, stderr);
|
||||
fflush(stderr);
|
||||
fputs(cstr, stdout);
|
||||
fflush(stdout);
|
||||
NS_Free(cstr);
|
||||
JS_SET_RVAL(cx, vp, JSVAL_TRUE);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user