summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-06-23 13:22:56 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-06-23 13:22:56 +0000
commit147bf4cba9eb9a2d9edd2258b45037e38e167f72 (patch)
tree03066d489e49626d1b0186c8eb8fd838513af3ba
parentccccd4f670a6e76c4bce4ae87f2d80deee09033d (diff)
downloadATCD-147bf4cba9eb9a2d9edd2258b45037e38e167f72.tar.gz
ChangeLogTag:Sat Jun 23 06:19:39 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLogs/ChangeLog-02a7
-rw-r--r--ChangeLogs/ChangeLog-03a7
-rw-r--r--ace/OS.i2
4 files changed, 19 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 24bf6fc4494..5fc0ea776b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
Sat Jun 23 06:19:39 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
- * ace/OS.i: Fixed the getpwdnam_r() wrapper so that it conforms to
+ * ace/OS.i: For some god knows why reason, _POSIX_C_SOURCE doesn't
+ get us the right behavior for getpwnam_r() on some platforms...
+ Therefore, we'll need to define an ACE_HAS_POSIX_GETPWNAM_R
+ macro instead -- grrr.... Thanks to Bala for pointing this out.
+
+ * ace/OS.i: Fixed the getpwnam_r() wrapper so that it conforms to
POSIX on platforms that support POSIX. Thanks to
Craig L. Ching <cching@mqsoftware.com> for reporting this.
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 24bf6fc4494..5fc0ea776b7 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,6 +1,11 @@
Sat Jun 23 06:19:39 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
- * ace/OS.i: Fixed the getpwdnam_r() wrapper so that it conforms to
+ * ace/OS.i: For some god knows why reason, _POSIX_C_SOURCE doesn't
+ get us the right behavior for getpwnam_r() on some platforms...
+ Therefore, we'll need to define an ACE_HAS_POSIX_GETPWNAM_R
+ macro instead -- grrr.... Thanks to Bala for pointing this out.
+
+ * ace/OS.i: Fixed the getpwnam_r() wrapper so that it conforms to
POSIX on platforms that support POSIX. Thanks to
Craig L. Ching <cching@mqsoftware.com> for reporting this.
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 24bf6fc4494..5fc0ea776b7 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,6 +1,11 @@
Sat Jun 23 06:19:39 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
- * ace/OS.i: Fixed the getpwdnam_r() wrapper so that it conforms to
+ * ace/OS.i: For some god knows why reason, _POSIX_C_SOURCE doesn't
+ get us the right behavior for getpwnam_r() on some platforms...
+ Therefore, we'll need to define an ACE_HAS_POSIX_GETPWNAM_R
+ macro instead -- grrr.... Thanks to Bala for pointing this out.
+
+ * ace/OS.i: Fixed the getpwnam_r() wrapper so that it conforms to
POSIX on platforms that support POSIX. Thanks to
Craig L. Ching <cching@mqsoftware.com> for reporting this.
diff --git a/ace/OS.i b/ace/OS.i
index 60511620ae3..db45cf6e7d9 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -6827,7 +6827,7 @@ ACE_INLINE struct passwd *
ACE_OS::getpwnam_r (const char *name, struct passwd *pwent,
char *buffer, int buflen)
{
-#if defined (ACE_HAS_PACE) || defined (_POSIX_C_SOURCE)
+#if defined (ACE_HAS_PACE) || defined (ACE_HAS_POSIX_GETPWNAM_R)
struct passwd *result;
int status;