Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 30 Apr 2001 13:01:24 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: S_IXUSR & Co macro problem - zsh does not compile under current cygwin. Message-ID: <20010430130124.C30741@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20010427113605 DOT G5680 AT redhat DOT com> <001401c0d161$bc514710$21c9ca95 AT mow DOT siemens DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <001401c0d161$bc514710$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Mon, Apr 30, 2001 at 02:38:46PM +0400 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