mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
Fix tst_wcscpy.c test.
This commit is contained in:
parent
ccdb048df4
commit
86bba162b5
@ -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>
|
2015-01-02 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* All files with FSF copyright notices: Update copyright dates
|
* All files with FSF copyright notices: Update copyright dates
|
||||||
|
@ -41,7 +41,7 @@ tst_wcscpy (FILE * fp, int debug_flg)
|
|||||||
ws_ex = TST_EXPECT (wcscpy).ws;
|
ws_ex = TST_EXPECT (wcscpy).ws;
|
||||||
|
|
||||||
for (err = 0, i = 0;
|
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)
|
if (debug_flg)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user