* alloc.c (gc_sweep): Don't read past end of array.
[bpt/emacs.git] / src / ChangeLog
index 52b6bf1..386ed43 100644 (file)
@@ -1,3 +1,120 @@
+2011-07-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * alloc.c (gc_sweep): Don't read past end of array.
+       In theory, the old code could also have corrupted Emacs internals,
+       though it'd be very unlikely.
+
+2011-07-12  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * character.c (Fcharacterp): Don't advertise optional ignored
+       argument. (Bug#4026)
+
+2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * keymap.c (syms_of_keymap): Clarify that "modifier" is "modifier
+       key" (bug#4257).
+
+       * window.c (Fset_window_start): Doc fix (bug#4199).
+       (Fset_window_hscroll): Ditto.
+
+2011-07-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix minor new problems caught by GCC 4.6.1.
+       * term.c (init_tty): Remove unused local.
+       * xsettings.c (store_monospaced_changed): Define this function only
+       if (defined HAVE_GSETTINGS || defined HAVE_GCONF), as it's
+       not used otherwise.
+
+2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (Vresize_mini_windows): Minor doc fix (Bug#3300).
+
+2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * xdisp.c (syms_of_xdisp): Make it explicit that the mini-windows
+       are the mini-buffer and the echo area (bug#3320).
+
+       * term.c (init_tty): Remove support for supdup, c10 and perq
+       terminals, which are no longer supported (bug#1482).
+
+2011-07-10  Johan Bockgård  <bojohan@gnu.org>
+
+       * xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.
+
+2011-07-10  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (menu_highlight_callback): Only pass frame to show_help_event
+       for non-popups (Bug#3642).
+
+2011-07-10  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * alloc.c (reset_malloc_hooks): Protoize.
+       * buffer.c (mmap_init, mmap_find, mmap_free_1, mmap_enlarge)
+       (mmap_set_vars, mmap_alloc, mmap_free, mmap_realloc): Likewise.
+       * cm.c (losecursor): Likewise.
+       * data.c (fmod): Likewise.
+       * dispnew.c (swap_glyphs_in_rows): Likewise.
+       * emacs.c (memory_warning_signal): Likewise.
+       * floatfns.c (float_error): Likewise.
+       * font.c (check_gstring, check_otf_features, otf_tag_symbol)
+       (otf_open, font_otf_capability, generate_otf_features)
+       (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
+       Likewise.
+       * image.c (pbm_read_file): Likewise.
+       * indent.c (string_display_width): Likewise.
+       * intervals.c (check_for_interval, search_for_interval)
+       (inc_interval_count, count_intervals, root_interval)
+       (adjust_intervals_for_insertion, make_new_interval): Likewise.
+       * lread.c (defalias): Likewise.
+       * ralloc.c (r_alloc_check): Likewise.
+       * regex.c (set_image_of_range_1, set_image_of_range)
+       (regex_grow_registers): Likewise.
+       * sysdep.c (strerror): Likewise.
+       * termcap.c (valid_filename_p, tprint, main): Likewise.
+       * tparam.c (main): Likewise.
+       * unexhp9k800.c (run_time_remap, save_data_space)
+       (update_file_ptrs, read_header, write_header, calculate_checksum)
+       (copy_file, copy_rest, display_header): Likewise.
+       * widget.c (mark_shell_size_user_specified, create_frame_gcs):
+       Likewise.
+       * xdisp.c (check_it): Likewise.
+       * xfaces.c (register_color, unregister_color, unregister_colors):
+       Likewise.
+       * xfns.c (print_fontset_result): Likewise.
+       * xrdb.c (member, fatal, main): Likewise.
+
+2011-07-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix minor problems found by static checking (Bug#9031).
+       * chartab.c (char_table_set_range, map_sub_char_table):
+       Remove unused locals.
+       (uniprop_table): Now static.
+       * composite.c (_work_char): Remove unused static var.
+
+2011-07-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * chartab.c (uniprop_table_uncompress): Remove unused local variable.
+
+2011-07-09  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (qttip_cb): Remove code without function.
+
+2011-07-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (pthread_sigmask): New stub.
+
+2011-07-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Use pthread_sigmask, not sigprocmask (Bug#9010).
+       sigprocmask is portable only for single-threaded applications, and
+       Emacs can be multi-threaded when it uses GTK.
+       * Makefile.in (LIB_PTHREAD_SIGMASK): New macro.
+       (LIBES): Use it.
+       * callproc.c (Fcall_process):
+       * process.c (create_process):
+       * sysdep.c (sys_sigblock, sys_sigunblock, sys_sigsetmask):
+       Use pthread_sigmask, not sigprocmask.
+
 2011-07-08  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (qttip_cb): Set line wrap to FALSE for tooltip widget.