delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/09/03:46:53

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=NATMN1OIoV+KQIgxfxdHJr2+YToD
5KXyKY/7RRp6S1LQFrTULHJxUrudQWmrXtvsTCuxPC3hFbwquzMQ1+Nfjjw7MrbC
At6mUO4jRvRrj1K6H8Xg4Q8taaBZ1PTFOO084x3vkUccosuoWLySLT0u89PXu13o
NrmbYcyc6V8fLxM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=G5HNGjLRY5sP/1McYgzZ7URtbxI=; b=ID
In7XUTGRuGCiXBFBGB3pL0Tz6MkadIZ3dBDatcNg3oq/MDB8RzQDVO+9oPmJPbr1
+9nPi36X0cwPH03iCOI/sgw58HfiqVBplFNz3z8Fuo/lN0LqJKNWKcXoBdlMtL2y
ib8ZenoXj5WMi4q2T35nWdkAgkShiEtLOGAEUN+SM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*i:sk:CAFo71_, H*MI:sk:56B8C25, H*MI:sk:CA0C06F, H*m:usa
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Subject: Re: Problem with new acl code and cdrtools
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <CAFo71_58PFDgaNU4-bdj4JoCndXAd=+i57w_eAgeq==RVcyoDw@mail.gmail.com>
Date: Tue, 9 Feb 2016 01:46:32 -0700
Message-Id: <BAF8618B-B333-4391-91B9-17174761484C@etr-usa.com>
References: <CAFo71_4fDB3WkhXTL7eybNzKh2idVF1UHb7oJjaxFshcS9BFUg AT mail DOT gmail DOT com> <20160208131835 DOT GC12975 AT calimero DOT vinschen DOT de> <CAFo71_5=KT=kJY-wz0EZWZ_LBriCjX2s6=5PSVhHRSxx-A92qg AT mail DOT gmail DOT com> <56B8C25F DOT 7050206 AT lysator DOT liu DOT se> <CAFo71_4eQ2VMypAnC=Bx_bvbzGvVCs=jj4r9Ax6GDbgaH1zGOQ AT mail DOT gmail DOT com> <CA0C06F1-A50D-4DBF-AB58-AADCE3D9F9F4 AT etr-usa DOT com> <CAFo71_58PFDgaNU4-bdj4JoCndXAd=+i57w_eAgeq==RVcyoDw AT mail DOT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u198kmlY014422

On Feb 9, 2016, at 12:56 AM, Ismail Donmez <ismail AT i10z DOT com> wrote:
> 
> On Tue, Feb 9, 2016 at 6:14 AM, Warren Young <wyml AT etr-usa DOT com> wrote:
>> On Feb 8, 2016, at 9:59 AM, Ismail Donmez <ismail AT i10z DOT com> wrote:
>>> 
>>> Thats a hack :)
>> 
>> Peter’s proposal is as far from a hack as it gets.
> 
> What Peter suggests is telling autoconf to assume aclfromtext() does
> not exist on the system which is a hack and I already have a hack I
> could use.

No.  Once again, he’s suggesting that you write a *test* that checks whether aclfromtext() exists here.  Hypothesis -> test -> decision is science, not assumption or hackery.

>>   #include <config.h>
>>   #if HAVE_FUNC_ACLFROMTEXT
>>   #  include <cygwin/acl.h>
>>   #endif
> 
> I could check for __cygwin__ instead of that which would do the same thing.

Not if it’s Cygwin 1.7.34.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019