gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] [PATCH]: Move pointer the correct direction when trying to sk


From: Matt
Subject: [gpsd-dev] [PATCH]: Move pointer the correct direction when trying to skip spaces
Date: Fri, 23 Jan 2015 19:25:00 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

gpsd_set_century attempts to skip optional whitespace in its input, but it does so by decrementing its pointer, when it should instead be incrementing it.

Eric, I feel this one should make the snap release. It's trivial, isolated from other code, and I hope is "obviously correct".

I have further patches in my queue, which I'm sending shortly, but which I don't think should necessarily go in the current snap release. None of them is critical.

Attachment: fix-decrement-increment-pointer.patch
Description: Text Data


reply via email to

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