This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-241-g36c8acb


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  36c8acb4f8383a52ba0f25a99276ebec31f8c281 (commit)
      from  84ad622bbf4b1c22f68414532f5a8a88557bf9bd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=36c8acb4f8383a52ba0f25a99276ebec31f8c281

commit 36c8acb4f8383a52ba0f25a99276ebec31f8c281
Author: Roland McGrath <roland@hack.frob.com>
Date:   Mon Feb 27 14:00:47 2012 -0800

    BZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional.

diff --git a/ChangeLog b/ChangeLog
index 22dd447..e4e48b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2012-02-27  Roland McGrath  <roland@hack.frob.com>
 
+	[BZ #13775]
+	* libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
+	[__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
+	* libio/stdio.h (vdprintf, dprintf): Remove comment about these not
+	being in POSIX, because they are in 1003.1-2008.
+
 	* rt/tst-aio.c: Include <fcntl.h>.
 	* rt/tst-aio7.c: Likewise.
 	* rt/tst-aio64.c: Likewise.
diff --git a/libio/bits/stdio-ldbl.h b/libio/bits/stdio-ldbl.h
index 34b139b..5700dd9 100644
--- a/libio/bits/stdio-ldbl.h
+++ b/libio/bits/stdio-ldbl.h
@@ -1,5 +1,5 @@
 /* -mlong-double-64 compatibility mode for stdio functions.
-   Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2006-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -62,9 +62,12 @@ __LDBL_REDIR_DECL (vscanf)
 __END_NAMESPACE_C99
 #endif
 
-#ifdef __USE_GNU
+#ifdef __USE_XOPEN2K8
 __LDBL_REDIR_DECL (vdprintf)
 __LDBL_REDIR_DECL (dprintf)
+#endif
+
+#ifdef __USE_GNU
 __LDBL_REDIR_DECL (vasprintf)
 __LDBL_REDIR_DECL (__asprintf)
 __LDBL_REDIR_DECL (asprintf)
diff --git a/libio/stdio.h b/libio/stdio.h
index 4c732c4..c69b382 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -408,12 +408,7 @@ extern int asprintf (char **__restrict __ptr,
 #endif
 
 #ifdef __USE_XOPEN2K8
-/* Write formatted output to a file descriptor.
-
-   These functions are not part of POSIX and therefore no official
-   cancellation point.  But due to similarity with an POSIX interface
-   or due to the implementation they are cancellation points and
-   therefore not marked with __THROW.  */
+/* Write formatted output to a file descriptor.  */
 extern int vdprintf (int __fd, const char *__restrict __fmt,
 		     _G_va_list __arg)
      __attribute__ ((__format__ (__printf__, 2, 0)));

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    6 ++++++
 libio/bits/stdio-ldbl.h |    7 +++++--
 libio/stdio.h           |    7 +------
 3 files changed, 12 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]