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.22-5-gaeb47bb


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  aeb47bbc06cae80bbcc69452eb65118b5fe656b9 (commit)
      from  496405af79252a2eb7a5ebdc3e29ba452869d047 (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=aeb47bbc06cae80bbcc69452eb65118b5fe656b9

commit aeb47bbc06cae80bbcc69452eb65118b5fe656b9
Author: Daniel Marjamäki <Daniel.Marjamaki@evidente.se>
Date:   Fri May 22 08:00:26 2015 +0000

    Updated __nonnull annotations for wcscat, wcsncat, wcscmp and wcsncmp [BZ #18265]
    
    This patch adds __nonnull annotations for wcscat, wcsncat, wcscmp and wcsncmp.
    
    These added annotations match the annoations for strcat, strncat, strcmp, strncmp in glibc.

diff --git a/ChangeLog b/ChangeLog
index b072b80..54a0ab3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
+
+	[BZ #18265]
+	* wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
+	(wcsncat): Likewise.
+	(wcscmp): Likewise.
+	(wcsncmp): Likewise.
+
 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
 
 	* test-skeleton.c (usage): New function.
diff --git a/NEWS b/NEWS
index 4c31de7..d011ce6 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,11 @@ See the end for copying conditions.
 Please send GNU C library bug reports via <http://sourceware.org/bugzilla/>
 using `glibc' in the "product" field.
 
+Version 2.23
+
+* The following bugs are resolved with this release:
+  18265
+
 Version 2.22
 
 * The following bugs are resolved with this release:
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index 0d68cda..10c1b5f 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -155,18 +155,19 @@ extern wchar_t *wcsncpy (wchar_t *__restrict __dest,
 
 /* Append SRC onto DEST.  */
 extern wchar_t *wcscat (wchar_t *__restrict __dest,
-			const wchar_t *__restrict __src) __THROW;
+			const wchar_t *__restrict __src)
+     __THROW __nonnull ((1, 2));
 /* Append no more than N wide-characters of SRC onto DEST.  */
 extern wchar_t *wcsncat (wchar_t *__restrict __dest,
 			 const wchar_t *__restrict __src, size_t __n)
-     __THROW;
+     __THROW __nonnull ((1, 2));
 
 /* Compare S1 and S2.  */
 extern int wcscmp (const wchar_t *__s1, const wchar_t *__s2)
-     __THROW __attribute_pure__;
+     __THROW __attribute_pure__ __nonnull ((1, 2));
 /* Compare N wide-characters of S1 and S2.  */
 extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n)
-     __THROW __attribute_pure__;
+     __THROW __attribute_pure__ __nonnull ((1, 2));
 __END_NAMESPACE_STD
 
 #ifdef __USE_XOPEN2K8

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

Summary of changes:
 ChangeLog      |    8 ++++++++
 NEWS           |    5 +++++
 wcsmbs/wchar.h |    9 +++++----
 3 files changed, 18 insertions(+), 4 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]