diff options
author | Ryan Prichard <rprichard@google.com> | 2019-05-07 21:21:08 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-05-07 21:21:08 +0000 |
commit | 2a24f6bd5f61ee4e916f08a7a69b486891f12f44 (patch) | |
tree | 00d8377b3273af0bb9b07e858340673ac5619a82 /libc/stdlib/atexit.c | |
parent | bffe6f16a81d35b54a8c746fa5d3f8bec58c6a87 (diff) | |
parent | c8e263becfa01afecba84edf6a8a18da27a78e89 (diff) |
Merge "Revert fwalk/sfp locking to fix concurrent reads" into qt-dev
Diffstat (limited to 'libc/stdlib/atexit.c')
-rw-r--r-- | libc/stdlib/atexit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c index 692e0c0fc..0efb11854 100644 --- a/libc/stdlib/atexit.c +++ b/libc/stdlib/atexit.c @@ -188,7 +188,8 @@ restart: /* If called via exit(), flush output of all open files. */ if (dso == NULL) { - fflush(NULL); + extern void __libc_stdio_cleanup(void); + __libc_stdio_cleanup(); } /* BEGIN android-changed: call __unregister_atfork if dso is not null */ |