[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH 0/5] [AIS] Modifications with potential side effec
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] [PATCH 0/5] [AIS] Modifications with potential side effects |
Date: |
Wed, 20 Jun 2012 09:17:21 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Christian Gagneraud <address@hidden>:
> A simple way to fix the problem and make everyone happy would be to
> create a gpsd_maybe_hexdump() that contains this "printable" test
> and either returns gpsd_hexdump() or the untouched buffer.
>
> Then the coders have the choice between a real hexdump
> (gpsd_hexdump) and a "clever" hexdump (gpsd_maybe_hexdump).
I reached the same conclusion last night, and just pushed the change.
The "clever" version is called gpsd_packetdump().
I guess this means you can push your test changes.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
- [gpsd-dev] [PATCH 0/5] [AIS] Modifications with potential side effects, chris, 2012/06/05
- [gpsd-dev] [PATCH 5/5] Add script to test for JSON validity, chris, 2012/06/05
- [gpsd-dev] [PATCH 1/5] gpsdecode: honor scale flag, chris, 2012/06/05
- [gpsd-dev] [PATCH 2/5] gpsd_hexdump: Always dump in hex mode, chris, 2012/06/05
- [gpsd-dev] [PATCH 3/5] json.h: Change JSON_VAL_MAX from 120 to 512, chris, 2012/06/05
- [gpsd-dev] [PATCH 4/5] Add BS talker ID (used by AIS base stations), chris, 2012/06/05
- Re: [gpsd-dev] [PATCH 0/5] [AIS] Modifications with potential side effects, Eric S. Raymond, 2012/06/05