mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-01-30 13:18:59 +01:00
Optimise -fstype NOTUSED to -false at -O2. * find/parser.c: Include mountlist.h. (insert_false): New function, inserts a -false predicate. (parse_false): Use insert_false. (is_used_fs_type): New function, determines if any mounted filesystem is of the named type. (parse_fstype): At optimisation level 2 and above, -fstpe FOO is converted to -false if no mounted filesytem is of type FOO. * find/find.1: Document this optimisation. * doc/find.texi (Optimisation Options): Likewise. * NEWS: Mention this change.