git: DragonFly_RELEASE_5_8 tail(1): fix misbehaviour on pseudo filesystems

Daniel Fojt deef at crater.dragonflybsd.org
Fri Jul 3 01:37:50 PDT 2020


commit 6e3a25f7f3c5af702ab462e425f9ac55a90036a6
Author: Daniel Fojt <df at neosystem.org>
Date:   Wed Jun 17 08:56:17 2020 +0200

    tail(1): fix misbehaviour on pseudo filesystems
    
    When processing regular zero-sized files, use display_lines() instead of
    rlines(). This fixes tail(1) behaviour with files on pseudo filesystems
    (like procfs) which are often reported to have zero size while having
    a content.
    
    Issue: https://bugs.dragonflybsd.org/issues/3034

Summary of changes:
 usr.bin/tail/forward.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e3a25f7f3c5af702ab462e425f9ac55a90036a6


-- 
DragonFly BSD source repository



More information about the Commits mailing list