S_IXUSR & Co macro problem - zsh does not compile under current cygwin.

Christopher Faylor cgf@redhat.com
Mon Apr 30 10:00:00 GMT 2001


On Mon, Apr 30, 2001 at 02:38:46PM +0400, Andrej Borsenkow wrote:
>> >
>> >SUS does not clear specify if these macros should be #defines. But, is it
>> >necessary to make them external variables? const is real const in
>> C++ but not
>> >in C, sigh.
>>
>> Nope, not necessary at all.
>>
>> This is just part of a massive "Arbitrarily make everything a
>> global variable"
>> campaign.  Phase two will be to have Cygwin prompt you for the values of
>> the variables whenever you want to use them.
>>
>
>Is it possible, that values of _cygwin_S_IEXEC, _cygwin_S_IXUSR,
>_cygwin_S_IXGRP, _cygwin_S_IXOTH change during program execution?

No.  That's why they are declared with a 'const'.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list