CVSROOT: /cvsroot/gnash
Module name: gnash
Changes by: Udo Giacomozzi <udog> 07/07/11 09:10:09
Modified files:
. : ChangeLog
gui : fb.cpp
Log message:
gui/fb.cpp: print fatal error messages to stdout (workaround), fixes
bug #20012
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3712&r2=1.3713
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fb.cpp?cvsroot=gnash&r1=1.35&r2=1.36
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3712
retrieving revision 1.3713
diff -u -b -r1.3712 -r1.3713
--- ChangeLog 11 Jul 2007 07:55:06 -0000 1.3712
+++ ChangeLog 11 Jul 2007 09:10:08 -0000 1.3713
@@ -1,3 +1,8 @@
+2007-07-04 Udo Giacomozzi <[EMAIL PROTECTED]>
+
+ * gui/fb.cpp: print fatal error messages to stdout (workaround),
+ fixes bug #20012
+
2007-07-11 Zou Lunkai <[EMAIL PROTECTED]>
* testsuite/actionscript.all/case.as: add a testcase for testing
Index: gui/fb.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/fb.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- gui/fb.cpp 1 Jul 2007 10:54:00 -0000 1.35
+++ gui/fb.cpp 11 Jul 2007 09:10:09 -0000 1.36
@@ -49,6 +49,10 @@
# include <sys/stat.h>
# include <fcntl.h>
#endif
+
+// workaround until we agree that log_error does not rely on -v switch
+#define fatal_error printf
+
//--
@@ -186,7 +190,7 @@
// Open the framebuffer device
fd = open("/dev/fb0", O_RDWR);
if (fd<0) {
- log_error("Could not open framebuffer device: %s", strerror(errno));
+ fatal_error("Could not open framebuffer device: %s", strerror(errno));
return false;
}
@@ -265,7 +269,7 @@
if (pixelformat) {
agg_handler = create_render_handler_agg(pixelformat);
} else {
- log_error("The pixel format of your framebuffer is not supported.");
+ fatal_error("The pixel format of your framebuffer is not supported.");
return false;
}
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit