summaryrefslogtreecommitdiff
path: root/ACE/ace/Service_Gestalt.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-02-13 13:31:02 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-02-13 13:31:02 +0000
commit4db1436648a6458bc56c7303ccaba87d497b88c7 (patch)
tree8cdee4d34eea2e115fdf686776522a440c1bb410 /ACE/ace/Service_Gestalt.cpp
parent5d096dc59895eb7f6dcc5ccc0078edbac98948e0 (diff)
downloadATCD-4db1436648a6458bc56c7303ccaba87d497b88c7.tar.gz
Fri Feb 13 13:30:28 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Dev_Poll_Reactor.cpp * ace/Log_Msg.cpp * ace/MEM_Acceptor.cpp * ace/MMAP_Memory_Pool.cpp * ace/POSIX_Asynch_IO.cpp * ace/POSIX_CB_Proactor.cpp * ace/POSIX_Proactor.cpp * ace/Registry_Name_Space.cpp * ace/Remote_Tokens.cpp * ace/Service_Config.cpp * ace/Service_Gestalt.cpp * ace/Shared_Memory_Pool.cpp * ace/SOCK_Dgram_Bcast.cpp * ace/SUN_Proactor.cpp * ace/TLI.cpp Use ACE_TEXT() with %p in ACE_DEBUG/ACE_ERROR. The log string passed to ACE_DEBUG/ACE_ERROR is converted automatically to unicode in an unicode build. The %p expects an unicode string, if a plain ascii string is passed in, this is just handled as unicode string and could lead to a crash because then we are just reading random memory
Diffstat (limited to 'ACE/ace/Service_Gestalt.cpp')
-rw-r--r--ACE/ace/Service_Gestalt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Service_Gestalt.cpp b/ACE/ace/Service_Gestalt.cpp
index 4ebe7de5376..e0d65695311 100644
--- a/ACE/ace/Service_Gestalt.cpp
+++ b/ACE/ace/Service_Gestalt.cpp
@@ -847,7 +847,7 @@ ACE_Service_Gestalt::get_xml_svc_conf (ACE_DLL &xmldll)
if (xmldll.open (ACE_TEXT ("ACEXML_XML_Svc_Conf_Parser")) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("ACE (%P|%t) Failure to open ACEXML_XML_Svc_Conf_Parser: %p\n"),
- "ACE_Service_Config::get_xml_svc_conf"),
+ ACE_TEXT("ACE_Service_Config::get_xml_svc_conf")),
0);
void * foo =