]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorAndreas Jaeger <aj@suse.de>
Sun, 7 Mar 2004 09:37:36 +0000 (09:37 +0000)
committerAndreas Jaeger <aj@suse.de>
Sun, 7 Mar 2004 09:37:36 +0000 (09:37 +0000)
2004-03-07  Andreas Jaeger  <aj@suse.de>

* iconvdata/iso-2022-cn-ext.c (BODY): Remove cast used as lvalue.
* iconvdata/tcvn5712-1.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/tscii.c (EMIT_SHIFT_TO_INIT): Likewise.

ChangeLog
iconvdata/euc-jisx0213.c
iconvdata/shift_jisx0213.c
iconvdata/tcvn5712-1.c
iconvdata/tscii.c

index d72c436aa64202fbfe6b273e00a940507abf52b7..88ff43c1d17c7fcf1918cadf2772157f3fc8c3e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-03-07  Andreas Jaeger  <aj@suse.de>
+
+       * iconvdata/iso-2022-cn-ext.c (BODY): Remove cast used as lvalue.
+       * iconvdata/tcvn5712-1.c (EMIT_SHIFT_TO_INIT): Likewise.
+       * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise.
+       * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise.
+       * iconvdata/tscii.c (EMIT_SHIFT_TO_INIT): Likewise.
+
 2004-03-07  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/generic/ldsodefs.h: Move _dl_initial_searclist,
index dc6ccfd0cc02204f19e3e87bdb39d33d61c91ab6..e7a955441639a9fcc15792a878a60d71fa89ca79 100644 (file)
@@ -1,5 +1,5 @@
 /* Conversion from and to EUC-JISX0213.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Bruno Haible <bruno@clisp.org>, 2002.
 
@@ -83,7 +83,8 @@
          if (__builtin_expect (outbuf + 4 <= outend, 1))                     \
            {                                                                 \
              /* Write out the last character.  */                            \
-             *((uint32_t *) outbuf)++ = data->__statep->__count >> 3;        \
+             *((uint32_t *) outbuf) = data->__statep->__count >> 3;          \
+             outbuf += sizeof (uint32_t);                                    \
              data->__statep->__count = 0;                                    \
            }                                                                 \
          else                                                                \
index 82592ad5dc100b3cf6eeeb36523114e684cabaa2..8e3fcb768b8c066c05aa8dde160aa8a48f195aea 100644 (file)
@@ -1,5 +1,5 @@
 /* Conversion from and to Shift_JISX0213.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Bruno Haible <bruno@clisp.org>, 2002.
 
@@ -83,7 +83,8 @@
          if (__builtin_expect (outbuf + 4 <= outend, 1))                     \
            {                                                                 \
              /* Write out the last character.  */                            \
-             *((uint32_t *) outbuf)++ = data->__statep->__count >> 3;        \
+             *((uint32_t *) outbuf) = data->__statep->__count >> 3;          \
+             outbuf += sizeof (uint32_t);                                    \
              data->__statep->__count = 0;                                    \
            }                                                                 \
          else                                                                \
index 8194ef030dcfd670e7f655682239bcbdb6aeb779..c94dadb2e7cb92bbfd975d96b6f29e51ae6fb773 100644 (file)
@@ -1,5 +1,5 @@
 /* Conversion to and from TCVN5712-1.
-   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
 
@@ -68,7 +68,8 @@
          if (__builtin_expect (outbuf + 4 <= outend, 1))                     \
            {                                                                 \
              /* Write out the last character.  */                            \
-             *((uint32_t *) outbuf)++ = data->__statep->__count >> 3;        \
+             *((uint32_t *) outbuf) = data->__statep->__count >> 3;          \
+             outbuf += sizeof (uint32_t);                                    \
              data->__statep->__count = 0;                                    \
            }                                                                 \
          else                                                                \
index 66e4062a3f438d6ac2c457acd7fb60f4233fb137..50a5ad5f36e558eb4a226517e950bfe63d2f5665 100644 (file)
@@ -1,5 +1,5 @@
 /* Conversion from and to TSCII.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Bruno Haible <bruno@clisp.org>, 2002.
 
@@ -98,7 +98,8 @@
                  break;                                                      \
                }                                                             \
              /* Write out the pending character.  */                         \
-             *((uint32_t *) outbuf)++ = data->__statep->__count >> 8;        \
+             *((uint32_t *) outbuf) = data->__statep->__count >> 8;          \
+             outbuf += sizeof (uint32_t);                                    \
              /* Retrieve the successor state.  */                            \
              data->__statep->__count =                                       \
                tscii_next_state[(data->__statep->__count >> 4) & 0x0f];      \