[Scummvm-cvs-logs] SF.net SVN: scummvm:[42429] scummvm/trunk/common/util.cpp

sunmax at users.sourceforge.net sunmax at users.sourceforge.net
Mon Jul 13 00:00:48 CEST 2009


Revision: 42429
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42429&view=rev
Author:   sunmax
Date:     2009-07-12 22:00:47 +0000 (Sun, 12 Jul 2009)

Log Message:
-----------
On PS2 use "fprintf" (as in 0.13.x ) to print error messages to stderr,
rather than "fputs", which is buggy in the PS2 implementation.

Modified Paths:
--------------
    scummvm/trunk/common/util.cpp

Modified: scummvm/trunk/common/util.cpp
===================================================================
--- scummvm/trunk/common/util.cpp	2009-07-12 21:58:00 UTC (rev 42428)
+++ scummvm/trunk/common/util.cpp	2009-07-12 22:00:47 UTC (rev 42429)
@@ -477,7 +477,11 @@
 
 
 	// Print the error message to stderr
+#ifndef __PLAYSTATION2__
 	fputs(buf_output, stderr);
+#else
+	fprintf(stderr, "%s\n", buf_output);
+#endif
 
 	// Unless this error -originated- within the debugger itself, we
 	// now invoke the debugger, if available / supported.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list