Commit 64e6ee5c authored by Alexandre Julliard's avatar Alexandre Julliard

server: Set stderr in line-buffered mode before doing anything else.

parent 07f77c41
......@@ -126,6 +126,7 @@ static void sigterm_handler( int signum )
int main( int argc, char *argv[] )
{
setvbuf( stderr, NULL, _IOLBF, 0 );
parse_args( argc, argv );
/* setup temporary handlers before the real signal initialization is done */
......@@ -138,7 +139,6 @@ int main( int argc, char *argv[] )
sock_init();
open_master_socket();
setvbuf( stderr, NULL, _IOLBF, 0 );
if (debug_level) fprintf( stderr, "wineserver: starting (pid=%ld)\n", (long) getpid() );
init_signals();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment