diff options
| author | Francesco Potortì | 1994-06-03 11:30:57 +0000 |
|---|---|---|
| committer | Francesco Potortì | 1994-06-03 11:30:57 +0000 |
| commit | ddebf5f6064f0c5675909dc521e0f9c34fd7b353 (patch) | |
| tree | 65324ba10ac167061294ae81ea5f22b7ff3e6271 /lib-src | |
| parent | 647c32eb3e9ee80bae70661113f51e030c58626c (diff) | |
| download | emacs-ddebf5f6064f0c5675909dc521e0f9c34fd7b353.tar.gz emacs-ddebf5f6064f0c5675909dc521e0f9c34fd7b353.zip | |
* etags.c (etags_getcwd): Delete the trailing newline from cwd.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 6c480f4b719..ce54badb3a0 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -3169,6 +3169,7 @@ etags_getcwd () | |||
| 3169 | 3169 | ||
| 3170 | } while (buf[strlen (buf) - 1] != '\n'); | 3170 | } while (buf[strlen (buf) - 1] != '\n'); |
| 3171 | 3171 | ||
| 3172 | buf[strlen (buf) - 1] = '\0'; | ||
| 3172 | return buf; | 3173 | return buf; |
| 3173 | } | 3174 | } |
| 3174 | #endif /* not MSDOS */ | 3175 | #endif /* not MSDOS */ |