for...@lyx.org wrote:
Author: forenr
Date: Thu Apr 30 00:42:26 2009
New Revision: 29444
URL: http://www.lyx.org/trac/changeset/29444
Log:
Speed up FileName operator==, such that working with child documents on
Windows and Solaris is again possible.
Modified: lyx-devel/trunk/src/support/os_win32.cpp
==============================================================================
--- lyx-devel/trunk/src/support/os_win32.cpp Wed Apr 29 22:34:41 2009
(r29443)
+++ lyx-devel/trunk/src/support/os_win32.cpp Thu Apr 30 00:42:26 2009
(r29444)
@@ -389,6 +389,43 @@
to_local8bit(from_utf8(filename)).c_str(), NULL, NULL, 1)) > 32;
}
+
+bool isSameFile(string const & fileone, string const & filetwo)
Will this be working with UTF16 file names? I see that CreateFile is a
macro that is expanded to CreatedFileW on MSVC2008...
Abdel.