HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2837b9d
)
(main): Copy cwd when appending slash.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 9 Jun 1996 19:12:26 +0000
(19:12 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 9 Jun 1996 19:12:26 +0000
(19:12 +0000)
lib-src/etags.c
patch
|
blob
|
blame
|
history
diff --git
a/lib-src/etags.c
b/lib-src/etags.c
index
3445d2d
..
3494878
100644
(file)
--- a/
lib-src/etags.c
+++ b/
lib-src/etags.c
@@
-856,8
+856,8
@@
main (argc, argv)
if (tagfile == NULL)
tagfile = CTAGS ? "tags" : "TAGS";
cwd = etags_getcwd (); /* the current working directory */
- if (cwd[strlen
(cwd)-
1] != '/')
-
strcat (cwd, "/
");
+ if (cwd[strlen
(cwd) -
1] != '/')
+
cwd = concat (cwd, "/", "
");
if (streq (tagfile, "-"))
tagfiledir = cwd;
else