# HG changeset patch # User Andreas Schwab # Date 1209293077 0 # Node ID 5901a9d70af5e20d3bab4ee68fde1eb5c171494e # Parent ba1aba1fd255e2f9636f9a288f39136903a79c9f (XTread_socket): Fix use of uninitialized variable. diff -r ba1aba1fd255 -r 5901a9d70af5 src/ChangeLog --- a/src/ChangeLog Sun Apr 27 10:21:48 2008 +0000 +++ b/src/ChangeLog Sun Apr 27 10:44:37 2008 +0000 @@ -1,5 +1,7 @@ 2008-04-27 Andreas Schwab + * xterm.c (XTread_socket): Fix use of uninitialized variable. + * puresize.h (BASE_PURESIZE): Increase to 1200000. 2008-04-26 Eli Zaretskii diff -r ba1aba1fd255 -r 5901a9d70af5 src/xterm.c --- a/src/xterm.c Sun Apr 27 10:21:48 2008 +0000 +++ b/src/xterm.c Sun Apr 27 10:44:37 2008 +0000 @@ -7329,7 +7329,9 @@ int count = 0; XEvent event; int event_found = 0; +#if 0 struct x_display_info *dpyinfo; +#endif if (interrupt_input_blocked) { @@ -7366,7 +7368,7 @@ if (terminal->display_info.x == XTread_socket_fake_io_error) { XTread_socket_fake_io_error = 0; - x_io_error_quitter (dpyinfo->display); + x_io_error_quitter (terminal->display_info.x->display); } #if 0 /* This loop is a noop now. */