Re: CVS commit: src/games/boggle/boggle

2010-12-04 Thread Paul Goyette
I thought about that, but checked a couple other games, and they all hard-code the program name... So I just make boggle consistent with others. I'd be happy to fix boggle (and tetris and snake) to use getprogname(3) but not sure I want to sign up to check everything. :) On Sun, 5 Dec 2

Re: CVS commit: src/games/boggle/boggle

2010-12-04 Thread Joerg Sonnenberger
On Sun, Dec 05, 2010 at 04:11:52AM +, Paul Goyette wrote: > Module Name: src > Committed By: pgoyette > Date: Sun Dec 5 04:11:52 UTC 2010 > > Modified Files: > src/games/boggle/boggle: bog.c > > Log Message: > Since this game is installed as 'boggle', fix the usage() text to m

Re: CVS commit: src/sys/dev

2010-12-04 Thread Warner Losh
On 12/04/2010 15:09, David Laight wrote: On Sat, Dec 04, 2010 at 03:50:25PM -0600, Michael Graff wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I admit to a certain lack of understanding the twisty maze of pointers and memory mapping magic at play here, but is simply checking the length e

Re: CVS commit: src/sys/dev

2010-12-04 Thread David Laight
On Sat, Dec 04, 2010 at 03:50:25PM -0600, Michael Graff wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I admit to a certain lack of understanding the twisty maze of pointers > and memory mapping magic at play here, but is simply checking the length > enough? That is, what happens if

Re: CVS commit: src/sys/dev

2010-12-04 Thread Michael Graff
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I admit to a certain lack of understanding the twisty maze of pointers and memory mapping magic at play here, but is simply checking the length enough? That is, what happens if I pass in a structure that is smaller than expected? That is, is there a

Re: CVS commit: src/sys/dev

2010-12-04 Thread Christos Zoulas
In article <20101204173951.3ae6e17...@cvs.netbsd.org>, Antti Kantee wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: pooka >Date: Sat Dec 4 17:39:51 UTC 2010 > >Modified Files: > src/sys/dev: rnd.c > >Log Message: >Don't allow "goes to 11^H^Hhyperspace" len field for RNDAD