Re: [AD] for_each_file not working

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bob wrote:
> 
> Ok, here's a patch clarifying the documentation.

> +When passed to the functions as the 'attrib' parameter, these flags
> +represent an upper set of the actual flag set of the matching files that
> +must be included in. That is, in order for a file to be matching, its
> +attributes may contain any of the specified flags but must not contain any
> +of the unspecified flags. Thus, if you pass 'FA_DIREC | FA_LABEL', normal
> +directories will be included but not hidden directories. Similarly, if you
> +pass 'FA_ARCH' then both archived and non-archived files will be included.

The first sentence is (still) rather unreadable to me :-)
I'd suggest something like this:

When passed to the functions as the 'attrib' parameter, these flags
are an upper set in which the actual flag set of a matching file must
be included. That is, ...

Hein Zelle

>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
 Hein Zelle                     hein@xxxxxxxxxx
	                        http://www.icce.rug.nl/~hein
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/