--- gdm-2.14.2/daemon/display.c	2006/04/21 12:38:45	1.1
+++ gdm-2.14.2/daemon/display.c	2006/04/21 12:48:35
@@ -317,6 +317,8 @@ gdm_display_manage (GdmDisplay *d)
 
 	d->slave_notify_fd = fds[0];
 
+	fcntl (d->slave_notify_fd, F_SETFL, fcntl (d->slave_notify_fd, F_GETFL) | O_NONBLOCK);
+
 	gdm_slave_start (d);
 	/* should never retern */
 
--- gdm-2.14.2/daemon/slave.c	2006/04/26 01:05:37	1.1
+++ gdm-2.14.2/daemon/slave.c	2006/04/26 01:05:51
@@ -4758,7 +4758,7 @@ static void
 gdm_slave_handle_usr2_message (void)
 {
 	char buf[256];
-	size_t count;
+	ssize_t count;
 	char **vec;
 	int i;
 
