Re: hexdump(1) - bug when skip == sb.st_size

2016-02-08 Thread Ingo Schwarze
Hi, Michal Mazurek wrote on Mon, Feb 08, 2016 at 02:11:19PM +0100: > When running > hexdump -s $NUM file > where NUM is the size of the file, hexdump will print the entire file, > instead of skipping over the content. This looks correct and works for me. OK to commit? Ingo > "od -j $N

hexdump(1) - bug when skip == sb.st_size

2016-02-08 Thread Michal Mazurek
When running hexdump -s $NUM file where NUM is the size of the file, hexdump will print the entire file, instead of skipping over the content. "od -j $NUM" has the same issue. Index: display.c === RCS file: /cvs/src/usr.bin/h