From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124037 invoked by alias); 19 Oct 2016 21:16:17 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 122631 invoked by uid 89); 19 Oct 2016 21:16:17 -0000 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 Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Oct 2016 21:16:06 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u9JLG4BL007818 for ; Wed, 19 Oct 2016 17:16:04 -0400 Received: from [10.128.131.214] (dhcp-gs-982.eduroam.cornell.edu [10.128.131.214]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u9JLG3mR002267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 19 Oct 2016 17:16:04 -0400 Subject: Re: Detecting case sensitivity To: cygwin@cygwin.com References: <7d6249c4-0904-b80f-39ed-69ddfbb675f4@cornell.edu> <20161019111049.GA4801@calimero.vinschen.de> From: Ken Brown Message-ID: <581c601a-b2cd-b6e6-7106-6a98d95eb117@cornell.edu> Date: Thu, 20 Oct 2016 01:34:00 -0000 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00239.txt.bz2 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