On 10/11/16 17:29 +0000, Chris Fairles wrote:
"cannot check is file is empty" -> *if
This patch fixes the typo. I haven't looked at the failure yet. Will commit to trunk shortly.
commit 9882c567342019c9561b44e611af9d42cdf23f3b Author: Jonathan Wakely <jwak...@redhat.com> Date: Sat Nov 12 20:14:07 2016 +0000 * src/filesystem/ops.cc (is_empty): Fix typo in exception message. diff --git a/libstdc++-v3/src/filesystem/ops.cc b/libstdc++-v3/src/filesystem/ops.cc index 8ed0a10..0dcb1b4 100644 --- a/libstdc++-v3/src/filesystem/ops.cc +++ b/libstdc++-v3/src/filesystem/ops.cc @@ -1054,7 +1054,7 @@ fs::is_empty(const path& p) error_code ec; bool e = is_empty(p, ec); if (ec) - _GLIBCXX_THROW_OR_ABORT(filesystem_error("cannot check is file is empty", + _GLIBCXX_THROW_OR_ABORT(filesystem_error("cannot check if file is empty", p, ec)); return e; }