summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2016-11-14 17:26:12 -0500
committerKen Brown <kbrown@cornell.edu>2016-11-15 17:53:22 -0500
commit8b48e937af801e11e2d1844d60b6e585ce09dcea (patch)
treed15e90273e2cea2f6a2961cf0e71085adb99d0cb /etc
parent9ed2502878d16ed7f20e8b4817e1eed963468de7 (diff)
downloademacs-8b48e937af801e11e2d1844d60b6e585ce09dcea.tar.gz
Simplify case-insensitivity checks on Mac OS X
* src/fileio.c (file_name_case_insensitive_p): Try skipping the Darwin code and instead using pathconf with _PC_CASE_SENSITIVE. Leave in two alternatives conditionally compiled based on DARWIN_OS_CASE_SENSITIVE_FIXME in case pathconf doesn't work. * etc/PROBLEMS: Mention the possible problem with pathconf on Mac OS X.
Diffstat (limited to 'etc')
-rw-r--r--etc/PROBLEMS12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 62d2bd1d26d..bbf865cf3f8 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -2415,6 +2415,18 @@ If this does not work, please inform bug-gnu-emacs@gnu.org. Then
please call support for your X-server and see if you can get a fix.
If you do, please send it to bug-gnu-emacs@gnu.org so we can list it here.
+
+* Runtime problems specific to Mac OS X
+
+** On Mac OS X, file-name-case-insensitive-p may be unreliable
+
+The implementation of that function on Mac OS X uses pathconf with the
+_PC_CASE_SENSITIVE flag. There have been reports that this use of
+pathconf does not work reliably. If you have a problem, please
+recompile Emacs with -DDARWIN_OS_CASE_SENSITIVE_FIXME=1 or
+-DDARWIN_OS_CASE_SENSITIVE_FIXME=2, and file a bug report saying
+whether this fixed your problem.
+
* Build-time problems
** Configuration