diff options
| author | Paul Eggert | 2019-04-24 17:41:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-04-24 17:42:09 -0700 |
| commit | 2bf957394cdcb93396966d3289f5e200886cb424 (patch) | |
| tree | 99f1f3af3c339638cfd622ec7fd1949ff1c3e3e0 /lib | |
| parent | 445713f55561df9a9755ce13eec0c0324b1754c2 (diff) | |
| download | emacs-2bf957394cdcb93396966d3289f5e200886cb424.tar.gz emacs-2bf957394cdcb93396966d3289f5e200886cb424.zip | |
Improve port to platforms lacking euidaccess (Bug#35406)
* lib-src/emacsclient.c (set_local_socket):
Use faccessat with AT_EACCESS instead of using euidaccess.
* admin/merge-gnulib, lib/gnulib.mk.in, m4/gnulib-comp.m4:
Revert previous change.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gnulib.mk.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in index 165405f2499..ade4ff8ebdb 100644 --- a/lib/gnulib.mk.in +++ b/lib/gnulib.mk.in | |||
| @@ -88,7 +88,6 @@ | |||
| 88 | # dtotimespec \ | 88 | # dtotimespec \ |
| 89 | # dup2 \ | 89 | # dup2 \ |
| 90 | # environ \ | 90 | # environ \ |
| 91 | # euidaccess \ | ||
| 92 | # execinfo \ | 91 | # execinfo \ |
| 93 | # explicit_bzero \ | 92 | # explicit_bzero \ |
| 94 | # faccessat \ | 93 | # faccessat \ |
| @@ -1492,7 +1491,9 @@ endif | |||
| 1492 | ## begin gnulib module euidaccess | 1491 | ## begin gnulib module euidaccess |
| 1493 | ifeq (,$(OMIT_GNULIB_MODULE_euidaccess)) | 1492 | ifeq (,$(OMIT_GNULIB_MODULE_euidaccess)) |
| 1494 | 1493 | ||
| 1494 | ifneq (,$(gl_GNULIB_ENABLED_euidaccess)) | ||
| 1495 | 1495 | ||
| 1496 | endif | ||
| 1496 | EXTRA_DIST += euidaccess.c | 1497 | EXTRA_DIST += euidaccess.c |
| 1497 | 1498 | ||
| 1498 | EXTRA_libgnu_a_SOURCES += euidaccess.c | 1499 | EXTRA_libgnu_a_SOURCES += euidaccess.c |
| @@ -2148,7 +2149,9 @@ endif | |||
| 2148 | ## begin gnulib module root-uid | 2149 | ## begin gnulib module root-uid |
| 2149 | ifeq (,$(OMIT_GNULIB_MODULE_root-uid)) | 2150 | ifeq (,$(OMIT_GNULIB_MODULE_root-uid)) |
| 2150 | 2151 | ||
| 2152 | ifneq (,$(gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c)) | ||
| 2151 | 2153 | ||
| 2154 | endif | ||
| 2152 | EXTRA_DIST += root-uid.h | 2155 | EXTRA_DIST += root-uid.h |
| 2153 | 2156 | ||
| 2154 | endif | 2157 | endif |