SOURCES: kdebase-xdmcp.patch (NEW) - XDMCP fix from Patryk Szczygl...

ankry ankry at pld-linux.org
Fri Dec 9 07:56:00 CET 2005


Author: ankry                        Date: Fri Dec  9 06:56:00 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- XDMCP fix from Patryk Szczyglowski

---- Files affected:
SOURCES:
   kdebase-xdmcp.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/kdebase-xdmcp.patch
diff -u /dev/null SOURCES/kdebase-xdmcp.patch:1.1
--- /dev/null	Fri Dec  9 07:56:00 2005
+++ SOURCES/kdebase-xdmcp.patch	Fri Dec  9 07:55:55 2005
@@ -0,0 +1,18 @@
+--- kdebase-orig/kdm/backend/xdmcp.c	2005-12-08 21:31:57.000000000 +0100
++++ kdebase-3.4.3/kdm/backend/xdmcp.c	2005-12-08 21:37:54.000000000 +0100
+@@ -940,7 +940,14 @@
+ 			}
+ 			DisposeProtoDisplay( pdpy );
+ 			Debug( "starting display %s,%s\n", d->name, d->class2 );
+-			StartDisplay( d );
++			if (d->status == notRunning)
++				if (LoadDisplayResources( d ) < 0 ) {
++					LogError( "Unable to read configuration for display %s; "
++							"stopping it.\n", d->name );
++					StopDisplay( d );
++				}
++				else
++					StartDisplay( d );
+ 			CloseGetter();
+ 		}
+ 	}
================================================================



More information about the pld-cvs-commit mailing list