"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/interface/xmlfunctions.cpp" between
FileZilla_3.48.0_src.tar.bz2 and FileZilla_3.48.1_src.tar.bz2

About: FileZilla is a fast and feature-rich cross-platform FTP, FTPS and SFTP client with an intuitive graphical user interface.

xmlfunctions.cpp  (FileZilla_3.48.0_src.tar.bz2):xmlfunctions.cpp  (FileZilla_3.48.1_src.tar.bz2)
skipping to change at line 101 skipping to change at line 101
} }
m_modificationTime = fz::local_filesys::get_modification_time(fz::to_nati ve(redirectedName)); m_modificationTime = fz::local_filesys::get_modification_time(fz::to_nati ve(redirectedName));
return m_element; return m_element;
} }
bool CXmlFile::Modified() bool CXmlFile::Modified()
{ {
wxCHECK(!m_fileName.empty(), false); wxCHECK(!m_fileName.empty(), false);
if (m_modificationTime.empty()) if (m_modificationTime.empty()) {
return true; return true;
}
fz::datetime const modificationTime = fz::local_filesys::get_modification _time(fz::to_native(m_fileName)); fz::datetime const modificationTime = fz::local_filesys::get_modification _time(fz::to_native(m_fileName));
if (!modificationTime.empty() && modificationTime == m_modificationTime) if (!modificationTime.empty() && modificationTime == m_modificationTime) {
return false; return false;
}
return true; return true;
} }
void CXmlFile::Close() void CXmlFile::Close()
{ {
m_element = pugi::xml_node(); m_element = pugi::xml_node();
m_document.reset(); m_document.reset();
} }
 End of changes. 4 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)