mirror of git://sourceware.org/git/glibc.git
[BZ #6461]
* iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal): Add missing braces. (BODY for __gconv_transform_internal_ascii): Likewise.
This commit is contained in:
parent
5846c4e269
commit
5deca9bbff
|
@ -1,5 +1,10 @@
|
||||||
2008-05-14 Ulrich Drepper <drepper@redhat.com>
|
2008-05-14 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
[BZ #6461]
|
||||||
|
* iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal):
|
||||||
|
Add missing braces.
|
||||||
|
(BODY for __gconv_transform_internal_ascii): Likewise.
|
||||||
|
|
||||||
[BZ #6472]
|
[BZ #6472]
|
||||||
* sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have
|
* sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have
|
||||||
to be treated like link-local addresses.
|
to be treated like link-local addresses.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Simple transformations functions.
|
/* Simple transformations functions.
|
||||||
Copyright (C) 1997-2003, 2004, 2005, 2007 Free Software Foundation, Inc.
|
Copyright (C) 1997-2005, 2007, 2008 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||||
|
|
||||||
|
@ -820,9 +820,11 @@ ucs4le_internal_loop_single (struct __gconv_step *step,
|
||||||
STANDARD_FROM_LOOP_ERR_HANDLER (1); \
|
STANDARD_FROM_LOOP_ERR_HANDLER (1); \
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
/* It's an one byte sequence. */ \
|
{ \
|
||||||
*((uint32_t *) outptr) = *inptr++; \
|
/* It's an one byte sequence. */ \
|
||||||
outptr += sizeof (uint32_t); \
|
*((uint32_t *) outptr) = *inptr++; \
|
||||||
|
outptr += sizeof (uint32_t); \
|
||||||
|
} \
|
||||||
}
|
}
|
||||||
#define LOOP_NEED_FLAGS
|
#define LOOP_NEED_FLAGS
|
||||||
#include <iconv/loop.c>
|
#include <iconv/loop.c>
|
||||||
|
@ -851,9 +853,11 @@ ucs4le_internal_loop_single (struct __gconv_step *step,
|
||||||
STANDARD_TO_LOOP_ERR_HANDLER (4); \
|
STANDARD_TO_LOOP_ERR_HANDLER (4); \
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
/* It's an one byte sequence. */ \
|
{ \
|
||||||
*outptr++ = *((const uint32_t *) inptr); \
|
/* It's an one byte sequence. */ \
|
||||||
inptr += sizeof (uint32_t); \
|
*outptr++ = *((const uint32_t *) inptr); \
|
||||||
|
inptr += sizeof (uint32_t); \
|
||||||
|
} \
|
||||||
}
|
}
|
||||||
#define LOOP_NEED_FLAGS
|
#define LOOP_NEED_FLAGS
|
||||||
#include <iconv/loop.c>
|
#include <iconv/loop.c>
|
||||||
|
|
Loading…
Reference in New Issue