Zack Weinberg wrote:- > + size_t mlen = strlen (macro); > + size_t elen = strlen (expansion); > + > + q = buf = xmalloc (mlen + elen + 2); Best to use alloca there I think, and avoid a leak. Neil.