* Christian Maeder <[EMAIL PROTECTED]>:
> 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.)

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to