aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorPaul Eggert2016-11-14 09:08:06 -0800
committerPaul Eggert2016-11-14 09:09:48 -0800
commit2f5e0b1bf7b0ac4f450847db34d599a072020600 (patch)
treef653be0ce0b66b4e8c507f4e57a6a0bbca3ae142 /src/coding.c
parent3625e6ce9352942a4db980dd203b590cdaf821df (diff)
downloademacs-2f5e0b1bf7b0ac4f450847db34d599a072020600.tar.gz
emacs-2f5e0b1bf7b0ac4f450847db34d599a072020600.zip
Improve case-insensitive checks (Bug#24441)
* doc/lispref/files.texi (Truenames): Simplify documentation, to avoid giving too much platform-specific information that may not be accurate anyway. * src/fileio.c (file_name_case_insensitive_p): Use pathconf with _PC_CASE_SENSITIVE if _PC_CASE_INSENSITIVE is not available. Otherwise if one approach fails (e.g., with errno == EINVAL), fall back on an alternative rather than returning false. Try skipping the Darwin code, as it (1) no longer seems to be needed and (2) does not seem to match the Apple documentation. Leave in two alternatives conditionally compiled based on DARWIN_OS_CASE_SENSITIVE_FIXME in case (1) or (2) is incorrect.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions