Christian Maeder wrote:
RtsUtils.p_o
RtsUtils.c: In function 'time_str':
RtsUtils.c:190: error: too few arguments to function 'ctime_r'

I could carry on after adding an argument ", 26"

C.

-- RtsUtils.c  2006-04-13 09:09:49.778999000 +0200
+++ RtsUtils.c~ 2006-01-12 13:43:03.000000000 +0100
@@ -185,11 +185,11 @@
     static char nowstr[26];

     if (now == 0) {
        time(&now);
 #if HAVE_CTIME_R
-       ctime_r(&now, nowstr, 26);
+       ctime_r(&now, nowstr);
 #else
        strcpy(nowstr, ctime(&now));
 #endif
        memmove(nowstr+16,nowstr+19,7);
        nowstr[21] = '\0';  // removes the \n
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to