Date: Wed, 6 Jan 2010 20:43:40 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/stdtime localtime.c Message-ID: <201001062044.o06Ki0GX024507@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2010-01-06 20:43:40 UTC
FreeBSD src repository
Modified files:
lib/libc/stdtime localtime.c
Log:
SVN rev 201669 on 2010-01-06 20:43:40Z by jhb
Use _pthread_once() rather than _once() for localtime() and gmtime(). These
methods are only invoked when __isthreaded is true at which point it is safe
to use _pthread_once() directly.
MFC after: 1 week
Revision Changes Path
1.50 +2 -2 src/lib/libc/stdtime/localtime.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001062044.o06Ki0GX024507>
