Date: Thu, 11 Mar 2010 17:03:32 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/stdio findfp.c local.h snprintf.c vasprintf.c vdprintf.c vfprintf.c vsnprintf.c vsprintf.c vsscanf.c vswprintf.c vswscanf.c xprintf.c Message-ID: <201003111703.o2BH3jtP093400@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2010-03-11 17:03:32 UTC
FreeBSD src repository
Modified files:
lib/libc/stdio findfp.c local.h snprintf.c vasprintf.c
vdprintf.c vfprintf.c vsnprintf.c
vsprintf.c vsscanf.c vswprintf.c
vswscanf.c xprintf.c
Log:
SVN rev 205021 on 2010-03-11 17:03:32Z by jhb
- Use an initializer macro to initialize fields in 'fake' FILE objects used
by *sprintf(), etc.
- Explicitly initialize _fl_mutex to PTHREAD_MUTEX_INITIALIZER for all FILE
objects. This is currently a nop on FreeBSD, but is import for other
platforms (or in the future) where PTHREAD_MUTEX_INITIALIZER is not simply
zero.
PR: threads/141198
Reported by: Jeremy Huddleston @ Apple
MFC after: 2 weeks
Revision Changes Path
1.35 +3 -2 src/lib/libc/stdio/findfp.c
1.34 +8 -0 src/lib/libc/stdio/local.h
1.23 +1 -4 src/lib/libc/stdio/snprintf.c
1.20 +1 -4 src/lib/libc/stdio/vasprintf.c
1.2 +1 -3 src/lib/libc/stdio/vdprintf.c
1.91 +1 -1 src/lib/libc/stdio/vfprintf.c
1.25 +1 -4 src/lib/libc/stdio/vsnprintf.c
1.17 +1 -4 src/lib/libc/stdio/vsprintf.c
1.16 +1 -6 src/lib/libc/stdio/vsscanf.c
1.8 +1 -4 src/lib/libc/stdio/vswprintf.c
1.7 +1 -6 src/lib/libc/stdio/vswscanf.c
1.9 +2 -1 src/lib/libc/stdio/xprintf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003111703.o2BH3jtP093400>
