From 927905304edfcde3ed814a9d3d2e5aeae2f9a761 Mon Sep 17 00:00:00 2001 From: George Lebl Date: Wed, 23 Jul 2003 21:33:08 +0000 Subject: whack some debug messages Wed Jul 23 14:29:53 2003 George Lebl * gui/greeter/greeter.c: whack some debug messages * daemon/display.c, daemon/gdm.[ch], daemon/slave.c: open a pipe for the internal message connection rather then using the fifo. Use the fifo only as backup. This way we 1) reduce damage gdm user can cause 2) make things faster, no need to open and close the fifo on disk 20 times for each login. * daemon/gdm.c: add close notifies for the main connections and NULL the connection pointer when that happens * daemon/display.c, daemon/slave.c, daemon/server.c, daemon/misc.[ch], daemon/errorgui.c: The close_all_descriptors now takes 2 exception arguments, since we need to keep 2 fd's open for slaves now. * daemon/gdm-net.c: fix gdm_connection_open_fd (some copy/paste typos were present) * daemon/slave.c: don't run session_stop unless we already ran session_start, and cleanup send_chosen_host to use gdm_slave_send, also wrap the xioerror in gdm_in_signal as it could be --- daemon/errorgui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/errorgui.c') diff --git a/daemon/errorgui.c b/daemon/errorgui.c index 33cdb95c..ef5d831f 100644 --- a/daemon/errorgui.c +++ b/daemon/errorgui.c @@ -192,7 +192,7 @@ setup_dialog (GdmDisplay *d, const char *name, int closefdexcept) closelog (); - gdm_close_all_descriptors (0 /* from */, closefdexcept /* except */); + gdm_close_all_descriptors (0 /* from */, closefdexcept /* except */, -1 /* except2 */); /* No error checking here - if it's messed the best response * is to ignore & try to continue */ -- cgit v1.2.1