Re: [dwm] lsx patch

From: Jukka Salmi <j+dwm_AT_2006.salmi.ch>
Date: Fri, 13 Oct 2006 11:08:59 +0200

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?

Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

Received on Fri Oct 13 2006 - 11:08:59 UTC

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