summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump-display.c
Commit message (Collapse)AuthorAgeFilesLines
* misc: stop mixing declarations and codeSami Kerola2017-03-131-2/+2
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* hexdump: add highlighting supportOndrej Oprala2014-02-101-0/+70
| | | | | | | | | [kzak@redhat.com: - fix coding style, - use xalloc in all code, - fix strtol usage] Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* hexdump: convert a variable type according with fmtAndrew Vagin2014-01-061-6/+6
| | | | | | | | | | | | | | | | | | hexdump works uncorrectly on Rassberry Pi (raspbian wheezy): 0000000 3200000000 3400000000 3600000000 3800000000 a00000000 000000a The problem is that the %qx format is used for printing the (short int) variable. Here is the output from hexdump with this patch: 0000000 3231 3433 3635 3837 0a39 000000a Currently raspbian uses hexdump from bsdmainutils. bsdmainutils: /usr/bin/hexdump Signed-off-by: Andrew Vagin <avagin@openvz.org>
* hexdump: Create struct hexdump containing previously global variables.Ondrej Oprala2013-12-021-29/+29
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* hexdump: rename struct _fs to struct hexdump_fs and remove its typedefOndrej Oprala2013-12-021-2/+2
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* hexdump: rename struct _fu to struct hexdump_fu and remove its typedefOndrej Oprala2013-12-021-2/+2
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* hexdump: Rename struct _pr to struct hexdump_pr and remove it's typedefOndrej Oprala2013-12-021-5/+5
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* hexdump: add the prefix 'hexdump-' to {conv,display,parse}.cOndrej Oprala2013-12-021-0/+385
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>