public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Detecting case sensitivity
@ 2016-09-20 23:54 Ken Brown
  2016-10-19 11:27 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Brown @ 2016-09-20 23:54 UTC (permalink / raw)
  To: cygwin

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.

Ken

[*] See

   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22300
   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24441

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Detecting case sensitivity
  2016-09-20 23:54 Detecting case sensitivity Ken Brown
@ 2016-10-19 11:27 ` Corinna Vinschen
  2016-10-20  1:34   ` Ken Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2016-10-19 11:27 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

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


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Detecting case sensitivity
  2016-10-19 11:27 ` Corinna Vinschen
@ 2016-10-20  1:34   ` Ken Brown
  2016-10-20 13:52     ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Brown @ 2016-10-20  1:34 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Detecting case sensitivity
  2016-10-20  1:34   ` Ken Brown
@ 2016-10-20 13:52     ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2016-10-20 13:52 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]

On Oct 19 17:16, Ken Brown wrote:
> 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.

I don't know if that was just an oversight or deliberate (Yaakov?).
It wouldn't hurt to add all of them, I think.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-20  9:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-20 23:54 Detecting case sensitivity Ken Brown
2016-10-19 11:27 ` Corinna Vinschen
2016-10-20  1:34   ` Ken Brown
2016-10-20 13:52     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).