Follow-up Comment #2, bug #26281 (project findutils):
There is a second alternative interpretation of events, I think. The POSIX
description for -depth is:
-depth
The primary shall always evaluate as true; it shall cause descent of the
directory hierarchy to be done so that all entries in a directory are acted on
before the directory itself. If a -depth primary is not specified, all entries
in a directory shall be acted on after the directory itself. If any -depth
primary is specified, it shall apply to the entire expression even if the
-depth primary would not normally be evaluated.
One reading of this is that the paragraph above only requires that
"dir/m4/Makefile.am" and "dir/Makefile.am" are both processed before "dir"
itself, but that no guarantee need be made about the relative ordering of the
visits to the two files.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26281>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/