rpms/gdm/FC-4 gdm-2.6.0.8-dont-fallback.patch, NONE, 1.1 gdm.spec, 1.85, 1.86

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jan 25 15:33:38 UTC 2006


Author: rstrode

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

Modified Files:
	gdm.spec 
Added Files:
	gdm-2.6.0.8-dont-fallback.patch 
Log Message:
- fix occasional crash (bug 160603)


gdm-2.6.0.8-dont-fallback.patch:
 greeter.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE gdm-2.6.0.8-dont-fallback.patch ---
--- gdm-2.6.0.8/gui/greeter/greeter.c.dont-fallback	2006-01-25 10:30:52.000000000 -0500
+++ gdm-2.6.0.8/gui/greeter/greeter.c	2006-01-25 10:31:29.000000000 -0500
@@ -681,14 +681,13 @@
 		      GIOCondition cond,
 		      gint fd)
 {
-    gchar buf[PIPE_SIZE];
+    gchar buf[PIPE_SIZE] = { 0 };
     gsize len;
 
     /* If this is not incoming i/o then return */
     if (cond != G_IO_IN) 
         return TRUE;
 
-    buf[0] = '\0';
     if (g_io_channel_read_chars (source, buf, PIPE_SIZE -1, &len, NULL) 
         != G_IO_STATUS_NORMAL)
         return TRUE;


Index: gdm.spec
===================================================================
RCS file: /cvs/dist/rpms/gdm/FC-4/gdm.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- gdm.spec	23 May 2005 18:48:45 -0000	1.85
+++ gdm.spec	25 Jan 2006 15:33:35 -0000	1.86
@@ -16,7 +16,7 @@
 Summary: The GNOME Display Manager.
 Name: gdm
 Version: 2.6.0.8
-Release: 16
+Release: 16.fc4
 Epoch: 1
 License: LGPL/GPL
 Group: User Interface/X
@@ -46,6 +46,7 @@
 Patch28: gdm-2.6.0.8-xdmcp.patch
 Patch29: gdm-2.6.0.8-fix-halt-command.patch
 Patch30: gdm-2.6.0.8-process-all-messages.patch
+Patch31: gdm-2.6.0.8-dont-fallback.patch
 
 BuildRoot: %{_tmppath}/gdm-%{PACKAGE_VERSION}-root
 
@@ -117,6 +118,7 @@
 %patch28 -p1 -b .xdmcp
 %patch29 -p1 -b .fix-halt-command
 %patch30 -p1 -b .process-all-messages
+%patch31 -p1 -b .dont-fallback
 
 # fix the time format for ja
 perl -pi -e "s|^msgstr \"%a %b %d, %H:%M\"|msgstr \"%m/%d \(%a\) %H:%M\"|; s|^msgstr \"%a %b %d, %I:%M %p\"|msgstr \"%m/%d \(%a\) %p %I:%M\"|" po/ja.po
@@ -288,6 +290,9 @@
 %attr(1770, root, gdm) %dir %{_localstatedir}/gdm
 
 %changelog
+* Wed Jan 25 2006 Ray Strode <rstrode at redhat.com> 1:2.6.0.8-16.fc4
+- fix occasional crash (bug 160603)
+
 * Mon May 23 2005 Ray Strode <rstrode at redhat.com> 1:2.6.0.8-16
 - Make sure username/password incorrect message gets displayed
   (bug 158127).




More information about the fedora-cvs-commits mailing list