Re: [PATCH] Skip identical lines in hexdump

2009-02-02 Thread Christian Franke
Christian Franke wrote: This skips identical lines in hexdump output, like 'od' or 'xxd -a' also do. Committed. Christian ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Skip identical lines in hexdump

2009-01-30 Thread Christian Franke
This skips identical lines in hexdump output, like 'od' or 'xxd -a' also do. Christian PS: I would suggest to change hexdump 'buf' parameter from 'char *' to 'const void *' to avoid unnecessary casts. 2009-01-30 Christian Franke * lib/hexdump.c (hexdump): Print at most 3 lines if