projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gitlog-to-changelog: give better diagnostic for failed pipe-open
[gnulib.git]
/
tests
/
uniconv
/
test-u16-conv-to-enc.c
diff --git
a/tests/uniconv/test-u16-conv-to-enc.c
b/tests/uniconv/test-u16-conv-to-enc.c
index
135d033
..
26be776
100644
(file)
--- a/
tests/uniconv/test-u16-conv-to-enc.c
+++ b/
tests/uniconv/test-u16-conv-to-enc.c
@@
-1,5
+1,5
@@
/* Test of conversion from UTF-16 to legacy encodings.
/* Test of conversion from UTF-16 to legacy encodings.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
-2008
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-32,6
+32,7
@@
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+ fflush (stderr); \
abort (); \
} \
} \
abort (); \
} \
} \
@@
-177,7
+178,7
@@
main ()
&result, &length);
ASSERT (retval == 0);
ASSERT (length == strlen (""));
&result, &length);
ASSERT (retval == 0);
ASSERT (length == strlen (""));
- ASSERT (result != NULL);
+ /* result may be == NULL or != NULL. */
if (o)
{
ASSERT (offsets[0] == 0);
if (o)
{
ASSERT (offsets[0] == 0);