summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/rx.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-04-17 10:41:17 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-04-17 10:43:13 -0700
commit3cccf0a9107d585173e527550bbc45253624ca2e (patch)
tree84f2ace0970fde0dc3c9863755eba8379574ffcf /lisp/emacs-lisp/rx.el
parent4641bc1c550a81c71798c0176a6bfc34c8947c74 (diff)
downloademacs-3cccf0a9107d585173e527550bbc45253624ca2e.tar.gz
emacs-3cccf0a9107d585173e527550bbc45253624ca2e.tar.bz2
emacs-3cccf0a9107d585173e527550bbc45253624ca2e.zip
Don’t assume openat
Use openat only on platforms with O_PATH. This ports to OS X 10.9 and earlier. Problem reported by Keith David Bershatsky in: https://lists.gnu.org/r/emacs-devel/2022-04/msg00805.html * lib-src/emacsclient.c (local_sockname): Use open, not openat. * src/sysdep.c (sys_openat): New static function, which uses openat only if O_PATH is defined. (emacs_openat): Use it instead of openat. (emacs_openat_noquit): Remove. (emacs_open_noquit): Reimplement as per the old emacs_openat_noquit, but use plain 'open'.
Diffstat (limited to 'lisp/emacs-lisp/rx.el')
0 files changed, 0 insertions, 0 deletions