diff options
| author | Eli Zaretskii | 2019-04-15 18:05:52 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-04-15 18:05:52 +0300 |
| commit | 70ec3928666353b69efae1bdc831d704fa505e72 (patch) | |
| tree | b84519a00dbfbe4943fd19d0f6d5aff58d0ddd19 /lisp | |
| parent | 7a608fc6f3ded3e615e7accb29f16bfd290d80a1 (diff) | |
| download | emacs-70ec3928666353b69efae1bdc831d704fa505e72.tar.gz emacs-70ec3928666353b69efae1bdc831d704fa505e72.zip | |
Fix the MSDOS build when running under CWSDPMI
* src/msdos.c (the_only_tty_output): Define.
* src/msdos.h (the_only_tty_output): Declare.
* src/frame.c (make_terminal_frame) [MSDOS]:
* src/dispnew.c (init_display) [MSDOS]: Set up
f->output_data.tty pointer using the_only_tty_output, before
dereferencing the pointer. This prevents crashes with DPMI
servers that provide NULL pointer protection.
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions