diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-01-02 11:32:25 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-01-02 12:17:34 -0800 |
commit | 2b778ceb4010c28d70de9b8eab20e8d88eed586b (patch) | |
tree | 3bcf21bcaccb5b09b1859e63f3baf9b5f0105ed7 /iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c | |
parent | 45b1e17e9150dbd9ac2d578579063fbfa8e1b327 (diff) | |
download | glibc-2b778ceb4010c28d70de9b8eab20e8d88eed586b.zip glibc-2b778ceb4010c28d70de9b8eab20e8d88eed586b.tar.gz glibc-2b778ceb4010c28d70de9b8eab20e8d88eed586b.tar.bz2 |
Update copyright dates with scripts/update-copyrights
I used these shell commands:
../glibc/scripts/update-copyrights $PWD/../gnulib/build-aux/update-copyright
(cd ../glibc && git commit -am"[this commit message]")
and then ignored the output, which consisted lines saying "FOO: warning:
copyright statement not found" for each of 6694 files FOO.
I then removed trailing white space from benchtests/bench-pthread-locks.c
and iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c, to work around this
diagnostic from Savannah:
remote: *** pre-commit check failed ...
remote: *** error: lines with trailing whitespace found
remote: error: hook declined to update refs/heads/master
Diffstat (limited to 'iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c')
-rw-r--r-- | iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c b/iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c index 8389ade..91d7d3a 100644 --- a/iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c +++ b/iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c @@ -1,5 +1,5 @@ /* Verify the BIG5HKSCS outputs that generate 2 wchar_t's (Bug 25734). - Copyright (C) 2020 Free Software Foundation, Inc. + Copyright (C) 2020-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -75,7 +75,7 @@ check_conversion (struct testdata test) memset (&st, 0, sizeof (st)); /* First conversion: Consumes first 2 bytes. */ - ret = mbrtowc (&wc, mbs, inlen - consumed, &st); + ret = mbrtowc (&wc, mbs, inlen - consumed, &st); if (ret != 2) { printf ("error: First conversion consumed only %zd bytes.\n", ret); @@ -90,7 +90,7 @@ check_conversion (struct testdata test) err++; } /* Second conversion: Consumes 0 bytes. */ - ret = mbrtowc (&wc, mbs, inlen - consumed, &st); + ret = mbrtowc (&wc, mbs, inlen - consumed, &st); if (ret != 0) { printf ("error: Second conversion consumed only %zd bytes.\n", ret); @@ -114,7 +114,7 @@ check_conversion (struct testdata test) err++; } /* Third conversion: Consumes 1 byte (it's an ASCII character). */ - ret = mbrtowc (&wc, mbs, inlen - consumed, &st); + ret = mbrtowc (&wc, mbs, inlen - consumed, &st); if (ret != 1) { printf ("error: Third conversion consumed only %zd bytes.\n", ret); @@ -154,7 +154,7 @@ do_test (void) if (err > 0) FAIL_EXIT1 ("One or more conversions failed."); - return 0; + return 0; } #include <support/test-driver.c> |