int const outfile = ::open(target.c_str(), flags, source_stat.st_mode);
if (outfile == -1) {
- int err = errno;
+ //int err = errno;
::close(infile);
return false;
}
}
}
- int err = errno;
+ //int err = errno;
::close(infile);
::close(outfile);
return false;
}
#endif
+ return true;
}
+
namespace lyx {
namespace support {
template<typename Char> struct char_traits;
template<> struct char_traits<char>;
-template<> struct char_traits<wchar_t>;
+template<> struct char_traits<lyx::char_type>;
template<typename Alloc> class allocator;