Georg Baum wrote:
> [EMAIL PROTECTED] wrote:
> 
>> Modified: lyx-devel/trunk/development/cmake/config.h.cmake
>> URL:
>>
> http://www.lyx.org/trac/file/lyx-devel/trunk/development/cmake/config.h.cmake?rev=15913
> ==============================================================================
>> --- lyx-devel/trunk/development/cmake/config.h.cmake (original) +++
>> lyx-devel/trunk/development/cmake/config.h.cmake Tue Nov 14 00:22:31 2006
>> @@ -171,6 +171,9 @@
>>  
>>  #ifdef _MSC_VER
>>  #pragma warning( disable : 4800 ) //: forcing value to bool 'true' or
>>  #'false' (performance warning)
>> +#ifdef HAVE_CHMOD
>> +typedef int mode_t;
>> +#endif
>>  #endif
> 
> Are you sure that this chmod does what is intended if it receives a bool but
> LyX calls it with a unix style mode argument? If yes you should add a
> comment.

msvc only supports S_IWRITE/READ, seems it is better to disable it.
Are there reasons not to disable it on Windows?

-- 
Peter Kümmel

Reply via email to