[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/gdm/devel gdm-2.6.0.8-dont-malloc-in-signal-handlers.patch, NONE, 1.1 gdm.spec, 1.74, 1.75



Author: rstrode

Update of /cvs/dist/rpms/gdm/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6854

Modified Files:
	gdm.spec 
Added Files:
	gdm-2.6.0.8-dont-malloc-in-signal-handlers.patch 
Log Message:
add patch


gdm-2.6.0.8-dont-malloc-in-signal-handlers.patch:
 slave.c |   21 ---------------------
 1 files changed, 21 deletions(-)

--- NEW FILE gdm-2.6.0.8-dont-malloc-in-signal-handlers.patch ---
--- gdm-2.6.0.8/daemon/slave.c.dont-malloc-in-signal-handlers	2005-04-24 22:16:17.000000000 -0400
+++ gdm-2.6.0.8/daemon/slave.c	2005-04-24 22:47:03.000000000 -0400
@@ -4405,8 +4405,6 @@ gdm_slave_term_handler (int sig)
 	gdm_in_signal++;
 	gdm_wait_for_ack = FALSE;
 
-	gdm_debug ("gdm_slave_term_handler: %s got TERM/INT signal", d->name);
-
 	exit_code_to_use = DISPLAY_ABORT;
 	need_to_quit_after_session_stop = TRUE;
 
@@ -4460,9 +4458,6 @@ gdm_slave_alrm_handler (int sig)
 
 	gdm_in_signal++;
 
-	gdm_debug ("gdm_slave_alrm_handler: %s got ARLM signal, "
-		   "to ping display", d->name);
-
 	if G_UNLIKELY (d->dsp == NULL) {
 		gdm_in_signal --;
 		/* huh? */
@@ -4470,9 +4465,6 @@ gdm_slave_alrm_handler (int sig)
 	}
 
 	if G_UNLIKELY (in_ping) {
-		slave_start_jmp_error_to_print = 
-			g_strdup_printf (_("Ping to %s failed, whacking display!"),
-					 d->name);
 		need_to_quit_after_session_stop = TRUE;
 		exit_code_to_use = DISPLAY_REMANAGE;
 
@@ -4508,8 +4500,6 @@ gdm_slave_child_handler (int sig)
 
     gdm_in_signal++;
 
-    gdm_debug ("gdm_slave_child_handler");
-
     old = geteuid ();
     if (old != 0)
 	    seteuid (0);
@@ -4517,8 +4507,6 @@ gdm_slave_child_handler (int sig)
     while ((pid = waitpid (-1, &status, WNOHANG)) > 0) {
         GSList *li;
 
-	gdm_debug ("gdm_slave_child_handler: %d died", pid);
-
 	for (li = slave_waitpids; li != NULL; li = li->next) {
 		GdmWaitPid *wp = li->data;
 		if (wp->pid == pid) {
@@ -4529,13 +4517,6 @@ gdm_slave_child_handler (int sig)
 		}
 	}
 	
-	if (WIFEXITED (status))
-	    gdm_debug ("gdm_slave_child_handler: %d returned %d",
-		       (int)pid, (int)WEXITSTATUS (status));
-	if (WIFSIGNALED (status))
-	    gdm_debug ("gdm_slave_child_handler: %d died of %d",
-		       (int)pid, (int)WTERMSIG (status));
-
 	if (pid == d->greetpid && greet) {
 		if (WIFEXITED (status) &&
 		    WEXITSTATUS (status) == DISPLAY_RESTARTGREETER) {
@@ -4715,8 +4696,6 @@ gdm_slave_usr2_handler (int sig)
 	gdm_in_signal++;
 	in_usr2_signal++;
 
-	gdm_debug ("gdm_slave_usr2_handler: %s got USR2 signal", d->name);
-
 	gdm_slave_handle_usr2_message ();
 
 	in_usr2_signal--;


Index: gdm.spec
===================================================================
RCS file: /cvs/dist/rpms/gdm/devel/gdm.spec,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- gdm.spec	25 Apr 2005 02:57:43 -0000	1.74
+++ gdm.spec	25 Apr 2005 03:04:14 -0000	1.75
@@ -42,7 +42,7 @@
 Patch24: gdm-2.6.0.8-compensate-for-broken-dpi.patch
 Patch25: gdm-2.6.0.8-merge-resources.patch
 Patch26: gdm-2.6.0.8-boot-throbber.patch
-Patch27: gdm-2.6.0.8.dont-malloc-in-signal-handlers.patch
+Patch27: gdm-2.6.0.8-dont-malloc-in-signal-handlers.patch
 
 BuildRoot: %{_tmppath}/gdm-%{PACKAGE_VERSION}-root
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]