Commit 29babad7 authored by Juanma Barranquero's avatar Juanma Barranquero

Fix PATH_MAX change to lib-src/emacsclient.c

* lib-src/emacsclient.c (get_current_dir_name): Declare pwdlen.
parent e8d17430
......@@ -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. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment