[libcxx-commits] [PATCH] D64979: [libc++] Set __file_ to 0 in basic_filebuf::close() even if fclose fails

Petr Hosek via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 19 08:25:02 PDT 2019


phosek added a comment.

In D64979#1593299 <https://reviews.llvm.org/D64979#1593299>, @ldionne wrote:

> Is it possible to add a test case?


Yes, but I need to figure out a way to make `fclose` fail reliably inside the test.


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64979/new/

https://reviews.llvm.org/D64979





More information about the libcxx-commits mailing list