From 5d69e51468c4da7261d0a935667674bf371abd7b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 13 Nov 2010 13:58:12 +0100 Subject: [PATCH] Update comments. * lib/unistr/u8-check.c: Update file name in comments. * lib/unistr/u8-mblen.c: Likewise. * lib/unistr/u8-prev.c: Likewise. * lib/unistr/u8-strmblen.c: Likewise. * lib/unistr/u8-strmbtouc.c: Likewise. --- ChangeLog | 9 +++++++++ lib/unistr/u8-check.c | 2 +- lib/unistr/u8-mblen.c | 2 +- lib/unistr/u8-prev.c | 2 +- lib/unistr/u8-strmblen.c | 2 +- lib/unistr/u8-strmbtouc.c | 2 +- 6 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index bc79dcb23..f3955b547 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-11-13 Bruno Haible + + Update comments. + * lib/unistr/u8-check.c: Update file name in comments. + * lib/unistr/u8-mblen.c: Likewise. + * lib/unistr/u8-prev.c: Likewise. + * lib/unistr/u8-strmblen.c: Likewise. + * lib/unistr/u8-strmbtouc.c: Likewise. + 2010-11-13 Jim Meyering tests: avoid test failure on Solaris 10 due to lack of PATH export diff --git a/lib/unistr/u8-check.c b/lib/unistr/u8-check.c index 368042b0c..21e877520 100644 --- a/lib/unistr/u8-check.c +++ b/lib/unistr/u8-check.c @@ -27,7 +27,7 @@ u8_check (const uint8_t *s, size_t n) while (s < s_end) { - /* Keep in sync with unistr.h and utf8-ucs4.c. */ + /* Keep in sync with unistr.h and u8-mbtouc-aux.c. */ uint8_t c = *s; if (c < 0x80) diff --git a/lib/unistr/u8-mblen.c b/lib/unistr/u8-mblen.c index f6a202710..749196362 100644 --- a/lib/unistr/u8-mblen.c +++ b/lib/unistr/u8-mblen.c @@ -26,7 +26,7 @@ u8_mblen (const uint8_t *s, size_t n) { if (n > 0) { - /* Keep in sync with unistr.h and utf8-ucs4.c. */ + /* Keep in sync with unistr.h and u8-mbtouc-aux.c. */ uint8_t c = *s; if (c < 0x80) diff --git a/lib/unistr/u8-prev.c b/lib/unistr/u8-prev.c index 97a27f557..47f89b470 100644 --- a/lib/unistr/u8-prev.c +++ b/lib/unistr/u8-prev.c @@ -23,7 +23,7 @@ const uint8_t * u8_prev (ucs4_t *puc, const uint8_t *s, const uint8_t *start) { - /* Keep in sync with unistr.h and utf8-ucs4.c. */ + /* Keep in sync with unistr.h and u8-mbtouc-aux.c. */ if (s != start) { uint8_t c_1 = s[-1]; diff --git a/lib/unistr/u8-strmblen.c b/lib/unistr/u8-strmblen.c index 52242c589..eac3905a2 100644 --- a/lib/unistr/u8-strmblen.c +++ b/lib/unistr/u8-strmblen.c @@ -24,7 +24,7 @@ int u8_strmblen (const uint8_t *s) { - /* Keep in sync with unistr.h and utf8-ucs4.c. */ + /* Keep in sync with unistr.h and u8-mbtouc-aux.c. */ uint8_t c = *s; if (c < 0x80) diff --git a/lib/unistr/u8-strmbtouc.c b/lib/unistr/u8-strmbtouc.c index 67016c65c..d55035641 100644 --- a/lib/unistr/u8-strmbtouc.c +++ b/lib/unistr/u8-strmbtouc.c @@ -24,7 +24,7 @@ int u8_strmbtouc (ucs4_t *puc, const uint8_t *s) { - /* Keep in sync with unistr.h and utf8-ucs4.c. */ + /* Keep in sync with unistr.h and u8-mbtouc-aux.c. */ uint8_t c = *s; if (c < 0x80) -- 2.11.0