[Toybox] dirtree: add DIRTREE_NOSTAT flag

Rob Landley rob at landley.net
Wed Oct 26 21:07:45 PDT 2016


On 10/26/2016 03:12 PM, Mark Salyzyn wrote:
>>From the AOSP gerrit fixing internal bug 32399196
> ( https://android-review.googlesource.com/#/c/295731 )
> 
> Change subject: dirtree: add DIRTREE_NOSTAT flag
> 
> Prevents a superfluous attribute request. Flag returned on callbacks,
> subsequent recursive callbacks have a responsibility to issue:
> 
> fstatat(dirtree_parentfd(dirtree), dirtree->name, &dirtree->st,
>         AT_SYMLINK_NOFOLLOW);

If you're going to send me git commits anyway, could you do:

  git format-patch -1 $COMMITHASH

And then attach the resulting file to the message?

Thanks,

Rob



More information about the Toybox mailing list