summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-28 11:22:11 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-28 11:22:11 +0000
commit205eeb1551e1aad1cfa9c57c2ae6c84586da30fd (patch)
tree8b999f4375fad95b22c0cb8f5435dc143534acbb
parent9b9bad6369a22249f7d1bf35adcd14bb81ff8d7d (diff)
downloadATCD-205eeb1551e1aad1cfa9c57c2ae6c84586da30fd.tar.gz
ChangeLogTag:Fri Dec 28 05:20:29 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLogs/ChangeLog-02a6
-rw-r--r--ChangeLogs/ChangeLog-03a6
-rw-r--r--ace/Get_Opt.cpp4
4 files changed, 21 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 702776f4f48..074f5d3997f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Dec 28 05:20:29 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
+
+ * ace/Get_Opt.cpp (ACE_Get_Opt): Protect the call to ACE_OS::getenv()
+ with a #ifndef (ACE_LACKS_GETENV). Thanks to Bala and Venkita
+ for reporting this!
+
Fri Dec 28 10:52:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/SSL/Makefile.bor:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 702776f4f48..074f5d3997f 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,9 @@
+Fri Dec 28 05:20:29 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
+
+ * ace/Get_Opt.cpp (ACE_Get_Opt): Protect the call to ACE_OS::getenv()
+ with a #ifndef (ACE_LACKS_GETENV). Thanks to Bala and Venkita
+ for reporting this!
+
Fri Dec 28 10:52:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/SSL/Makefile.bor:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 702776f4f48..074f5d3997f 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,9 @@
+Fri Dec 28 05:20:29 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
+
+ * ace/Get_Opt.cpp (ACE_Get_Opt): Protect the call to ACE_OS::getenv()
+ with a #ifndef (ACE_LACKS_GETENV). Thanks to Bala and Venkita
+ for reporting this!
+
Fri Dec 28 10:52:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/SSL/Makefile.bor:
diff --git a/ace/Get_Opt.cpp b/ace/Get_Opt.cpp
index 062736e52b7..b9c9c29aa59 100644
--- a/ace/Get_Opt.cpp
+++ b/ace/Get_Opt.cpp
@@ -104,9 +104,11 @@ ACE_Get_Opt::ACE_Get_Opt (int argc,
{
ACE_TRACE ("ACE_Get_Opt::ACE_Get_Opt");
+#if !defined (ACE_LACKS_GETENV)
// First check to see if POSIXLY_CORRECT was set.
- if (ACE_OS::getenv (ACE_TEXT("POSIXLY_CORRECT")))
+ if (ACE_OS::getenv (ACE_TEXT ("POSIXLY_CORRECT")))
this->ordering_ = REQUIRE_ORDER;
+#endif /* ACE_LACKS_GETENV */
// Now, check to see if any or the following were passed at
// the begining of optstring: '+' same as POSIXLY_CORRECT;