summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-12-02 17:43:09 +0000
committerjtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-12-02 17:43:09 +0000
commit373ddc93392873a3660e50dd84c59b0e516c4681 (patch)
tree1479b45562d3e1b6bcf03c8d36af3067246e81e8
parentc7e793776e50d1dc8394e419e879b8f84fd45d96 (diff)
downloadATCD-373ddc93392873a3660e50dd84c59b0e516c4681.tar.gz
ChangeLogTag: Sun Dec 2 17:41:01 UTC 2007 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r--ACE/ChangeLog8
-rw-r--r--ACE/ace/OS_NS_stdlib.cpp2
2 files changed, 9 insertions, 1 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index f26a3f13b25..570380fcd17 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,11 @@
+Sun Dec 2 17:41:01 UTC 2007 J.T. Conklin <jtc@acorntoolworks.com>
+
+ * ace/OS_NS_stdlib.cpp:
+
+ Change initial program name returned by the emulated version of
+ ACE_OS::getprogname() to be the empty string rather than a null
+ pointer.
+
Sun Dec 2 06:47:54 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/gperf/tests/test.cpp:
diff --git a/ACE/ace/OS_NS_stdlib.cpp b/ACE/ace/OS_NS_stdlib.cpp
index 812722597c9..a04086d8a2b 100644
--- a/ACE/ace/OS_NS_stdlib.cpp
+++ b/ACE/ace/OS_NS_stdlib.cpp
@@ -775,7 +775,7 @@ ACE_OS::mkstemp_emulation (ACE_TCHAR * s)
#endif /* ACE_LACKS_MKSTEMP */
#if !defined (ACE_HAS_GETPROGNAME) && !defined (ACE_HAS_SETPROGNAME)
-static const char *__progname = 0;
+static const char *__progname = "";
#endif /* !ACE_HAS_GETPROGNAME && !ACE_HAS_SETPROGNAME */
#if !defined (ACE_HAS_GETPROGNAME)