]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid link error.
authorBruno Haible <bruno@clisp.org>
Sun, 27 May 2007 23:52:58 +0000 (23:52 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:50 +0000 (12:14 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/x-java.c
gettext-tools/src/x-python.c

index e0e289d4339450ef50db3e4d4c403a95037ebe4b..75aa1dcde14dc6cf0a1b905cf529c641166378c6 100644 (file)
@@ -1,3 +1,10 @@
+2007-05-27  Bruno Haible  <bruno@clisp.org>
+
+       Avoid link error; u16_mbtouc_aux is no longer a public API.
+       * x-java.c (string_buffer_append): Use u16_mbtouc instead of
+       u16_mbtouc_aux.
+       * x-python.c (mixed_string_buffer_append): Likewise.
+
 2007-05-13  Bruno Haible  <bruno@clisp.org>
 
        * write-java.c (mkdir): Remove definition. Now done by gnulib.
index 57dcf0a8a24251a8326ba3c0e0b1f4f45ce2ecaa..cec1f08b62046ce77d8d8db12c5e025220d43342 100644 (file)
@@ -545,7 +545,7 @@ string_buffer_append (struct string_buffer *bp, int c)
 
          utf16buf[0] = bp->utf16_surr;
          utf16buf[1] = UTF16_VALUE (c);
-         if (u16_mbtouc_aux (&uc, utf16buf, 2) != 2)
+         if (u16_mbtouc (&uc, utf16buf, 2) != 2)
            abort ();
 
          string_buffer_append_unicode (bp, uc);
index a23b107ea39295fa09d496e12d989cfbd48e1d48..45915f9b1e6b3230d85cc00b41f9086852f33afc 100644 (file)
@@ -912,7 +912,7 @@ mixed_string_buffer_append (struct mixed_string_buffer *bp, int c)
 
          utf16buf[0] = bp->utf16_surr;
          utf16buf[1] = UNICODE_VALUE (c);
-         if (u16_mbtouc_aux (&uc, utf16buf, 2) != 2)
+         if (u16_mbtouc (&uc, utf16buf, 2) != 2)
            abort ();
 
          mixed_string_buffer_append_unicode (bp, uc);