commit | ecc7025567b773576fd17abe5cd6db8ff704f60b | [log] [tgz] |
---|---|---|
author | eric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Tue Sep 29 16:10:02 2009 +0000 |
committer | eric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Tue Sep 29 16:10:02 2009 +0000 |
tree | e9252b62acd0bc6adad7a5d8594ca33d332e6022 | |
parent | e99dfc8b9893aae349a210ba8a2c8ce3192493b8 [diff] [blame] |
2009-09-29 Janne Koskinen <janne.p.koskinen@digia.com> Reviewed by David Kilzer. [Qt] Assert messages prints visible in Symbian https://bugs.webkit.org/show_bug.cgi?id=29808 Asserts use vprintf to print the messages to stderr. In Symbian Open C it is not possible to see stderr so I routed the messages to stdout instead. * wtf/Assertions.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/wtf/Assertions.cpp b/JavaScriptCore/wtf/Assertions.cpp index 819ed9a..6c5e2e3 100644 --- a/JavaScriptCore/wtf/Assertions.cpp +++ b/JavaScriptCore/wtf/Assertions.cpp
@@ -105,7 +105,11 @@ } while (size > 1024); } #endif +#if PLATFORM(SYMBIAN) + vfprintf(stdout, format, args); +#else vfprintf(stderr, format, args); +#endif } WTF_ATTRIBUTE_PRINTF(1, 2)