diff options
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) | |||
| 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. */ |