diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-06-23 11:26:09 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-06-23 11:26:09 +0000 |
commit | ccccd4f670a6e76c4bce4ae87f2d80deee09033d (patch) | |
tree | 5f7f5949c5376996bf3bfabf29408ca4bc407edf | |
parent | 89929878008fad2e92026c1a0a0621561fd0c18d (diff) | |
download | ATCD-ccccd4f670a6e76c4bce4ae87f2d80deee09033d.tar.gz |
ChangeLogTag:Sat Jun 23 06:19:39 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 6 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | ace/OS.i | 7 |
5 files changed, 25 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 0b214a57522..24bf6fc4494 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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 + POSIX on platforms that support POSIX. Thanks to + Craig L. Ching <cching@mqsoftware.com> for reporting this. + Fri Jun 22 18:35:46 2001 Balachandran Natarajan <bala@cs.wustl.edu> * ace/OS_TLI.inl: Fixed a compile error in win 32. diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 0b214a57522..24bf6fc4494 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +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 + POSIX on platforms that support POSIX. Thanks to + Craig L. Ching <cching@mqsoftware.com> for reporting this. + Fri Jun 22 18:35:46 2001 Balachandran Natarajan <bala@cs.wustl.edu> * ace/OS_TLI.inl: Fixed a compile error in win 32. diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 0b214a57522..24bf6fc4494 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,9 @@ +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 + POSIX on platforms that support POSIX. Thanks to + Craig L. Ching <cching@mqsoftware.com> for reporting this. + Fri Jun 22 18:35:46 2001 Balachandran Natarajan <bala@cs.wustl.edu> * ace/OS_TLI.inl: Fixed a compile error in win 32. @@ -1269,6 +1269,7 @@ Srikanth Vedire <srvedire@yahoo.com> J Shane Culpepper <pepper@channelogics.com> Benn Howard <Benn_Howard@raytheon.com> Steffen Hieber <Steffen.Hieber@erl9.siemens.de> +Craig L. Ching <cching@mqsoftware.com> I would particularly like to thank Paul Stephenson, who worked with me at Ericsson in the early 1990's. Paul devised the recursive Makefile @@ -6827,11 +6827,16 @@ ACE_INLINE struct passwd * ACE_OS::getpwnam_r (const char *name, struct passwd *pwent, char *buffer, int buflen) { -#if defined (ACE_HAS_PACE) +#if defined (ACE_HAS_PACE) || defined (_POSIX_C_SOURCE) struct passwd *result; int status; +# if defined (ACE_HAS_PACE) status = ::pace_getpwnam_r (name, pwent, buffer, buflen, &result); +# else + status = ::getpwnam_r (name, pwent, buffer, buflen, &result); +# endif /* ACE_HAS_PACE */ + if (status != 0) { errno = status; |