]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: prefer FTS_ROOTLEVEL when checking the fts_level of an FTSENT
authorCollin Funk <collin.funk1@gmail.com>
Mon, 27 Oct 2025 00:00:03 +0000 (17:00 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Mon, 27 Oct 2025 23:56:01 +0000 (16:56 -0700)
commitdfcf92e96c44906c2387c491a53fd159ac9842a4
tree702c1e44edbabe7a6b5b742f1ed4893642d223c8
parentdac96ce3e3a2424919fea6a17978b6e91e575d86
maint: prefer FTS_ROOTLEVEL when checking the fts_level of an FTSENT

* src/chcon.c (process_file): Use FTS_ROOTLEVEL instead of 0.
* src/chmod.c (process_file): Likewise.
* src/chown-core.c (change_file_owner): Likewise.
src/chcon.c
src/chmod.c
src/chown-core.c