mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 06:20:23 +02:00
* readline.c (match_paren): Bugfix: First arg to select is not
number of descriptors but the number of the highest descriptor + 1. * readline.c (scm_init_readline): Added new arg to scm_init_mutex.
This commit is contained in:
parent
dd276c8eb3
commit
053f9faad7
1 changed files with 2 additions and 2 deletions
|
@ -496,7 +496,7 @@ match_paren (int x, int k)
|
|||
if (rl_point > -1)
|
||||
{
|
||||
rl_redisplay ();
|
||||
scm_internal_select (1, &readset, NULL, NULL, &timeout);
|
||||
scm_internal_select (fileno + 1, &readset, NULL, NULL, &timeout);
|
||||
}
|
||||
rl_point = tmp;
|
||||
}
|
||||
|
@ -517,7 +517,7 @@ scm_init_readline ()
|
|||
rl_readline_name = "Guile";
|
||||
|
||||
#ifdef USE_THREADS
|
||||
scm_mutex_init (&reentry_barrier_mutex);
|
||||
scm_mutex_init (&reentry_barrier_mutex, NULL);
|
||||
#endif
|
||||
scm_init_opts (scm_readline_options,
|
||||
scm_readline_opts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue