diff options
| author | Paul Eggert | 2014-08-10 13:40:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-08-10 13:40:57 -0700 |
| commit | f22bc725a1c8294fc042f6a9541be01a177755f6 (patch) | |
| tree | c54be44171d43157177e8879d5ec3d583edfe5a1 /ChangeLog | |
| parent | d5f2feb5818b9da8323bda683983fa7e637c47fd (diff) | |
| download | emacs-f22bc725a1c8294fc042f6a9541be01a177755f6.tar.gz emacs-f22bc725a1c8294fc042f6a9541be01a177755f6.zip | |
Don't prevent random file systems from being unmounted.
This fix relies on having the 'fchdir' function, and on having
"." be searchable (or at least readable, on platforms lacking O_SEARCH),
but that's good enough to handle the vast majority of cases and the
remaining folks can just live with the annoyance of file systems
that occasionally can't be unmounted.
* configure.ac (fchdir): New function to check for.
* lib/save-cwd.c: Copy from gnulib, except omit the part that
allocates memory, since that can cause problems in Emacs.
* lib/save-cwd.h: Copy from gnulib.
Fixes: debbugs:18232
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -1,3 +1,16 @@ | |||
| 1 | 2014-08-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Don't prevent random file systems from being unmounted (Bug#18232). | ||
| 4 | This fix relies on having the 'fchdir' function, and on having | ||
| 5 | "." be searchable (or at least readable, on platforms lacking O_SEARCH), | ||
| 6 | but that's good enough to handle the vast majority of cases and the | ||
| 7 | remaining folks can just live with the annoyance of file systems | ||
| 8 | that occasionally can't be unmounted. | ||
| 9 | * configure.ac (fchdir): New function to check for. | ||
| 10 | * lib/save-cwd.c: Copy from gnulib, except omit the part that | ||
| 11 | allocates memory, since that can cause problems in Emacs. | ||
| 12 | * lib/save-cwd.h: Copy from gnulib. | ||
| 13 | |||
| 1 | 2014-07-11 Paul Eggert <eggert@cs.ucla.edu> | 14 | 2014-07-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 15 | ||
| 3 | * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971). | 16 | * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971). |