From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.dk
Subject: Re: compaudit slow with many groups
Date: Mon, 22 Mar 2004 20:12:03 +0000 [thread overview]
Message-ID: <20040322201204.AC9D785AF@pwstephenson.fsnet.co.uk> (raw)
In-Reply-To: "Danek Duvall"'s message of "Sun, 21 Mar 2004 10:46:56 PST." <20040321184656.GD17245@lorien.emufarm.org>
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@pwstephenson.fsnet.co.uk>
Work: pws@csr.com
Web: http://www.pwstephenson.fsnet.co.uk
next prev parent reply other threads:[~2004-03-22 20:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-19 21:57 Danek Duvall
2004-03-21 18:46 ` Danek Duvall
2004-03-22 20:12 ` Peter Stephenson [this message]
2004-03-30 14:28 ` Oliver Kiddle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040322201204.AC9D785AF@pwstephenson.fsnet.co.uk \
--to=pws@pwstephenson.fsnet.co.uk \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).