[dvblast-devel] Output text via msg_Raw() to stdout.

Georgi Chorbadzhiyski git at videolan.org
Thu Oct 24 15:50:48 CEST 2013


dvblast | branch: master | Georgi Chorbadzhiyski <gf at unixsol.org> | Thu Oct 24 16:43:15 2013 +0300| [b18aa5dd23da4813e7eff4625aeb4532eea68dcd] | committer: Georgi Chorbadzhiyski

Output text via msg_Raw() to stdout.

msg_Raw() is only used to output dvblast usage text. It's somewhat
antisocial to output usage text to stderr and to force everybody
that wants to use less (we have lots of options) to have to play
games with shell redirection.

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

 util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c
index 14b1db5..237f150 100644
--- a/util.c
+++ b/util.c
@@ -160,7 +160,7 @@ void msg_Raw( void *_unused, const char *psz_format, ... )
     if ( i_syslog )
         vsyslog( LOG_NOTICE, psz_fmt, args );
     else
-        vfprintf( stderr, psz_fmt, args );
+        vfprintf( stdout, psz_fmt, args );
     va_end(args);
 }
 



More information about the dvblast-devel mailing list