r7324 - dumbhippo/trunk/client/common/glib/glib
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r7324 - dumbhippo/trunk/client/common/glib/glib
- Date: Wed, 20 Feb 2008 15:00:48 -0600 (CST)
Author: otaylor
Date: 2008-02-20 15:00:40 -0600 (Wed, 20 Feb 2008)
New Revision: 7324
Modified:
dumbhippo/trunk/client/common/glib/glib/gstrfuncs.c
Log:
Backport GLib commit 5390 (fix g_strtoll for negative numbers) to our copy.
Modified: dumbhippo/trunk/client/common/glib/glib/gstrfuncs.c
===================================================================
--- dumbhippo/trunk/client/common/glib/glib/gstrfuncs.c 2008-02-20 20:39:16 UTC (rev 7323)
+++ dumbhippo/trunk/client/common/glib/glib/gstrfuncs.c 2008-02-20 21:00:40 UTC (rev 7324)
@@ -813,6 +813,8 @@
errno = ERANGE;
return G_MAXINT64;
}
+ else if (negative)
+ return - (gint64) result;
else
return (gint64) result;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]