[vlc-commits] commit: Flush standard output after help is written (fix #4102) ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)

git at videolan.org git at videolan.org
Fri Jan 7 09:15:39 CET 2011


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

Flush standard output after help is written (fix #4102)
(cherry picked from commit f5ac248b3ab9a70dc43ec8f8b9063aa200d94136)

Signed-off-by: Sébastien Escudier <sebastien-devel at celeos.eu>

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

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

diff --git a/src/libvlc.c b/src/libvlc.c
index dd4412c..4396d4b 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1303,6 +1303,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