compile fix?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21494 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-11-07 20:22:46 +00:00
parent b55a179d51
commit a15472ecfe
2 changed files with 5 additions and 3 deletions

View File

@ -89,7 +89,7 @@ static bool copy_file(std::string const & source, std::string const & target, bo
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;
}
@ -113,7 +113,7 @@ static bool copy_file(std::string const & source, std::string const & target, bo
}
}
int err = errno;
//int err = errno;
::close(infile);
::close(outfile);
@ -129,8 +129,10 @@ static bool copy_file(std::string const & source, std::string const & target, bo
return false;
}
#endif
return true;
}
namespace lyx {
namespace support {

View File

@ -33,7 +33,7 @@ namespace std {
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;