]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: prefer same-inode.h
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Aug 2025 22:04:01 +0000 (15:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Aug 2025 02:48:06 +0000 (19:48 -0700)
commit5c822f4dacce3969b6edce5b03355386508aa887
treec239e9a8eadc1372d2cc285d9e3b9daa1d03a75a
parent01e4d2983a0e6a7848caae6a3a86b3a751538d1e
maint: prefer same-inode.h

This does not change behavior on POSIX platforms; it’s mostly to
make it clearer when we’re looking for file identity.
* src/cat.c (main):
* src/copy.c (struct dir_list, is_ancestor, copy_internal):
* src/tail.c (struct File_spec, record_open_fd, recheck)
(tail_forever_inotify, tail_file):
* src/test.c (binary_operator):
Use psame_inode, PSAME_INODE, or SAME_INODE instead of comparing
device and inode numbers by hand.
src/cat.c
src/copy.c
src/tail.c
src/test.c