bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32246: 27.0.50; files-tests failure on Cygwin


From: Ken Brown
Subject: bug#32246: 27.0.50; files-tests failure on Cygwin
Date: Wed, 25 Jul 2018 12:56:36 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 7/25/2018 12:46 PM, Michael Albinus wrote:
Ken Brown <kbrown@cornell.edu> writes:

Hi Ken,

Hi Michael,

I left out a crucial piece of information in my bug report (sorry!): I
always set up my Cygwin systems to be case sensitive, as explained
here:

https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive

If you don't do this, then all file systems are case insensitive.  And
even if you do this, file names under /cygdrive are case insensitive,
as explained at the link above.  So I'm not surprised that you
couldn't reproduce the error.

Well, file_name_case_insensitive_p of fileio.c doesn't care:

--8<---------------cut here---------------start------------->8---
#if defined CYGWIN || defined DOS_NT
   return true;
#else
   return false;
#endif
--8<---------------cut here---------------end--------------->8---

No, that code is a fallback that is only relevant if the call to pathconf with _PC_CASE_INSENSITIVE fails or can't be made. See the comment at the beginning of the definition of file_name_case_insensitive_p, and also the comment before the definition.

Best regards,

Ken





reply via email to

[Prev in Thread] Current Thread [Next in Thread]