git: hexdump(1): Ignore zero st_size to work on pseudo-filesystems

Aaron LI aly at crater.dragonflybsd.org
Tue Mar 5 17:26:42 PST 2024


commit a4775f7283f5f0f51ad87f9807cc8461d8d59f8e
Author: Ricardo Branco <rbranco at suse.de>
Date:   Sun Mar 3 23:11:15 2024 +0100

    hexdump(1): Ignore zero st_size to work on pseudo-filesystems
    
    hexdump(1) was not able to skip on files residing on pseudo-filesystems,
    for example: hexdump -s1 /proc/$$/status
    
    GitHub PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/20

Summary of changes:
 usr.bin/hexdump/display.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a4775f7283f5f0f51ad87f9807cc8461d8d59f8e


-- 
DragonFly BSD source repository


More information about the Commits mailing list