closeout: don’t close stderr when sanitizing
commit105ff45093137b71507172d426837414ce1b7668
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 May 2017 15:52:38 +0000 (19 08:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 May 2017 15:56:01 +0000 (19 08:56 -0700)
tree95bd631289a4ddf97709ab4941679da390b545c0
parentfa529e849b9e8e0083d84aa60c9023195a94a11f
closeout: don’t close stderr when sanitizing

* NEWS: Document this.
* lib/closeout.c (__has_feature): New macro, if not already defined.
(SANITIZE_ADDRESS): New constant.
(close_stdout): Don’t close stderr if sanitizing addresses.
ChangeLog
NEWS
lib/closeout.c