This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Jul 11, 2017 at 12:01 PM, Joseph Myers <joseph@codesourcery.com> wrote: > A patch fixing a bug should also include the tests for that bug. Revised patch attached. Thanks. 2017-07-12 Paul Pluzhnikov <ppluzhnikov@google.com> Ricky Zhou <rickyz@google.com> Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com> [BZ #14333] * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock. (__new_exitfn): Fail registration when we finished at_exit processing. * stdlib/on_exit.c (__on_exit): Likewise. * stdlib/exit.c (__exit_funcs_done): New variable. (__run_exit_handlers): Use __exit_funcs_lock. * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New declarations. * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race) (test-__cxa_atexit-race): New tests. * stdlib/test-atexit-race-common.c: New. * stdlib/test-atexit-race.c: New. * stdlib/test-at_quick_exit-race.c: New. * stdlib/test-__cxa_atexit-race.c: New. -- Paul Pluzhnikov
Attachment:
glibc-bz14333-20170712.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |