[Toybox] [PATCH 1/2] rm: Check file existence with lstat() explicitly if "-f" is specified

Rob Landley rob at landley.net
Mon Feb 1 20:19:04 PST 2021


On 2/1/21 9:53 PM, Yi-yo Chiang wrote:
> There has to be a reason, but I'll defer that question to Elliott..
> https://cs.android.com/android/platform/superproject/+/master:bionic/libc/bionic/faccessat.cpp;l=46;drc=50080a29f7327fcd009344844bb9e643b2d6b9c3
>
> This line also left me scratching my head for half a day.

At a guess, that first explanatory URL in the comment should be:

https://www.openwall.com/lists/musl/2015/02/05/2

Rob


More information about the Toybox mailing list