> This is a known bug, the reason if I recall is that readline > exports xmalloc and xrealloc is to allow programs to hook their > own version into readline. So the readline maintainer has > declined any fixes for this.
This is a severe bug. It makes readline useless for any project that uses gnulib. I should note that this was from my recollection, but I agree, it is painful. Here is what Chet had to say on the topic: Re: [Bug-readline] [PATCH] hide symbols for helper xmalloc/xrealloc/xfree functions | > libreadline is exporting symbols for its internal helper | > xmalloc/xrealloc/xfree functions. These function names are | > quite common, but might not behave exactly the same way as | > readline expects. | | I want applications to have the option to override these functions if | they so choose.