diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-10-07 22:56:29 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-10-07 22:57:12 -0700 |
commit | 7c2c117c91eeef5e7bd70c98cc7e201007016b1e (patch) | |
tree | d1078dd11347fc4d39f97f3db518d2f677f590aa /lib/getopt.in.h | |
parent | 2202952b8307f3a6407820280e94e4d979b7a122 (diff) | |
download | emacs-7c2c117c91eeef5e7bd70c98cc7e201007016b1e.tar.gz emacs-7c2c117c91eeef5e7bd70c98cc7e201007016b1e.tar.bz2 emacs-7c2c117c91eeef5e7bd70c98cc7e201007016b1e.zip |
Improve test for unreachable dirs
* src/sysdep.c (get_current_dir_name_or_unreachable):
New function, with most of the old contents of
emacs_get_current_dir_name.
(emacs_get_current_dir_name): Use it. Use a simpler
test for unreachable directory strings, and also apply
it to getcwd etc. (Bug#27871)
Diffstat (limited to 'lib/getopt.in.h')
0 files changed, 0 insertions, 0 deletions