diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2019-06-26 02:05:53 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2019-06-26 02:05:53 +0200 |
commit | 29babad7286bff235407e883a4ff61bae49a2e5e (patch) | |
tree | 6d6072914083fdad1e54c27fe089719b7a3380d7 /lib-src | |
parent | e8d174304a99baef2da456e973d955005455507e (diff) | |
download | emacs-29babad7286bff235407e883a4ff61bae49a2e5e.tar.gz |
Fix PATH_MAX change to lib-src/emacsclient.c
* lib-src/emacsclient.c (get_current_dir_name): Declare pwdlen.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/emacsclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 6c806fb5830..39dd10e7fb1 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -253,6 +253,7 @@ get_current_dir_name (void) char *buf; struct stat dotstat, pwdstat; + size_t pwdlen; /* If PWD is accurate, use it instead of calling getcwd. PWD is sometimes a nicer name, and using it may avoid a fatal error if a parent directory is searchable but not readable. */ |