| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #define READLINE_LIBRARY |
| |
| #if defined (HAVE_CONFIG_H) |
| #include <config.h> |
| #endif |
| |
| #if defined (HAVE_STDLIB_H) |
| # include <stdlib.h> |
| #else |
| # include "ansi_stdlib.h" |
| #endif |
| |
| #include <stdio.h> |
| |
| #include "xmalloc.h" |
| #include "readline.h" |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| void |
| xfree (string) |
| PTR_T string; |
| { |
| |
| if (RL_ISSTATE(RL_STATE_SIGHANDLER)) |
| return; |
| |
| if (string) |
| free (string); |
| } |