Commit adda0f9f authored by Christophe Massiot's avatar Christophe Massiot

* dvblast.c: When using -x, set stdout in line-buffered mode.

parent 0125057f
...@@ -729,6 +729,8 @@ int main( int i_argc, char **pp_argv ) ...@@ -729,6 +729,8 @@ int main( int i_argc, char **pp_argv )
i_print_type = PRINT_XML; i_print_type = PRINT_XML;
else else
msg_Warn( NULL, "unrecognized print type %s", optarg ); msg_Warn( NULL, "unrecognized print type %s", optarg );
/* Make stdout line-buffered */
setvbuf(stdout, NULL, _IOLBF, 0);
break; break;
case 'Q': case 'Q':
......
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