Fix PATH_MAX change to lib-src/emacsclient.c
* lib-src/emacsclient.c (get_current_dir_name): Declare pwdlen.
This commit is contained in:
parent
e8d174304a
commit
29babad728
1 changed files with 1 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue