Re: [dwm] lsx patch

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Fri, 13 Oct 2006 11:20:58 +0200

On Fri, Oct 13, 2006 at 11:08:59AM +0200, Jukka Salmi wrote:
> Anselm R. Garbe --> dwm (2006-10-13 10:53:21 +0200):
> > On Fri, Oct 13, 2006 at 10:45:17AM +0200, Jukka Salmi wrote:
> > > Anselm R. Garbe --> dwm (2006-10-12 18:02:43 +0200):
> > > > On Thu, Oct 12, 2006 at 05:45:21PM +0200, Cedric Krier wrote:
> > > > > Here is a patch to add check for all user's groups instead of only the
> > > > > real group.
> > > >
> > > > How portable is that? Can some BSD user check please?
> > >
> > > Seems fine to me: getgroups() is POSIX.1, and the patch makes lsx work
> > > as expected at least on NetBSD.
> > >
> > > Cheers, Jukka
> > >
> > > BTW: lsx shouldn't need libX11...
> >
> > Indeed!
> >
> > Cedric, your patch is applied!
>
> Why not just use access(2) (also POSIX.1) instead?

Yes, that was stupid not using access, included in 0.1 (see my
                next mail).

-- 
 Anselm R. Garbe  ><><  http://suckless.org/arg/  ><><  GPG key: 0D73F361
Received on Fri Oct 13 2006 - 11:20:58 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:32:02 UTC