Follow-up Comment #6, patch #9754 (group findutils): [comment #5 comment #5:] > So this patch should at least anticipate subsequent additional > implementations for other operating systems.
What would that look like?
I can see two places where my patchset currently makes an unchecked assumption
of Linux:
* The definitions of attr_to_flag() and attr_to_rate() in find/parser.c.
* The definition of get_iflags() in find/util.c.
Those three function definitions should additionally be guarded by #if
HAVE_LINUX_FS_H so that they would not apply on other systems where
HAVE_INODE_FLAGS might become true in the future. (Those systems would need
their own implementations of these three functions.)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?9754>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
