From 147bf4cba9eb9a2d9edd2258b45037e38e167f72 Mon Sep 17 00:00:00 2001 From: schmidt Date: Sat, 23 Jun 2001 13:22:56 +0000 Subject: ChangeLogTag:Sat Jun 23 06:19:39 2001 Douglas C. Schmidt --- ChangeLog | 7 ++++++- ChangeLogs/ChangeLog-02a | 7 ++++++- ChangeLogs/ChangeLog-03a | 7 ++++++- ace/OS.i | 2 +- 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 - * 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 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 - * 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 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 - * 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 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; -- cgit v1.2.1