cvs commit: src/bin/ls print.c
Bosko Milekic
bmilekic at FreeBSD.org
Sat Apr 3 08:55:57 PST 2004
bmilekic 2004/04/03 08:55:56 PST
FreeBSD src repository
Modified files:
bin/ls print.c
Log:
Stop iterating over ACLs if we've already determined we
will print them (i.e., number of successful calls to acl_get_entry()
exceeds 3). This makes O(1) what was O(num_TYPE_ACCESS_ACLs).
This is a slightly modified version of submitter's patch.
PR: bin/65042
Submitted by: Christian S.J. Peron <maneo at bsdpro.com>
Revision Changes Path
1.69 +11 -5 src/bin/ls/print.c
More information about the cvs-src
mailing list