aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorKen Brown2016-11-14 17:26:12 -0500
committerKen Brown2016-11-15 17:53:22 -0500
commit8b48e937af801e11e2d1844d60b6e585ce09dcea (patch)
treed15e90273e2cea2f6a2961cf0e71085adb99d0cb /etc
parent9ed2502878d16ed7f20e8b4817e1eed963468de7 (diff)
downloademacs-8b48e937af801e11e2d1844d60b6e585ce09dcea.tar.gz
emacs-8b48e937af801e11e2d1844d60b6e585ce09dcea.zip
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
2415please call support for your X-server and see if you can get a fix. 2415please call support for your X-server and see if you can get a fix.
2416If you do, please send it to bug-gnu-emacs@gnu.org so we can list it here. 2416If you do, please send it to bug-gnu-emacs@gnu.org so we can list it here.
2417 2417
2418
2419* Runtime problems specific to Mac OS X
2420
2421** On Mac OS X, file-name-case-insensitive-p may be unreliable
2422
2423The implementation of that function on Mac OS X uses pathconf with the
2424_PC_CASE_SENSITIVE flag. There have been reports that this use of
2425pathconf does not work reliably. If you have a problem, please
2426recompile Emacs with -DDARWIN_OS_CASE_SENSITIVE_FIXME=1 or
2427-DDARWIN_OS_CASE_SENSITIVE_FIXME=2, and file a bug report saying
2428whether this fixed your problem.
2429
2418* Build-time problems 2430* Build-time problems
2419 2431
2420** Configuration 2432** Configuration