From 83b85371785bae2928332ac758f2359b724ef420 Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 27 Jul 2018 13:55:58 +0200 Subject: Replace strerror usage with IceUtilInternal::errorToString Close #154 --- cpp/src/Slice/Ruby.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/Slice/Ruby.cpp') diff --git a/cpp/src/Slice/Ruby.cpp b/cpp/src/Slice/Ruby.cpp index 014b022208e..8b61d7947b0 100644 --- a/cpp/src/Slice/Ruby.cpp +++ b/cpp/src/Slice/Ruby.cpp @@ -7,7 +7,7 @@ // // ********************************************************************** -#include +#include #include #include #include @@ -297,7 +297,7 @@ Slice::Ruby::compile(const vector& argv) if(!out) { ostringstream os; - os << "cannot open`" << file << "': " << strerror(errno); + os << "cannot open`" << file << "': " << IceUtilInternal::errorToString(errno); throw FileException(__FILE__, __LINE__, os.str()); } FileTracker::instance()->addFile(file); -- cgit v1.2.3