diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-07-11 02:59:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-07-11 02:59:49 +0000 |
commit | b664d723de1de150fbfec3df9828fe5f0cf0b5ce (patch) | |
tree | 20fde2ae40600c15afc2944704b825946fdd011c /iconvdata/iso-2022-jp-3.c | |
parent | 81c64d407c82933f18dc09de9bf58cc76d6a6148 (diff) | |
download | glibc-b664d723de1de150fbfec3df9828fe5f0cf0b5ce.zip glibc-b664d723de1de150fbfec3df9828fe5f0cf0b5ce.tar.gz glibc-b664d723de1de150fbfec3df9828fe5f0cf0b5ce.tar.bz2 |
Update.
* malloc/hooks.c (realloc_check): If mremap succeeds actually use
the result.
* sysdeps/i386/i486/bits/string.h: Add early clobber for "a"
output parameter. Reported by Denis Zaitsev <zzz@cd-club.ru>.
* Versions.def (libthread_db): Add GLIBC_2.3.
2002-07-09 Jakub Jelinek <jakub@redhat.com>
* libio/freopen.c (freopen): Reset jump tables, use mmap stdio for the
new stream if possible.
* libio/freopen64.c (freopen64): Likewise.
* libio/Makefile (tests): Add tst-freopen.
* libio/tst-freopen.c: New file.
2002-07-03 Jakub Jelinek <jakub@redhat.com>
* libio/stdio.h (obstack_printf): Add format attribute.
(obstack_vprintf): Likewise.
2002-07-04 Jakub Jelinek <jakub@redhat.com>
* posix/regex_internal.h (re_token_t): Shrink the structure to 8
resp. 16 bytes on 32-bit resp. 64-bit platforms.
(re_charset_t, re_string_t): Reorder structure members for 64-bit
architectures.
2002-07-04 Jakub Jelinek <jakub@redhat.com>
* posix/regcomp.c (re_compile_internal): Move clearing of dfa...
(init_dfa): ...here.
2002-07-05 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regcomp.c (parse_sub_exp): Add nodes OP_OPEN_SUBEXP and
OP_CLOSE_SUBEXP at both ends of sub expressions instead of SUBEXP
nodes in parse trees.
(calc_first): Fix the Definition of `firsts' of OP_OPEN_SUBEXP
and OP_CLOSE_SUBEXP, and remove the definition of SUBEXP.
(calc_epsdest): Treat OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP as the
nodes which can epsilon transit.
* posix/regex_internal.h: Add OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP
to IS_EPSILON_NODE macro.
* posix/regexec.c (update_regs): New function to update registers
by refering OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP nodes.
(proceed_next_node): Use the entities of the nodes to determine
whether the node can transit to.
(set_regs): Use update_regs function to update registers.
2002-07-03 Jakub Jelinek <jakub@redhat.com>
* posix/bug-regex4.c (main): Remove duplicate setlocale.
* posix/bug-regex6.c: New file.
* posix/Makefile (tests): Add bug-regex6.
(bug-regex6-ENV): Set LOCPATH.
2002-07-10 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'iconvdata/iso-2022-jp-3.c')
-rw-r--r-- | iconvdata/iso-2022-jp-3.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/iconvdata/iso-2022-jp-3.c b/iconvdata/iso-2022-jp-3.c index 2bf666c..2704a17 100644 --- a/iconvdata/iso-2022-jp-3.c +++ b/iconvdata/iso-2022-jp-3.c @@ -109,9 +109,8 @@ enum { \ /* Write out the shift sequence before the last \ character. */ \ - int set = data->__statep->__count & CURRENT_SEL_MASK; \ - \ - assert (set == JISX0208_1983_set); \ + assert ((data->__statep->__count & CURRENT_SEL_MASK) \ + == JISX0208_1983_set); \ *outbuf++ = ESC; \ *outbuf++ = '$'; \ *outbuf++ = 'B'; \ |