* auto-load.c (auto_load_info_scripts): Remove immediate_quit increment
	and decrement.
This commit is contained in:
Jan Kratochvil 2012-07-26 18:21:50 +00:00
parent f725daa870
commit 7cfe01b4b3
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-07-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* auto-load.c (auto_load_info_scripts): Remove immediate_quit increment
and decrement.
2012-07-26 Tom Tromey <tromey@redhat.com>
* copying.c: Rebuild.

View file

@ -916,11 +916,9 @@ auto_load_info_scripts (char *pattern, int from_tty,
{
struct collect_matching_scripts_data data = { &scripts, language };
immediate_quit++;
/* Pass a pointer to scripts as VEC_safe_push can realloc space. */
htab_traverse_noresize (pspace_info->loaded_scripts,
collect_matching_scripts, &data);
immediate_quit--;
}
nr_scripts = VEC_length (loaded_script_ptr, scripts);