]> git.eshelyaron.com Git - emacs.git/commit
Don’t ignore stderr failure when ADDRESS_SANITIZER
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 7 Jul 2019 00:41:52 +0000 (17:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 7 Jul 2019 00:43:11 +0000 (17:43 -0700)
commitb39f5e6c9c50b3153c4e7bfac9219f14da73e4d1
tree46b8df94b009c3836a28917037b20c7ea31a3119
parent851535f58745dcfbc8798b3a34b4fea852f93a3e
Don’t ignore stderr failure when ADDRESS_SANITIZER

* src/emacs.c (close_output_streams): Move from here ...
* src/sysdep.c: ... to here, where it really belongs anyway.
When ADDRESS_SANITIZER, fflush stderr and check for ferror,
to catch stderr output errors even in this case.
src/emacs.c
src/sysdep.c
src/sysstdio.h