mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
compile fix?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21494 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b55a179d51
commit
a15472ecfe
@ -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 {
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user