signals.c (readline-7.0-rc1) | : | signals.c (readline-7.0-rc2) | ||
---|---|---|---|---|
/* signals.c -- signal handling support for readline. */ | /* signals.c -- signal handling support for readline. */ | |||
/* Copyright (C) 1987-2015 Free Software Foundation, Inc. | /* Copyright (C) 1987-2016 Free Software Foundation, Inc. | |||
This file is part of the GNU Readline Library (Readline), a library | This file is part of the GNU Readline Library (Readline), a library | |||
for reading lines of text with interactive input and history editing. | for reading lines of text with interactive input and history editing. | |||
Readline is free software: you can redistribute it and/or modify | Readline is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation, either version 3 of the License, or | the Free Software Foundation, either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
Readline is distributed in the hope that it will be useful, | Readline is distributed in the hope that it will be useful, | |||
skipping to change at line 588 | skipping to change at line 588 | |||
entry = current_history (); | entry = current_history (); | |||
if (entry) | if (entry) | |||
entry->data = (char *)NULL; | entry->data = (char *)NULL; | |||
_rl_kill_kbd_macro (); | _rl_kill_kbd_macro (); | |||
rl_clear_message (); | rl_clear_message (); | |||
_rl_reset_argument (); | _rl_reset_argument (); | |||
} | } | |||
int | ||||
rl_pending_signal () | ||||
{ | ||||
return (_rl_caught_signal); | ||||
} | ||||
#endif /* HANDLE_SIGNALS */ | #endif /* HANDLE_SIGNALS */ | |||
/* **************************************************************** */ | /* **************************************************************** */ | |||
/* */ | /* */ | |||
/* SIGINT Management */ | /* SIGINT Management */ | |||
/* */ | /* */ | |||
/* **************************************************************** */ | /* **************************************************************** */ | |||
#if defined (HAVE_POSIX_SIGNALS) | #if defined (HAVE_POSIX_SIGNALS) | |||
static sigset_t sigint_set, sigint_oset; | static sigset_t sigint_set, sigint_oset; | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 6 lines changed or added |