summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2011-02-28 20:37:03 +0000
committerSteve Huston <shuston@riverace.com>2011-02-28 20:37:03 +0000
commit19c3db1c9a500a1bf8867d20d26de0878f329105 (patch)
treeeef4255259dd69e683b9acd22895a6bcc5f2daa5
parent96b12915eebcf750b597561a7b922779e958515c (diff)
downloadATCD-19c3db1c9a500a1bf8867d20d26de0878f329105.tar.gz
ChangeLogTag:Mon Feb 28 20:29:59 UTC 2011 Steve Huston <shuston@riverace.com>
-rw-r--r--ChangeLog8
-rw-r--r--examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp8
-rw-r--r--examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp8
3 files changed, 16 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index deb0a827621..7d275c6d9a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Mon Feb 28 20:29:59 UTC 2011 Steve Huston <shuston@riverace.com>
+
+ * examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp:
+ * examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp: Replaced the
+ name "mod_name" with "module_name" to avoid a clash with macro
+ defined in /usr/include/sys/stropts.h encountered when optimized
+ build was done.
+
Mon Feb 28 18:10:19 UTC 2011 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_aix_ibm.GNU: Remove the -qfuncsect
diff --git a/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp b/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp
index a70961a9eaa..aecfaff64d7 100644
--- a/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp
+++ b/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp
@@ -71,12 +71,12 @@ Event_Analyzer::fini (void)
int
Event_Analyzer::info (ACE_TCHAR **strp, size_t length) const
{
- const ACE_TCHAR *mod_name = this->name ();
+ const ACE_TCHAR *module_name = this->name ();
- if (*strp == 0 && (*strp = ACE_OS::strdup (mod_name)) == 0)
+ if (*strp == 0 && (*strp = ACE_OS::strdup (module_name)) == 0)
return -1;
else
- ACE_OS::strncpy (*strp, mod_name, length);
+ ACE_OS::strncpy (*strp, module_name, length);
- return ACE_Utils::truncate_cast<int> (ACE_OS::strlen (mod_name));
+ return ACE_Utils::truncate_cast<int> (ACE_OS::strlen (module_name));
}
diff --git a/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp b/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp
index 915f9e79cce..e798f189c52 100644
--- a/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp
+++ b/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp
@@ -62,14 +62,14 @@ Event_Analyzer::fini (void)
int
Event_Analyzer::info (ACE_TCHAR **strp, size_t length) const
{
- const ACE_TCHAR *mod_name = this->name ();
+ const ACE_TCHAR *module_name = this->name ();
- if (*strp == 0 && (*strp = ACE_OS::strdup (mod_name)) == 0)
+ if (*strp == 0 && (*strp = ACE_OS::strdup (module_name)) == 0)
return -1;
else
- ACE_OS::strncpy (*strp, mod_name, length);
+ ACE_OS::strncpy (*strp, module_name, length);
- return ACE_Utils::truncate_cast<int> (ACE_OS::strlen (mod_name));
+ return ACE_Utils::truncate_cast<int> (ACE_OS::strlen (module_name));
}
#endif /* ACE_HAS_THREADS */