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.20-549-g86bba16


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  86bba162b5732a33387ac6706bb2f25f8c966325 (commit)
      from  ccdb048df457d581f6ac7ede8b0c7a593a891dfa (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=86bba162b5732a33387ac6706bb2f25f8c966325

commit 86bba162b5732a33387ac6706bb2f25f8c966325
Author: Marek Polacek <polacek@redhat.com>
Date:   Wed Jan 21 12:30:42 2015 +0100

    Fix tst_wcscpy.c test.

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 448f8fb..9c2c2c8 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-21  Marek Polacek  <polacek@redhat.com>
+
+	* tests-mbwc/tst_wcscpy.c (tst_wcscpy): Fix condition.
+
 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
 
 	* All files with FSF copyright notices: Update copyright dates
diff --git a/localedata/tests-mbwc/tst_wcscpy.c b/localedata/tests-mbwc/tst_wcscpy.c
index d5705a5..a30a6e5 100644
--- a/localedata/tests-mbwc/tst_wcscpy.c
+++ b/localedata/tests-mbwc/tst_wcscpy.c
@@ -41,7 +41,7 @@ tst_wcscpy (FILE * fp, int debug_flg)
 	  ws_ex = TST_EXPECT (wcscpy).ws;
 
 	  for (err = 0, i = 0;
-	       (ws1[i] != 0L || ws_ex[i] != 0L) && i < WCSSIZE; i++)
+	       i < WCSSIZE && (ws1[i] != 0L || ws_ex[i] != 0L); i++)
 	    {
 	      if (debug_flg)
 		{

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

Summary of changes:
 localedata/ChangeLog               |    4 ++++
 localedata/tests-mbwc/tst_wcscpy.c |    2 +-
 2 files changed, 5 insertions(+), 1 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]