]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: revise the code disabling hyperlinks
authorMasatake YAMATO <yamato@redhat.com>
Sat, 30 Aug 2025 18:18:32 +0000 (03:18 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 1 Sep 2025 02:51:02 +0000 (11:51 +0900)
commitf7fb89d957e5a022f27b7dff573e3256dba2c0f2
tree548d2240a4cb6cfec2057def9ac4404493a60928
parentc42f264120d9c12bdf4df0b31481b49b33540f68
lsfd: revise the code disabling hyperlinks

In the original code, the code was at file.c.  This change lifts up
the code to upper layer.  As a result the fill_column method of struct
file becomes simple.

As a side effect. this change disables hyperlinks for the entries of
UNKN type (e.g. eventpool, or pidfd). This is a bug fix.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
lsfd-cmd/bdev.c
lsfd-cmd/cdev.c
lsfd-cmd/fifo.c
lsfd-cmd/file.c
lsfd-cmd/lsfd.c
lsfd-cmd/lsfd.h
lsfd-cmd/sock.c
lsfd-cmd/unkn.c
tests/expected/lsfd/option-hyperlink-UNKN-type-file [new file with mode: 0644]
tests/ts/lsfd/option-hyperlink