Update of /cvsroot/xine/xine-lib/src/xine-utils
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4817

Modified Files:
        xineutils.h 
Log Message:
Automatically flush lprintf() output.


Index: xineutils.h
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/xine-utils/xineutils.h,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- xineutils.h 16 Oct 2006 22:18:24 -0000      1.105
+++ xineutils.h 18 Dec 2006 18:32:44 -0000      1.106
@@ -847,6 +847,7 @@
       do {                                                                  \
         LONG_LOG_MODULE_STRING                                              \
         printf(fmt, ##args);                                                \
+        fflush(stdout);                                                     \
       } while(0)
   #else /* __GNUC__ */
     #ifdef _MSC_VER
@@ -854,12 +855,14 @@
         do {                                                                \
           LONG_LOG_MODULE_STRING                                            \
           printf("%s", fmtargs);                                            \
+          fflush(stdout);                                                   \
         } while(0)
     #else /* _MSC_VER */
       #define lprintf(fmt, ...)                                             \
         do {                                                                \
           LONG_LOG_MODULE_STRING                                            \
           printf(__VA_ARGS__);                                              \
+          fflush(stdout);                                                   \
         } while(0)
     #endif  /* _MSC_VER */
   #endif /* __GNUC__ */


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to