diff options
author | kettenis <> | 2014-06-18 19:01:10 +0000 |
---|---|---|
committer | kettenis <> | 2014-06-18 19:01:10 +0000 |
commit | ea52171d7ee0bb85a996dc2021440e122bf0357d (patch) | |
tree | 25ba00731ee7e34a8f0bb9da9731d10eba63a790 /src/usr.bin | |
parent | 067b361c7dbce14db401c57d13ca4e1146dedc3c (diff) | |
download | openbsd-ea52171d7ee0bb85a996dc2021440e122bf0357d.tar.gz openbsd-ea52171d7ee0bb85a996dc2021440e122bf0357d.tar.bz2 openbsd-ea52171d7ee0bb85a996dc2021440e122bf0357d.zip |
Always call atexit handlers as if they were registered with __cxa_atexit.
The extra argument doesn't hurt genuine atexit handlers and this fixes a
bug where we didn't provide the argument (effectively passing garbage) for
functions registered with __cxa_atexit in the main executable.
Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes
<enh@google.com>.
ok matthew@
Diffstat (limited to 'src/usr.bin')
0 files changed, 0 insertions, 0 deletions