
20 Apr
2006
20 Apr
'06
7:28 a.m.
* Christian Maeder
I also had to adapt again the call of ctime_r in ghc/rts/RtsUtils.c
#if HAVE_CTIME_R - ctime_r(&now, nowstr, 26); + ctime_r(&now, nowstr); #else
26 is supposed to be the size of the buffer nowstr. Maybe 27 is also fine? According to the man pages ctime_r is different under linux and solaris. How should that be patched?
Without the 3rd arg is according to POSIX (check your Solaris man page). 'buf' is required to be at least 26 bytes. -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME "All the excitement lies in pattern matching." (SPJ et al.)