--- posix.c.~1.124.~ 2004-02-21 09:19:52.000000000 +1000 +++ posix.c 2004-02-22 07:54:37.000000000 +1000 @@ -1498,9 +1498,10 @@ "information cannot be obtained.") #define FUNC_NAME s_scm_cuserid { + char buf[L_cuserid]; char * p; - p = cuserid (NULL); + p = cuserid (buf); if (!p || !*p) return SCM_BOOL_F; return scm_makfrom0str (p);