diff options
| author | Francesco Potortì <pot@gnu.org> | 1994-06-03 11:30:57 +0000 |
|---|---|---|
| committer | Francesco Potortì <pot@gnu.org> | 1994-06-03 11:30:57 +0000 |
| commit | ddebf5f6064f0c5675909dc521e0f9c34fd7b353 (patch) | |
| tree | 65324ba10ac167061294ae81ea5f22b7ff3e6271 /lib-src | |
| parent | 647c32eb3e9ee80bae70661113f51e030c58626c (diff) | |
| download | emacs-ddebf5f6064f0c5675909dc521e0f9c34fd7b353.tar.gz | |
* 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 () } while (buf[strlen (buf) - 1] != '\n'); + buf[strlen (buf) - 1] = '\0'; return buf; } #endif /* not MSDOS */ |
