components/stdcxx/patches/029-FUNC.cpp.patch
author Huie-Ying Lee <huieying.lee@oracle.com>
Thu, 17 Nov 2011 16:59:01 -0800
changeset 588 a72cfdd57701
parent 402 94ae4d75524c
permissions -rw-r--r--
7101901 Apache HTTP server crashes when tested with TLSv1 using OpenSSL pkcs11 engine

--- stdcxx-4.2.1/etc/config/src/FUNC.cpp	2008-04-24 20:25:44.000000000 -0400
+++ stdcxx-4.2.1/etc/config/src/FUNC.cpp	2009-03-27 22:36:07.136083000 -0400
@@ -25,6 +25,10 @@
 // 6.4.2.2, p1 of C99
 const char* func_test ()
 {
+#if defined(__SUNPRO_CC)
+#error "__func__ is broken in __SUNPRO_CC"
+#else
     return __func__;
+#endif
 }