gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions.


From: Eric S. Raymond
Subject: Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions.
Date: Tue, 22 Mar 2016 12:28:00 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

Rob Norris <address@hidden>:
> strptime() is not part of the Windows C runtime,
>  thus add a minimal implementation that converts iso8601 strings only
>  (rather than a full version of strptime() from e.g. FreeBSD that handles all 
> formats).
> 
> gmtime_r() is gmtime_s() on Windows with the parameter order reversed.
> 
> TESTED:
> Forced the alternative strptime() implementation under Linux and scons 
> build-all check passes.
> [Note that iso8601_to_unix is called from at least 'test_json'.]
> gpsutils.c builds for Windows via cross compilation.

Merged.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]