delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/10/19/17:16:34

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=jX0n3PEQzT8lGnuE
KD+0woDx9LlUTXFnzD+R42vNZHR622OtmbTCLlgh607TD89XM8pGoIhlQNoNVVWz
Dlj/ral46HcvzA0cal59w4+/LeDG3UTLs0qPGzD8aYsQbqOqbrrLGwujYLMnxIor
6D7Hc9p2YDfk4gd0lHUAP7IW/NM=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=+6nGtI6rsKb7w8LmXTHL7s
SJQQ0=; b=HB+SIpVZso5ipJll8d64rUKQB1zYJb5DM+JlXRbLHL9cmpxKy44Hdt
P4xMPpSvFyFJTPgTi0Z+pl5fecDE84j+JZs4SeS8MD91AQe6ht8XEle1iF+ggU+o
GQvFQ5UTxlxj0E3MgiEUabdhNr7I8iO4BOSMkNQjX+lyCDZUoPOKI=
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=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1181, cygwinonly, cygwin-only, Cygwin-only
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Detecting case sensitivity
To: cygwin AT cygwin DOT com
References: <7d6249c4-0904-b80f-39ed-69ddfbb675f4 AT cornell DOT edu> <20161019111049 DOT GA4801 AT calimero DOT vinschen DOT de>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <581c601a-b2cd-b6e6-7106-6a98d95eb117@cornell.edu>
Date: Wed, 19 Oct 2016 17:16:02 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <20161019111049.GA4801@calimero.vinschen.de>
X-PMX-Cornell-Gauge: Gauge=X
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 10/19/2016 7:10 AM, Corinna Vinschen wrote:
> On Sep 20 18:03, Ken Brown wrote:
>> I found an old discussion
>> (https://www.cygwin.com/ml/cygwin/2007-08/msg00594.html) about the
>> possibility of adding a _PC_CASE_INSENSITIVE flag to pathconf.  Has anyone
>> thought further about this?  I would find this useful for emacs[*].
>>
>> I've taken a quick look at the pathconf code, and it looks like it wouldn't
>> be difficult to add this.  I could try to provide a patch if the powers that
>> be would be receptive.
>
> /me marks herself as being receptive

Should the getconf utility be patched to support the new 
_PC_CASE_INSENSITIVE flag?  I'm asking because getconf doesn't currently 
support the Cygwin-only flags _PC_POSIX_PERMISSIONS and 
_PC_POSIX_SECURITY.  This seems to contradict the documentation at 
https://cygwin.com/cygwin-ug-net/getconf.html:

"...getconf serves as a wrapper for the pathconf function, supporting 
the symbolic constants defined in the unistd.h header, without the _PC_ 
prefix."

If the omission of _PC_POSIX_PERMISSIONS and _PC_POSIX_SECURITY was just 
an oversight, I can add support for them along with my patch.

Ken

--
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