[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    Re: r29444 - lyx-devel/trunk/src/support
From:       Abdelrazak Younes <younes () lyx ! org>
Date:       2009-04-30 8:43:51
Message-ID: 49F964C7.5060904 () lyx ! org
[Download RAW message or body]

forenr@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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic