Comment 2 for bug 582347

Revision history for this message
Jim Blandy (jimb) wrote :

The problem is in lib-src/etags.c's function absolute_filename. If HAVE_MEMMOVE is not #defined, it uses strcpy to try to squeeze out unnecessary '/./' sequences from the path name. However, strcpy behaves unpredictably when the source and destination overlap.

The question to resolve is, why is HAVE_MEMMOVE not being #defined when this package is built by ubuntu? A properly configured 23.2 build from source gives me a working etags.