Fix recent ChangeLog entries.
[pspp] / ChangeLog
index 79e70fca2a5b792b06d4b02ae7bb5151ce1d1aa5..0794a3066ee6ea6cde7cc795c6ed4ae4f18ea8b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,26 @@
+2011-03-30  Bruno Haible  <bruno@clisp.org>
+
+       stdio: Avoid GCC >= 4.4 warnings when using %lld and similar on mingw.
+       * lib/stdio.in.h (_GL_ATTRIBUTE_FORMAT_PRINTF): Use 'gnu_printf' format
+       instead of 'printf' format for GCC >= 4.4.
+       (_GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM): New macro.
+       (fprintf, printf, vfprintf, vprintf): Declare with
+       _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM when the function ends up calling
+       the system's vfprintf() function.
+       Reported by Daniel P. Berrange <berrange@redhat.com> via Eric Blake.
+
 2011-03-30  Eric Blake  <eblake@redhat.com>
 
+       passfd: fix scoping bug
+       * lib/passfd.c (sendfd, recvfd): Don't let buf go out of scope
+       before sendmsg/recvmsg.
+
        passfd: standardize coding conventions
        * m4/afunix.m4 (gl_SOCKET_AFUNIX): Drop check for something that
        can be learned at compile time.
        * lib/passfd.c (MSG_CMSG_CLOEXEC): Reduce number of in-function
        ifdefs.
-       (passfd, recvfd): Follow gnulib code conventions.
+       (sendfd, recvfd): Follow gnulib code conventions.
 
        passfd: fix incorrect sendmsg arguments
        * lib/passfd.c (sendfd): Avoid uninitialized msg_flags field, and