+2011-02-12 Bruno Haible <bruno@clisp.org>
+
+ Use u8_mbtoucr instead of u8_mbtouc in some places.
+ * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC,
+ GNULIB_MODULES_LIBGETTEXTPO): Add unistr/u8-mbtoucr.
+
2011-01-28 Bruno Haible <bruno@clisp.org>
Add a comment.
uniname/uniname
unistd
unistr/u8-mbtouc
+ unistr/u8-mbtoucr
unistr/u8-uctomb
unistr/u16-mbtouc
uniwidth/width
strerror
unilbrk/ulc-width-linebreaks
unistr/u8-mbtouc
+ unistr/u8-mbtoucr
unistr/u8-uctomb
unistr/u16-mbtouc
uniwidth/width
+2011-06-02 Bruno Haible <bruno@clisp.org>
+
+ Use u8_mbtoucr instead of u8_mbtouc in some places.
+ * po-lex.c (mbfile_getc): Call u8_mbtoucr instead of u8_mbtouc.
+ * x-csharp.c (phase2_getc): Likewise.
+ * x-python.c (phase2_getc): Likewise.
+ Needed after libunistring changed on 2010-11-13.
+
2011-06-02 Bruno Haible <bruno@clisp.org>
Update after gnulib changed.
/* GNU gettext - internationalization aids
- Copyright (C) 1995-1999, 2000-2009 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2000-2009, 2011 Free Software Foundation, Inc.
This file was written by Peter Miller <millerp@canb.auug.org.au>.
Multibyte character handling by Bruno Haible <haible@clisp.cons.org>.
if (outbytes == 0)
abort ();
/* Convert it from UTF-8 to UCS-4. */
- if (u8_mbtouc (&mbc->uc, scratchbuf, outbytes) < outbytes)
+ if (u8_mbtoucr (&mbc->uc, scratchbuf, outbytes) < (int) outbytes)
{
/* scratchbuf contains an out-of-range Unicode character
(> 0x10ffff). */
/* xgettext C# backend.
- Copyright (C) 2003, 2005-2009 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005-2009, 2011 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
while (insize > 0)
phase1_ungetc (buf[--insize]);
/* Convert the character from UTF-8 to UCS-4. */
- if (u8_mbtouc (&uc, scratchbuf, outbytes) < outbytes)
+ if (u8_mbtoucr (&uc, scratchbuf, outbytes) < (int) outbytes)
{
/* scratchbuf contains an out-of-range Unicode character
(> 0x10ffff). */
/* xgettext Python backend.
- Copyright (C) 2002-2003, 2005-2010 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2005-2011 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2002.
while (insize > 0)
phase1_ungetc (buf[--insize]);
/* Convert the character from UTF-8 to UCS-4. */
- if (u8_mbtouc (&uc, scratchbuf, outbytes) < outbytes)
+ if (u8_mbtoucr (&uc, scratchbuf, outbytes) < (int) outbytes)
{
/* scratchbuf contains an out-of-range Unicode character
(> 0x10ffff). */