/[gentoo-x86]/net-misc/networkmanager/files/networkmanager-0.8.2-fix-timestamp.patch
Gentoo

Contents of /net-misc/networkmanager/files/networkmanager-0.8.2-fix-timestamp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Aug 23 23:17:09 2011 UTC (3 years ago) by nirbheek
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Bump for the 0.9.0 release, go forth and test. Also, remove old ebuilds and unused patches.

(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)

1 From 4b022ed32bb3d729fd21d2e33483fda03c6a6333 Mon Sep 17 00:00:00 2001
2 From: Jiří Klimeš <jklimes@redhat.com>
3 Date: Tue, 23 Nov 2010 18:06:58 +0000
4 Subject: core: correct TIMESTAMP type; fixes potential crash when time() is 32bit
5
6 The Crash appeared on some platforms in glib while processing variable
7 arguments.
8 ---
9 diff --git a/src/system-settings/nm-default-wired-connection.c b/src/system-settings/nm-default-wired-connection.c
10 index 1cda3d9..0d19dea 100644
11 --- a/src/system-settings/nm-default-wired-connection.c
12 +++ b/src/system-settings/nm-default-wired-connection.c
13 @@ -163,7 +163,7 @@ constructor (GType type,
14 NM_SETTING_CONNECTION_AUTOCONNECT, TRUE,
15 NM_SETTING_CONNECTION_UUID, uuid,
16 NM_SETTING_CONNECTION_READ_ONLY, priv->read_only,
17 - NM_SETTING_CONNECTION_TIMESTAMP, time (NULL),
18 + NM_SETTING_CONNECTION_TIMESTAMP, (guint64) time (NULL),
19 NULL);
20
21 g_free (id);
22 --
23 cgit v0.8.3-6-g21f6

  ViewVC Help
Powered by ViewVC 1.1.20