aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJuanma Barranquero2019-06-26 02:05:53 +0200
committerJuanma Barranquero2019-06-26 02:05:53 +0200
commit29babad7286bff235407e883a4ff61bae49a2e5e (patch)
tree6d6072914083fdad1e54c27fe089719b7a3380d7 /lib-src
parente8d174304a99baef2da456e973d955005455507e (diff)
downloademacs-29babad7286bff235407e883a4ff61bae49a2e5e.tar.gz
emacs-29babad7286bff235407e883a4ff61bae49a2e5e.zip
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.c1
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)
253 253
254 char *buf; 254 char *buf;
255 struct stat dotstat, pwdstat; 255 struct stat dotstat, pwdstat;
256 size_t pwdlen;
256 /* If PWD is accurate, use it instead of calling getcwd. PWD is 257 /* If PWD is accurate, use it instead of calling getcwd. PWD is
257 sometimes a nicer name, and using it may avoid a fatal error if a 258 sometimes a nicer name, and using it may avoid a fatal error if a
258 parent directory is searchable but not readable. */ 259 parent directory is searchable but not readable. */