On Sat, Aug 17, 2013 at 1:34 AM, Christian Weisgerber
<[email protected]> wrote:
> Stuart Henderson <[email protected]> wrote:
>
>> x11/nx/opennx
>
> Suggested fix below.
>
> opennx wants to write a timestamp into a configuration file, but
> the wxConfigBase framework does not deal with long long.  I've
> looked a bit into it, but all integer types are mapped to long,
> making it problematic to add support for long long.

I was thinking about adding a long long overload to wxConfigBase::Read
and wxConfigBase::Write, but you're right: it's not as quick as I
thought.

> The alternative approach is to just put the timestamp into a long.
> (Yes, this will break on 32-bit platforms in 2038.)
> Note that the existing code already crams a long long filesize into a long.
> All of this is in some smartcard handling code that may not even
> be used on OpenBSD.
>
> ok?

ok with me.

Reply via email to