Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: compaudit slow with many groups



Danek Duvall wrote:
> Hm.  That's pretty obviously broken.  But I think this is right:
> 
>     if ((UID == EUID )); then
>       getent group $LOGNAME | IFS=: read GROUP _i_pw _i_gid GROUPMEM
>     else
>       getent group $EGID | IFS=: read GROUP _i_pw _i_gid GROUPMEM
>     fi

I've committed this and the fix for the typo Danek spotted.... slug it
out if you think it should be done another way.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk



Messages sorted by: Reverse Date, Date, Thread, Author