Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 08:55:56 -0800 (PST)
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/ls print.c
Message-ID:  <200404031655.i33GtvvS006966@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@bsdpro.com>
  
  Revision  Changes    Path
  1.69      +11 -5     src/bin/ls/print.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404031655.i33GtvvS006966>