diff options
author | luther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-01-28 19:30:39 +0000 |
---|---|---|
committer | luther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-01-28 19:30:39 +0000 |
commit | 0db2bad1dbfab7c6988fc352da2662340b699cd1 (patch) | |
tree | 9542d69da6a3e291f8ec104b14aaf06040f8d582 /PACE | |
parent | f7000c566a260617f8c603e1f9bbb3343d65dbc1 (diff) | |
download | ATCD-0db2bad1dbfab7c6988fc352da2662340b699cd1.tar.gz |
Sun Jan 28 13:20:28 2001 Luther J Baker <luther@cs.wustl.edu>
Diffstat (limited to 'PACE')
-rw-r--r-- | PACE/ChangeLog | 6 | ||||
-rw-r--r-- | PACE/pace/posix/unistd.inl | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog index 6ae9347fddc..67b94b5c22f 100644 --- a/PACE/ChangeLog +++ b/PACE/ChangeLog @@ -1,3 +1,9 @@ +Sun Jan 28 13:20:28 2001 Luther J Baker <luther@cs.wustl.edu> + + * pace/posix/unistd.inl (pace_getlogin_r): + + Changed C++ style comments to C. + Thu Jan 25 17:26:41 2001 Luther J Baker <luther@cs.wustl.edu> * pace/posix/unistd.inl (pace_access): diff --git a/PACE/pace/posix/unistd.inl b/PACE/pace/posix/unistd.inl index 716ebdc67f6..c0496a7da7c 100644 --- a/PACE/pace/posix/unistd.inl +++ b/PACE/pace/posix/unistd.inl @@ -228,20 +228,20 @@ PACE_INLINE int pace_getlogin_r (char * name, size_t namesize) { - // this func will eventually get rewritten to - // autodetect _REENTRANT correctly + /* this func will eventually get rewritten to * + * autodetect _REENTRANT correctly */ #if (PACE_HAS_REENTRANT) || (PACE_LYNXOS) || (PACE_SUNOS) - // supported call + /* supported call */ return getlogin_r (name, namesize); #else - // unsupported call (emulated) - // careful, emulation is not 100% reentrant safe + /* unsupported call (emulated) * + * careful, emulation is not 100% reentrant safe */ char * non_reentrant_ptr_to_static_os_memory = getlogin (); if (0 == non_reentrant_ptr_to_static_os_memory) return errno; strncpy (name, non_reentrant_ptr_to_static_os_memory, namesize); return 1; -#endif /* SUN_OS */ +#endif /* PACE_HAS_REENTRANT */ } #endif /* PACE_HAS_POSIX_UGR_UOF */ |