From 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 10 Feb 2013 01:12:52 -0800 Subject: Sun Feb 10 01:12:35 PST 2013 --- extra/accountsservice/32bit-crash.patch | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 extra/accountsservice/32bit-crash.patch (limited to 'extra/accountsservice') diff --git a/extra/accountsservice/32bit-crash.patch b/extra/accountsservice/32bit-crash.patch deleted file mode 100644 index 87b5d308e..000000000 --- a/extra/accountsservice/32bit-crash.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 4d5166d1833e42d81b854374aa6e73f83a67a70e Mon Sep 17 00:00:00 2001 -From: Matthias Clasen -Date: Tue, 27 Nov 2012 23:30:45 +0000 -Subject: Fix a crash on 32bit systems - -The login-frequency property of the User interface is defined -as uint64 type. Therefore, when setting it with g_object_set, -a 64bit value is collected, and passing an int might lead to -bad things. -https://bugs.freedesktop.org/show_bug.cgi?id=57343 ---- -diff --git a/src/daemon.c b/src/daemon.c -index ed3a114..4d6f3ab 100644 ---- a/src/daemon.c -+++ b/src/daemon.c -@@ -207,7 +207,7 @@ daemon_local_user_is_excluded (Daemon *daemon, const gchar *username, const gcha - #ifdef HAVE_UTMPX_H - - typedef struct { -- int frequency; -+ guint64 frequency; - gint64 time; - GList *previous_logins; - } UserAccounting; --- -cgit v0.9.0.2-2-gbebe -- cgit v1.2.3-54-g00ecf