[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions.
From: |
Beat Bolli |
Subject: |
Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions. |
Date: |
Wed, 23 Mar 2016 23:35:38 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 22.03.16 17:28, Eric S. Raymond wrote:
> 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.
>
Are we now ok with malloc()?
Quoting www/protocol-evolution.txt:
> This [JSON parsers building pointer-based structures] is a problem,
> because one of my design rules for gpsd is no use of malloc.
Greetings, Beat
--
https://drbeat.li
pgp: 0x506A903A; 49D5 794A EA77 F907 764F D89E 304B 93CF 506A 903A
gsm: 4.7.7.6.0.7.7.9.7.1.4.e164.arpa
icbm: 47.0452 N, 7.2715 E
"It takes love over gold, and mind over matter" -- Dire Straits
signature.asc
Description: OpenPGP digital signature
- [gpsd-dev] [PATCH] Add Windows versions of time related functions., Rob Norris, 2016/03/21
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Eric S. Raymond, 2016/03/22
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions.,
Beat Bolli <=
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Gary E. Miller, 2016/03/23
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Beat Bolli, 2016/03/23
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Gary E. Miller, 2016/03/23
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Robert Norris, 2016/03/23
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Gary E. Miller, 2016/03/23
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Oliver Jowett, 2016/03/23
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Gary E. Miller, 2016/03/23
- Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions., Eric S. Raymond, 2016/03/23