# HG changeset patch # User Francesco Potort # Date 770643057 0 # Node ID 4c63040423a8b606d09662fb8375679701de6311 # Parent f9cde332098701962e2c0666b498b1e2b4264863 * etags.c (etags_getcwd): Delete the trailing newline from cwd. diff -r f9cde3320987 -r 4c63040423a8 lib-src/etags.c --- a/lib-src/etags.c Fri Jun 03 04:50:17 1994 +0000 +++ b/lib-src/etags.c Fri Jun 03 11:30:57 1994 +0000 @@ -3169,6 +3169,7 @@ } while (buf[strlen (buf) - 1] != '\n'); + buf[strlen (buf) - 1] = '\0'; return buf; } #endif /* not MSDOS */