diff options
author | kettenis <> | 2014-06-18 19:01:10 +0000 |
---|---|---|
committer | kettenis <> | 2014-06-18 19:01:10 +0000 |
commit | 944d3fa89a8a293a3a963cbf422a1e085e7f25df (patch) | |
tree | 25ba00731ee7e34a8f0bb9da9731d10eba63a790 /src/lib/libc/stdlib/gcvt.c | |
parent | 1720390075b52ae14cd5f46d93b100d9bcb81dc5 (diff) | |
download | openbsd-944d3fa89a8a293a3a963cbf422a1e085e7f25df.tar.gz openbsd-944d3fa89a8a293a3a963cbf422a1e085e7f25df.tar.bz2 openbsd-944d3fa89a8a293a3a963cbf422a1e085e7f25df.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/lib/libc/stdlib/gcvt.c')
0 files changed, 0 insertions, 0 deletions