[pacman-dev] Status of sodeps?

Dan McGee dpmcgee at gmail.com
Wed Jun 1 14:33:54 EDT 2011


On Fri, May 27, 2011 at 7:04 AM, Xavier <chantry.xavier at gmail.com> wrote:
> Florian Pritz wrote:
>>
>> I've asked a few people, looked at the code used for stripping and I
>> think it's safe to check only executable files. That cut down the time
>> needed for sage from 5 min to 19 sec (i7-920, tempfs).
>>
>> I've also noticed that the stripping code uses -perm -o+x  and not
>> -executable. The manpage says -executable also checks ACLs and owner,
>> group, other. Any reason why we don't use -executable?
>>
>
> If it's not portable, we need a specific case for GNU/Linux.
> But we already have to do that for other tools.
If you can find it in the manpages for our current known-working
platforms (FreeBSD, OS X, Cygwin?), then I'm fine with switching to
it. Otherwise as Xavier said it might not be worth the hassle.

-Dan


More information about the pacman-dev mailing list