diff options
| author | Eli Zaretskii | 2013-06-03 22:28:13 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-06-03 22:28:13 +0300 |
| commit | 9337e20653c80e332555d109b945180cf41171fa (patch) | |
| tree | c8aa352b0b5eeb3d9e23ebd571ed1bfefcafb925 /src/ChangeLog | |
| parent | 7f203aa1fde2bc9ec43aa05a939525cdab149832 (diff) | |
| download | emacs-9337e20653c80e332555d109b945180cf41171fa.tar.gz emacs-9337e20653c80e332555d109b945180cf41171fa.zip | |
Fix crashes in a text-mode session on Windows.
src/w32console.c (initialize_w32_display): Return the dimensions of
the console window via 2 additional arguments, not via the current
frame. This avoids crashes due to overrunning the bounds of
frame's decode_mode_spec_buffer, which is not resized following
the change of the frame dimensions from the initial 10x10.
src/w32term.h (w32_initialize_display_info): Adjust prototype.
src/term.c (init_tty): Take dimensions of the frame from the values
returned by initialize_w32_display.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 491e5c38617..7fdd456c9a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> | 1 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * w32console.c (initialize_w32_display): Return the dimensions of | ||
| 4 | the console window via 2 additional arguments, not via the current | ||
| 5 | frame. This avoids crashes due to overrunning the bounds of | ||
| 6 | frame's decode_mode_spec_buffer, which is not resized following | ||
| 7 | the change of the frame dimensions from the initial 10x10. | ||
| 8 | |||
| 9 | * w32term.h (w32_initialize_display_info): Adjust prototype. | ||
| 10 | |||
| 11 | * term.c (init_tty): Take dimensions of the frame from the values | ||
| 12 | returned by initialize_w32_display. | ||
| 13 | |||
| 3 | * Makefile.in (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): New variables. | 14 | * Makefile.in (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): New variables. |
| 4 | (ALL_CFLAGS): Add $(GFILENOTIFY_CFLAGS). | 15 | (ALL_CFLAGS): Add $(GFILENOTIFY_CFLAGS). |
| 5 | (LIBES): Add $(GFILENOTIFY_LIBS). | 16 | (LIBES): Add $(GFILENOTIFY_LIBS). |