* Bug in ctime_r
@ 1999-10-20 3:13 Erik Hensema
0 siblings, 0 replies; only message in thread
From: Erik Hensema @ 1999-10-20 3:13 UTC (permalink / raw)
To: 'Pthreads-win32'
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-10-20 3:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-20 3:13 Bug in ctime_r Erik Hensema
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).