git: gencat(1): Specially handle "/dev/stdin" to not require devfs

Aaron LI aly at crater.dragonflybsd.org
Sun Mar 29 06:55:25 PDT 2026


commit d4f1fe27fa4c0a4297aeec972b34cd6157a3b84c
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Mar 29 21:48:47 2026 +0800

    gencat(1): Specially handle "/dev/stdin" to not require devfs
    
    gencat(1) is a bootstrap tool, so dealing with "/dev/stdin" specially
    makes it work within a chroot without devfs.
    
    After this change, building and installing the source now work inside a
    chroot that does not mount devfs.
    
    While there, minor whitespace cleanups, and remove a legacy ex modeline.

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

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list