[vlc-commits] commit: Flush standard output after help is written (fix #4102) ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Mon Aug 23 20:42:23 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 23 21:41:48 2010 +0300| [f5ac248b3ab9a70dc43ec8f8b9063aa200d94136] | committer: Rémi Denis-Courmont 

Flush standard output after help is written (fix #4102)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f5ac248b3ab9a70dc43ec8f8b9063aa200d94136
---

 src/libvlc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index e7e2c19..2840853 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1257,6 +1257,7 @@ static void Help( libvlc_int_t *p_this, char const *psz_help_name )
 #ifdef WIN32        /* Pause the console because it's destroyed when we exit */
     PauseConsole();
 #endif
+    fflush( stdout );
 }
 
 /*****************************************************************************



More information about the vlc-commits mailing list