printf_stderr now works out of the box on Windows

Skip to first unread message

Jeff Muizelaar

Mar 19, 2021, 4:12:23 PMMar 19
to Mozilla
15 years ago we landed a change to make printf_stderr reopen fd 2
instead of using stderr directly to work around a linking issue. This
prevented printf_stderr from showing up in the console on Windows.

I landed this
week to fix this.

Now you don't have to redirect fd 2 to a file to see printf_stderr.


Emilio Cobos Álvarez

Mar 19, 2021, 6:06:28 PMMar 19
to Jeff Muizelaar, Mozilla
First, thanks a lot for fixing this. Every single time I need to debug
something windows-specific and I had to printf something I had to
remember the right incarnation to use.

Does this work now on content processes out of the box? Or do we still
need to disable the sandbox or what not to see those?

-- Emilio
Reply all
Reply to author
0 new messages