[Telepathy] [Bug 19367] time_t is assumed to be always 32bit in text-mixin

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 7 06:25:07 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=19367


Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows (All)               |All




--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2009-01-07 06:25:05 PST ---
We should confirm this by looking at the code, but I believe our assumption is
actually that time_t is *at least* 32 bits, which should be fine - it's
truncated (where necessary) when turning the C value into the D-Bus type 'u'.
We never do marshalling or pointer-arithmetic based on the assumption that
time_t is exactly 32 bits.

(Similarly, dbus-glib represents the D-Bus type 'u' with guint by assuming that
guint is at least 32 bits long.)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list