summaryrefslogtreecommitdiff
path: root/PACE
diff options
context:
space:
mode:
Diffstat (limited to 'PACE')
-rw-r--r--PACE/ChangeLog6
-rw-r--r--PACE/pace/posix/unistd.inl12
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 */