2003-12-29  Andreas Schwab  <schwab@suse.de>

	* stdio-common/Makefile (CFLAGS-errlist.c, CFLAGS-siglist.c): Add
	$(fno_unit_at_a_time) to avoid reordering assembler output.

	(push_fail_stack): Change fs->alloc only after successful realloc.
	(set_regs): If proceed_next_node returns -2, free eps_via_nodes and fs.
This commit is contained in:
Ulrich Drepper 2003-12-29 18:02:21 +00:00
parent 447777715a
commit 795985e4e7
3 changed files with 13 additions and 4 deletions

View File

@ -1,14 +1,17 @@
2003-12-29 Andreas Schwab <schwab@suse.de>
* stdio-common/Makefile (CFLAGS-errlist.c, CFLAGS-siglist.c): Add
$(fno_unit_at_a_time) to avoid reordering assembler output.
2003-12-29 Jakub Jelinek <jakub@redhat.com> 2003-12-29 Jakub Jelinek <jakub@redhat.com>
* posix/regexec.c (re_copy_regs): Revert comment change. * posix/regexec.c (re_copy_regs): Revert comment change.
Avoid memory leak if realloc fails. Avoid memory leak if realloc fails.
(proceed_next_node): Return -2 if re_node_set_insert fails. (proceed_next_node): Return -2 if re_node_set_insert fails.
Return -2 if push_fail_stack fails. Return -2 if push_fail_stack fails.
(push_fail_stack): Change fs->alloc only after successful (push_fail_stack): Change fs->alloc only after successful realloc.
realloc.
(pop_fail_stack): Formatting. (pop_fail_stack): Formatting.
(set_regs): If proceed_next_node returns -2, free eps_via_nodes (set_regs): If proceed_next_node returns -2, free eps_via_nodes and fs.
and fs.
(check_arrival_add_next_nodes): Merge identical statements (check_arrival_add_next_nodes): Merge identical statements
from if branches. from if branches.

View File

@ -1,3 +1,7 @@
2003-12-29 Jakub Jelinek <jakub@redhat.com>
* tst-raise1.c: Include stdio.h.
2003-12-23 Jakub Jelinek <jakub@redhat.com> 2003-12-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/raise.c (raise): Protect pid = selftid * sysdeps/unix/sysv/linux/raise.c (raise): Protect pid = selftid

View File

@ -87,6 +87,8 @@ CFLAGS-tempname.c = -fexceptions
CFLAGS-psignal.c = -fexceptions CFLAGS-psignal.c = -fexceptions
CFLAGS-vprintf.c = -fexceptions CFLAGS-vprintf.c = -fexceptions
CFLAGS-cuserid.c = -fexceptions CFLAGS-cuserid.c = -fexceptions
CFLAGS-errlist.c = $(fno-unit-at-a-time)
CFLAGS-siglist.c = $(fno-unit-at-a-time)
tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata
tst-swprintf-ENV = LOCPATH=$(common-objpfx)localedata tst-swprintf-ENV = LOCPATH=$(common-objpfx)localedata