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: Oliver Jowett
Subject: Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions.
Date: Thu, 24 Mar 2016 00:37:11 +0000

On 24 March 2016 at 00:28, Gary E. Miller <address@hidden> wrote:
Yeah, sort of.  Having code serving no purpose is an accident waiting to
happen.  No need for the strdup(), no need even for a strcpy(), just
operating on the passed in string is faster, simpler, clearer and thus
less likely to hide bugs.

strtok_r modifies its input.

Oliver


reply via email to

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