summaryrefslogtreecommitdiff
path: root/hex.c
Commit message (Collapse)AuthorAgeFilesLines
* don't return NULL when passed a NULL pointer or a zero-length buffer;Chris Kuethe2007-06-041-2/+2
| | | | | | | | instead, return an empty string. this sort of thing happens when we call gpsd_hexdump inside one of the packet writers when we are about to write a packet with no payload. Printing a NULL pointer is rather ugly... printing an empty string is much prettier and consistent with the SQUELCH case.
* shift blame... passing in a NULL gets you a NULL back.Chris Kuethe2007-04-141-0/+3
| | | | calling functions should be more careful
* too much thinking about regexes i think. hex use a-f, not a-z.Chris Kuethe2007-03-271-4/+4
|
* Add $Id$ tagChris Kuethe2006-12-051-0/+1
|
* Break up some modules a little finer, in support of some Python bindings.Eric S. Raymond2006-12-041-0/+76
All regression tests pass. No logic changes.