diff options
author | msvensson@neptunus.(none) <> | 2005-04-19 13:12:19 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-04-19 13:12:19 +0200 |
commit | 4a4c9017add2b693c64526b5f46181c128459d5b (patch) | |
tree | c915738867032bf72eb6dc691740741a35c15d80 /cmd-line-utils/readline/xmalloc.c | |
parent | d5646eb6c5c7155abc3978734db9d6040c28df72 (diff) | |
download | mariadb-git-4a4c9017add2b693c64526b5f46181c128459d5b.tar.gz |
BUG#9568 mysql segfaults from CTRL-R
- Segfault because of passing a 64-bit pointer to 32 bit integer.
- Add new include config_readline.h which will calculate some new defines
based on what is found in config.h
- This file was originally included in readline 4.3 as config.h.in, only the part that
makes new defines have been moved to this file.
Diffstat (limited to 'cmd-line-utils/readline/xmalloc.c')
-rw-r--r-- | cmd-line-utils/readline/xmalloc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd-line-utils/readline/xmalloc.c b/cmd-line-utils/readline/xmalloc.c index 8985d340d39..698807addf9 100644 --- a/cmd-line-utils/readline/xmalloc.c +++ b/cmd-line-utils/readline/xmalloc.c @@ -20,9 +20,7 @@ Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ #define READLINE_LIBRARY -#if defined (HAVE_CONFIG_H) -#include <config.h> -#endif +#include "config_readline.h" #include <stdio.h> |