[PATCH] D20903: Make system_error::message() thread safe. Fixes PR25598.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 20:50:46 PDT 2016


EricWF updated this revision to Diff 60649.
EricWF added a comment.

Use named variable `strerror_buff_size` variable instead of literal `1024`.


http://reviews.llvm.org/D20903

Files:
  src/system_error.cpp
  test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
  test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20903.60649.patch
Type: text/x-patch
Size: 3713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160614/ee9d93ae/attachment.bin>


More information about the cfe-commits mailing list