]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 205021:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Oct 2010 13:13:20 +0000 (13:13 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Oct 2010 13:13:20 +0000 (13:13 +0000)
commit85b59902af1e430312f39638d80db5b985734a15
tree0660f1c54f661a27166ec5cec9fca514f63baa6f
parentc0e014d63cfec2517d1f21798cfb6ecb3b147e70
MFC 205021:
- 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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@213720 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
12 files changed:
lib/libc/stdio/findfp.c
lib/libc/stdio/local.h
lib/libc/stdio/snprintf.c
lib/libc/stdio/vasprintf.c
lib/libc/stdio/vdprintf.c
lib/libc/stdio/vfprintf.c
lib/libc/stdio/vsnprintf.c
lib/libc/stdio/vsprintf.c
lib/libc/stdio/vsscanf.c
lib/libc/stdio/vswprintf.c
lib/libc/stdio/vswscanf.c
lib/libc/stdio/xprintf.c