# HG changeset patch # User Stefan Monnier # Date 1055710845 0 # Node ID 904f120f283f6517ea39da9bdfbacce81d70052c # Parent 5bc2bb8c1fef246e0e886fe25576344e1d82d50e (dos_rawgetc): Don't pass uninitialized data to kbd_buffer_store_event. diff -r 5bc2bb8c1fef -r 904f120f283f src/msdos.c --- a/src/msdos.c Sun Jun 15 20:59:24 2003 +0000 +++ b/src/msdos.c Sun Jun 15 21:00:45 2003 +0000 @@ -1,5 +1,5 @@ /* MS-DOS specific C utilities. -*- coding: raw-text -*- - Copyright (C) 1993, 94, 95, 96, 97, 1999, 2000, 2001 + Copyright (C) 1993, 94, 95, 96, 97, 1999, 2000, 01, 2003 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -3130,7 +3130,8 @@ struct input_event event; union REGS regs; struct display_info *dpyinfo = FRAME_X_DISPLAY_INFO (SELECTED_FRAME()); - + EVENT_INIT (event); + #ifndef HAVE_X_WINDOWS /* Maybe put the cursor where it should be. */ IT_cmgoto (SELECTED_FRAME());