douglis%sprite.Berkeley.EDU@GINGER.BERKELEY.EDU (Fred Douglis) (08/27/89)
In GNU Emacs 18.54.26 of Fri Aug 11 1989 on kvetching.Berkeley.EDU (sprite) There's a bug in etags.c, where if ETAGS and CTAGS are not defined it tries to pick a reasonable default. This doesn't come up in normal emacs installations because etags is made with -DETAGS, but here we have etags in its own source area and I didn't define that. Then I wondered why saying "etags" produced "tags" instead of "TAGS". The problem is in the check for ctags. I don't know if the intent is to be etags unless invoked explicitly as ctags, or vice-versa, so I chose the former. I didn't see this fix in 18.55. Fred diff -c -r1.1 etags.c *** /tmp/,RCSt1787023 Sat Aug 26 13:27:03 1989 --- etags.c Sat Aug 26 13:24:59 1989 *************** *** 263,269 **** char *subname = rindex (progname, '/'); if (subname++ == NULL) subname = progname; ! eflag = ! strcmp(subname, "ctags"); } #endif #endif --- 263,269 ---- char *subname = rindex (progname, '/'); if (subname++ == NULL) subname = progname; ! eflag = strcmp(subname, "ctags"); } #endif #endif