From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11829 invoked from network); 28 Apr 2001 08:52:13 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Apr 2001 08:52:13 -0000 Received: (qmail 17897 invoked by alias); 28 Apr 2001 08:52:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14148 Received: (qmail 17885 invoked from network); 28 Apr 2001 08:52:07 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH Workers Mailing List" Subject: RE: S_IXUSR & Co macro problem - zsh does not compile under current cygwin. Date: Sat, 28 Apr 2001 12:52:04 +0400 Message-ID: <000001c0cfc0$7f786140$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1010427174629.ZM27048@candle.brasslantern.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal > > On Apr 27, 12:27pm, Andrej Borsenkow wrote: > } > } #if defined (__CYGWIN__) && !defined (__INSIDE_CYGWIN__) > } extern unsigned const _cygwin_S_IEXEC, _cygwin_S_IXUSR, > _cygwin_S_IXGRP, _cygwin_S_IXOTH; > > Do we need to fix this in zsh, or do you think it'll be treated as a bug > by the cygwin folks? > If I understand the following correctly , it was deliberate change: >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. -andrej