X Strike Force X.Org X11 SVN commit: r308 - trunk/debian/patches
Author: dnusinow
Date: 2005-07-03 16:35:28 -0500 (Sun, 03 Jul 2005)
New Revision: 308
Modified:
trunk/debian/patches/078_xdm_log_sourcing_better.diff
Log:
- Re-add comments to patch 078
Modified: trunk/debian/patches/078_xdm_log_sourcing_better.diff
===================================================================
--- trunk/debian/patches/078_xdm_log_sourcing_better.diff 2005-07-03 20:28:29 UTC (rev 307)
+++ trunk/debian/patches/078_xdm_log_sourcing_better.diff 2005-07-03 21:35:28 UTC (rev 308)
@@ -1,3 +1,21 @@
+$Id$
+
+Improve logging of xdm's script handling.
+
+* Make execution of the session program an informational log message (with
+ LogInfo()), not a Debug() message.
+* Ensure that source()d scripts (Xreset, Xsetup, Xstartup) can be
+ fopen()ed before invoking runAndWait() on them. If they can, LogInfo()
+ the fact. If they cannot, LogInfo() that, too, and use _SysErrorMsg() to
+ report why fopen() failed.
+* Make source() complain using Debug() when it is given a null pointer in
+ its file argument.
+* For clarity, make source() return from only one location.
+
+Also see Debian bug #219311.
+
+This patch by Branden Robinson.
+
diff -ruN xc-old/programs/xdm/session.c xc/programs/xdm/session.c
--- xc-old/programs/xdm/session.c 2005-07-03 15:53:54.000000000 -0400
+++ xc/programs/xdm/session.c 2005-07-03 16:00:12.000000000 -0400
Reply to: