From 5485c81829208cac61de59deccdaae8293584cda Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sat, 12 Nov 2016 20:28:55 +0000 Subject: [PATCH] * src/filesystem/ops.cc (is_empty): Fix typo in exception message. From-SVN: r242341 --- libstdc++-v3/ChangeLog | 2 ++ libstdc++-v3/src/filesystem/ops.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4cc16b9ffd7..c53f0ce10ff 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2016-11-12 Jonathan Wakely + * src/filesystem/ops.cc (is_empty): Fix typo in exception message. + * include/std/future (future_error): Fix public typo to private. 2016-11-11 Jonathan Wakely diff --git a/libstdc++-v3/src/filesystem/ops.cc b/libstdc++-v3/src/filesystem/ops.cc index 8ed0a105dfa..0dcb1b410fc 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; } -- 2.30.2