diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-01-09 21:59:36 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-01-09 21:59:36 +0000 |
commit | ff0e17f13611262f89f5a24e956b787c63e17992 (patch) | |
tree | a9b734414403e205f7232dbfa636fd5e3c8763b1 | |
parent | 11bd4ed15f689fa30f6bc08030f9ee76f462c701 (diff) | |
download | ATCD-ff0e17f13611262f89f5a24e956b787c63e17992.tar.gz |
ChangeLogTag:Sun Jan 9 00:25:58 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 4 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 4 | ||||
-rw-r--r-- | ace/Process.i | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 1ef82684ea4..2b2a61d8466 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ Sun Jan 9 00:25:58 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + * ace/Process.i (setreugid): Guard against the case where + ACE_LACKS_PWD_FUNCTIONS. Thanks to David Levine for + reporting this problem with VxWorks. + * ace/Pair_T.h: Reformatted to conform to the ACE style. Sat Jan 8 09:44:51 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 1ef82684ea4..2b2a61d8466 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,5 +1,9 @@ Sun Jan 9 00:25:58 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + * ace/Process.i (setreugid): Guard against the case where + ACE_LACKS_PWD_FUNCTIONS. Thanks to David Levine for + reporting this problem with VxWorks. + * ace/Pair_T.h: Reformatted to conform to the ACE style. Sat Jan 8 09:44:51 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 1ef82684ea4..2b2a61d8466 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,5 +1,9 @@ Sun Jan 9 00:25:58 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + * ace/Process.i (setreugid): Guard against the case where + ACE_LACKS_PWD_FUNCTIONS. Thanks to David Levine for + reporting this problem with VxWorks. + * ace/Pair_T.h: Reformatted to conform to the ACE style. Sat Jan 8 09:44:51 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> diff --git a/ace/Process.i b/ace/Process.i index 63c43e66684..2ad6b78a4ee 100644 --- a/ace/Process.i +++ b/ace/Process.i @@ -208,6 +208,7 @@ ACE_Process_Options::avoid_zombies (int avoid_zombies) ACE_INLINE int ACE_Process_Options::setreugid (const char* user) { +#if !defined (ACE_LACKS_PWD_FUNCTIONS) struct passwd *ent = ACE_OS::getpwnam (user); if (ent != 0) @@ -220,6 +221,9 @@ ACE_Process_Options::setreugid (const char* user) } else return -1; +#else + ACE_NOTSUP_RETURN (-1); +#endif /* ACE_LACKS_PWD_FUNCTIONS */ } ACE_INLINE void |