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.25-151-gca4dc74


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  ca4dc7465917beeb37af32891d4c867b5ac16883 (commit)
      from  fb82116f24454e450f771a41f18cbdacfae1229d (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ca4dc7465917beeb37af32891d4c867b5ac16883

commit ca4dc7465917beeb37af32891d4c867b5ac16883
Author: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Date:   Thu Mar 23 15:45:00 2017 -0300

    Change the order of function attributes in printf.h
    
    ISO C++ section 8.3.5 [dcl.fct] requires exception specifications
    to appear before attribute specifiers in function declarations.
    
    This patch fixes issues reported by stdio-common/check-installed-headers-cxx.
    
    	* stdio-common/printf.h (register_printf_modifier): Change the
    	order of __wur and __THROW.
    	(register_printf_type): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 5769bf5..86599d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
+
+	* stdio-common/printf.h (register_printf_modifier): Change the
+	order of __wur and __THROW.
+	(register_printf_type): Likewise.
+
 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
 
 	* string/test-string.h (TEST_FUNCTION): Use test_main instead of
diff --git a/stdio-common/printf.h b/stdio-common/printf.h
index bf5ccd4..5d82e8d 100644
--- a/stdio-common/printf.h
+++ b/stdio-common/printf.h
@@ -111,13 +111,13 @@ extern int register_printf_function (int __spec, printf_function __func,
    it returns a positive value representing the bit set in the USER
    field in 'struct printf_info'.  */
 
-extern int register_printf_modifier (const wchar_t *__str) __wur __THROW;
+extern int register_printf_modifier (const wchar_t *__str) __THROW __wur;
 
 
 /* Register variable argument handler for user type.  The return value
    is to be used in ARGINFO functions to signal the use of the
    type.  */
-extern int register_printf_type (printf_va_arg_function __fct) __wur __THROW;
+extern int register_printf_type (printf_va_arg_function __fct) __THROW __wur;
 
 
 /* Parse FMT, and fill in N elements of ARGTYPES with the

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

Summary of changes:
 ChangeLog             |    6 ++++++
 stdio-common/printf.h |    4 ++--
 2 files changed, 8 insertions(+), 2 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]