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