ls: refactor gobble_file get_scontext
commit1f0bf8d7c4b7131c6a8762de02ea01affef4db65
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Nov 2024 01:35:49 +0000 (14 17:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Nov 2024 01:36:47 +0000 (14 17:36 -0800)
tree5e3669d1127e8d2984d9aaf374e60852bbbc570f
parentfc0ea5cb87e893f0dc4bc36d606d63c4f3317c50
ls: refactor gobble_file get_scontext

* src/ls.c (gobble_file): Simplify by pulling get_scontext
out of ‘if’.
src/ls.c