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] | |
Greetings,
While working a on patch for bz14333, I discovered that there are no
tests for ordering of functions registered with atexit/on_exit, and in
particular the case where such function itself registers new exit
handlers.
This patch adds such test. I am using on_exit here because it
conveniently allows passing an argument.
2017-07-10 Paul Pluzhnikov <ppluzhnikov@google.com>
* stdlib/Makefile (tests): Add tst-on_exit
* stdlib/tst-on_exit.c: New.
--
Paul Pluzhnikov
Attachment:
glibc-on_exit-20170710.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |