diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-03 19:11:32 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-03 19:11:32 +0100 |
commit | 00893e79fc62966067af1a106567db96bd170338 (patch) | |
tree | 52b35cd0b42ca28e62a2ffbecade2e13dd8332cf /tests/unigbrk/test-u8-grapheme-prev.c | |
parent | 26112352a774737e1ce5580c93654a26c1e82b39 (diff) |
New upstream version 1.2upstream/1.2
Diffstat (limited to 'tests/unigbrk/test-u8-grapheme-prev.c')
-rw-r--r-- | tests/unigbrk/test-u8-grapheme-prev.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unigbrk/test-u8-grapheme-prev.c b/tests/unigbrk/test-u8-grapheme-prev.c index a59e264d..e3642367 100644 --- a/tests/unigbrk/test-u8-grapheme-prev.c +++ b/tests/unigbrk/test-u8-grapheme-prev.c @@ -1,5 +1,5 @@ /* Previous grapheme cluster test. - Copyright (C) 2010-2022 Free Software Foundation, Inc. + Copyright (C) 2010-2024 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published @@ -39,11 +39,12 @@ test_u8_grapheme_prev (const char *input, size_t n, size_t len) if (prev == NULL) fputs ("u8_grapheme_prev returned NULL", stderr); else - fprintf (stderr, "u8_grapheme_prev skipped %zu bytes", end - prev); + fprintf (stderr, "u8_grapheme_prev skipped %tu bytes", end - prev); fprintf (stderr, ", expected %zu:\n", len); for (i = 0; i < n; i++) fprintf (stderr, " %02x", s[i]); putc ('\n', stderr); + fflush (stderr); abort (); } } |