From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hensema To: 'Pthreads-win32' Subject: Bug in ctime_r Date: Wed, 20 Oct 1999 03:13:00 -0000 Message-id: X-SW-Source: 1999/msg00110.html Hi, I think the macro ctime_r defined in pthread.h is wrong. This is the definition: #define ctime_r( _clock, _buf ) \ ( strcpy( (_buf), ctime( (_tm) ) ), \ (_buf) ) I think it should be: #define ctime_r( _clock, _buf ) \ strcpy( (_buf), ctime( (_clock) ) ) -- Erik Hensema Work: erik.hensema@group2000.nl Home: erik@hensema.xs4all.nl Unox, the worst operating system