This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with new acl code and cdrtools


On Feb 9, 2016, at 12:56 AM, Ismail Donmez <ismail@i10z.com> wrote:
> 
> On Tue, Feb 9, 2016 at 6:14 AM, Warren Young <wyml@etr-usa.com> wrote:
>> On Feb 8, 2016, at 9:59 AM, Ismail Donmez <ismail@i10z.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]