boggle misprint

2009-05-13 Thread Graeme Lee
boggle misprints the score at the end. Gives a total found words out of missed words, rather than out of all words. The patch below fixes this. thanks, Graeme --- mach.c.orig Thu May 14 15:04:56 2009 +++ mach.c Thu May 14 15:05:19 2009 @@ -174,7 +174,7 @@ denom2 = tnpwords +

Re: azalia: save some power

2009-05-13 Thread Jacob Meuser
On Wed, May 13, 2009 at 07:02:32PM -0400, Dan Harnett wrote: > On Tue, May 12, 2009 at 09:57:33PM +, Jacob Meuser wrote: > > here's a patch to power down unused widgets. should be safe, but my > > devices don't support this (about half of all azalia codecs support power > > modes on the indivi

Re: azalia: save some power

2009-05-13 Thread Dan Harnett
On Tue, May 12, 2009 at 09:57:33PM +, Jacob Meuser wrote: > here's a patch to power down unused widgets. should be safe, but my > devices don't support this (about half of all azalia codecs support power > modes on the individual widgets) so please test that this doesn't somehow > break the ab

Re: 4.5-current sometimes hangs on disk I/O

2009-05-13 Thread Thomas Pfaff
On Wed, 13 May 2009 19:11:25 +0200 Thomas Pfaff wrote: > I've got a system with one 40GB PATA disk (wd0) where the system reside > and two 500GB SATA disks (wd1 and wd2 as sd0) in RAID-1 using softraid(4). > > The system currently ran 4.5-stable but it would sometimes hang when > copying files fr

Re: azalia: save some power

2009-05-13 Thread Thomas Pfaff
On Tue, 12 May 2009 21:57:33 + Jacob Meuser wrote: > here's a patch to power down unused widgets. should be safe, but my > devices don't support this (about half of all azalia codecs support power > modes on the individual widgets) so please test that this doesn't somehow > break the ability

4.5-current sometimes hangs on disk I/O

2009-05-13 Thread Thomas Pfaff
I've got a system with one 40GB PATA disk (wd0) where the system reside and two 500GB SATA disks (wd1 and wd2 as sd0) in RAID-1 using softraid(4). The system currently ran 4.5-stable but it would sometimes hang when copying files from wd0 to sd0. I installed the latest snapshot and compiled GENER

Re: cksum(1) patch

2009-05-13 Thread Stuart Henderson
On 2009/05/13 09:26, Theo de Raadt wrote: > > On 2009/05/13 10:40, Otto Moerbeek wrote: > > > > > > > > I did some research on different operating systems regarding > > > > checksumming and > > > > found that solaris had a nice option called "digest -l" which prints the > > > > available algorith

Re: cksum(1) patch

2009-05-13 Thread Theo de Raadt
> On 2009/05/13 10:40, Otto Moerbeek wrote: > > > > > > I did some research on different operating systems regarding checksumming > > > and > > > found that solaris had a nice option called "digest -l" which prints the > > > available algorithms and exits. I wrote this functionality into cksum(1

Re: cksum(1) patch

2009-05-13 Thread Jacek Masiulaniec
On Wed, May 13, 2009 at 03:28:04PM +0200, Otto Moerbeek wrote: > Anyway, my point is that the cksum(1) already has a bunch of options > but also an obviously missing one. But an alternative would be to do what > sthen suggested and put the algorithm list into the usage and only > that. I like thi

Re: cksum(1) patch

2009-05-13 Thread Otto Moerbeek
On Wed, May 13, 2009 at 03:18:05PM +0200, Mark Kettenis wrote: > > Date: Wed, 13 May 2009 14:28:06 +0200 > > From: Otto Moerbeek > > > > On Wed, May 13, 2009 at 02:16:49PM +0200, Mark Kettenis wrote: > > > > > > Date: Wed, 13 May 2009 12:20:44 +0200 > > > > From: Otto Moerbeek > > > > > > > >

Re: cksum(1) patch

2009-05-13 Thread Peter J. Philipp
> > And I seem to remember the diff was inspired by Solaris. > > $ uname -a > SunOS foo 5.10 Generic_127128-11 i86pc i386 i86pc > $ cksum -l > cksum: illegal option -- l > Usage: cksum [file ...] It was inspired by digest(1) not cksum. sycorax$ uname -a SunOS sycorax 5.10 Generic_137138-09 i86pc

Re: cksum(1) patch

2009-05-13 Thread Mark Kettenis
> Date: Wed, 13 May 2009 14:28:06 +0200 > From: Otto Moerbeek > > On Wed, May 13, 2009 at 02:16:49PM +0200, Mark Kettenis wrote: > > > > Date: Wed, 13 May 2009 12:20:44 +0200 > > > From: Otto Moerbeek > > > > > > On Wed, May 13, 2009 at 12:11:35PM +0200, Peter J. Philipp wrote: > > > > > > >

Re: cksum(1) patch

2009-05-13 Thread Otto Moerbeek
On Wed, May 13, 2009 at 02:16:49PM +0200, Mark Kettenis wrote: > > Date: Wed, 13 May 2009 12:20:44 +0200 > > From: Otto Moerbeek > > > > On Wed, May 13, 2009 at 12:11:35PM +0200, Peter J. Philipp wrote: > > > > > On Wed, May 13, 2009 at 10:40:13AM +0200, Otto Moerbeek wrote: > > > > Come to thi

Re: cksum(1) patch

2009-05-13 Thread Mark Kettenis
> Date: Wed, 13 May 2009 12:20:44 +0200 > From: Otto Moerbeek > > On Wed, May 13, 2009 at 12:11:35PM +0200, Peter J. Philipp wrote: > > > On Wed, May 13, 2009 at 10:40:13AM +0200, Otto Moerbeek wrote: > > > Come to think of it, why don't you just putchar(tolower(hf->name[i])) > > > in a loop? Sa

new installer (snapshot may 12th)

2009-05-13 Thread Stephan A. Rickauer
the installer allowed me to install OpenBSD perfectly (and much quicker than before). One question: When *not* configuring any NIC, it still asks for a DNS domain name - I guess that's used to make up the FQDN even though there is no network. It also wants me to specify nameservers - I could say '

Re: usr.sbin/smtpd/aliases.c diif

2009-05-13 Thread Jacek Masiulaniec
On Tue, May 12, 2009 at 11:50:28AM -0400, Daniel Ouellet wrote: > The ret integer is define and assign a value a few times, however, never > used, so could also be removed as well. Currently it's not but it may be used for db error logging. Index: aliases.c =

Re: cksum(1) patch

2009-05-13 Thread Peter J. Philipp
On Wed, May 13, 2009 at 12:20:44PM +0200, Otto Moerbeek wrote: > You forgot to fix usage(). Also, I think it makes sense to allow -l > for sum(1) too, so that both commands that take -a also take -l. > > -Otto Eeek. Ok this will do then: Regards, -p ? cksum.1-orig ? cksum.patch ? md5.c

Re: cksum(1) patch

2009-05-13 Thread Otto Moerbeek
On Wed, May 13, 2009 at 12:11:35PM +0200, Peter J. Philipp wrote: > On Wed, May 13, 2009 at 10:40:13AM +0200, Otto Moerbeek wrote: > > Come to think of it, why don't you just putchar(tolower(hf->name[i])) > > in a loop? Saves you the calloc and error handling. > > > > Also, don't forget to fix us

Re: cksum(1) patch

2009-05-13 Thread Peter J. Philipp
On Wed, May 13, 2009 at 10:40:13AM +0200, Otto Moerbeek wrote: > Come to think of it, why don't you just putchar(tolower(hf->name[i])) > in a loop? Saves you the calloc and error handling. > > Also, don't forget to fix usage(). > > -Otto Yeah, thanks. Well I got good and critical feedback

Re: cksum(1) patch

2009-05-13 Thread Stuart Henderson
On 2009/05/13 10:40, Otto Moerbeek wrote: > > > > I did some research on different operating systems regarding checksumming > > and > > found that solaris had a nice option called "digest -l" which prints the > > available algorithms and exits. I wrote this functionality into cksum(1) > > that

Re: cksum(1) patch

2009-05-13 Thread Otto Moerbeek
On Mon, May 11, 2009 at 10:16:25AM +0200, Peter J. Philipp wrote: > Hi, > > I did some research on different operating systems regarding checksumming and > found that solaris had a nice option called "digest -l" which prints the > available algorithms and exits. I wrote this functionality into c

Re: cksum(1) patch

2009-05-13 Thread David Coppa
On Wed, May 13, 2009 at 9:36 AM, Nick Guenther wrote: > Oh come, it's a decent patch; nice because it auto-documents code. It > might be a little trivial but there's no need to go out of your way to > be rude. > > -Nick FWIW, I like it and I'd like it to be committed. cheers -d

Re: cksum(1) patch

2009-05-13 Thread Nick Guenther
On Tue, May 12, 2009 at 6:20 AM, Hyjial Irldar wrote: > > 2009/5/11 Peter J. Philipp : >> Hi, >> >> I did some research on different operating systems regarding checksumming and >> found that solaris had a nice option called "digest -l" which prints the >> available algorithms and exits. B I wrote