rpms/gdm/devel gdm-2.21.9-signal.patch, NONE, 1.1 gdm.spec, 1.338, 1.339
David Woodhouse (dwmw2)
fedora-extras-commits at redhat.com
Fri Mar 7 08:31:50 UTC 2008
- Previous message (by thread): comps comps-f9.xml.in,1.293,1.294
- Next message (by thread): rpms/gcc/devel .cvsignore, 1.227, 1.228 gcc43.spec, 1.20, 1.21 sources, 1.229, 1.230 gcc43-baselist-update.patch, 1.2, NONE gcc43-pr34964.patch, 1.1, NONE gcc43-pr35028.patch, 1.1, NONE gcc43-pr35078.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dwmw2
Update of /cvs/pkgs/rpms/gdm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28223
Modified Files:
gdm.spec
Added Files:
gdm-2.21.9-signal.patch
Log Message:
fix endianness breakage
gdm-2.21.9-signal.patch:
--- NEW FILE gdm-2.21.9-signal.patch ---
--- gdm-2.21.9/common/gdm-signal-handler.c~ 2008-02-04 21:20:41.000000000 +0000
+++ gdm-2.21.9/common/gdm-signal-handler.c 2008-03-06 15:41:46.000000000 +0000
@@ -220,6 +220,7 @@ signal_handler (int signo)
{
static int in_fatal = 0;
int ignore;
+ guchar signo_byte = signo;
/* avoid loops */
if (in_fatal > 0) {
@@ -244,12 +245,12 @@ signal_handler (int signo)
g_warning ("Caught signal %d, shutting down abnormally. Generating backtrace...", signo);
gdm_signal_handler_backtrace ();
- ignore = write (signal_pipes [1], (guchar *)&signo, 1);
+ ignore = write (signal_pipes [1], &signo_byte, 1);
break;
default:
--in_fatal;
/* FIXME: should probably use int32 here */
- ignore = write (signal_pipes [1], (guchar *)&signo, 1);
+ ignore = write (signal_pipes [1], &signo_byte, 1);
break;
}
}
Index: gdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/devel/gdm.spec,v
retrieving revision 1.338
retrieving revision 1.339
diff -u -r1.338 -r1.339
--- gdm.spec 4 Mar 2008 04:37:14 -0000 1.338
+++ gdm.spec 7 Mar 2008 08:31:15 -0000 1.339
@@ -19,7 +19,7 @@
Summary: The GNOME Display Manager
Name: gdm
Version: 2.21.9
-Release: 0.2008.02.29.2%{?dist}
+Release: 0.2008.02.29.3%{?dist}
Epoch: 1
License: GPLv2+
Group: User Interface/X
@@ -91,6 +91,7 @@
Patch0: gdm-2.21.9-dont-steal-all-keypresses.patch
Patch1: gdm-2.21.9-check-capslock-state-not-capslock-light-state.patch
+Patch2: gdm-2.21.9-signal.patch
Patch99: gdm-2.21.8-fedora-logo.patch
@@ -114,7 +115,7 @@
%patch0 -p1 -b .dont-steal-all-keypresses
%patch1 -p1 -b .check-capslock-state-not-capslock-light-state
-
+%patch2 -p1 -b .signal
%patch99 -p1 -b .fedora-logo
@@ -310,6 +311,9 @@
%{_datadir}/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml
%changelog
+* Fri Mar 7 2008 David Woodhouse <dwmw2 at redhat.com> - 1:2.21.9-0.2008.02.29.3
+- Fix endianness breakage in signal pipes (#436333)
+
* Mon Mar 3 2008 Ray Strode <rstrode at redhat.com> - 1:2.21.9-0.2008.02.29.2
- Be more explicit in file list; use less globs
- Don't package user-switcher in both packages!
- Previous message (by thread): comps comps-f9.xml.in,1.293,1.294
- Next message (by thread): rpms/gcc/devel .cvsignore, 1.227, 1.228 gcc43.spec, 1.20, 1.21 sources, 1.229, 1.230 gcc43-baselist-update.patch, 1.2, NONE gcc43-pr34964.patch, 1.1, NONE gcc43-pr35028.patch, 1.1, NONE gcc43-pr35078.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list