Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread Joerg Sonnenberger
On Sat, Jun 26, 2010 at 06:18:11AM +0200, Alistair Crooks wrote: > It would be better to make this a check which is size_t dependent, > rather than platform-dependent. The idea is to black list platforms that don't do %zu and there is no way to do that without breaking cross-compilation. It is sti

Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread Alistair Crooks
On Sat, Jun 26, 2010 at 05:25:31AM +0200, Joerg Sonnenberger wrote: > On Sat, Jun 26, 2010 at 05:11:39AM +0200, Alistair Crooks wrote: > > On Sat, Jun 26, 2010 at 01:32:05AM +0200, Joerg Sonnenberger wrote: > > > On Fri, Jun 25, 2010 at 11:54:32PM +0200, Alistair Crooks wrote: > > > > Even

Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread Joerg Sonnenberger
On Fri, Jun 25, 2010 at 09:34:12PM -0600, M. Warner Losh wrote: > You could easily enough have something like the following in autoconf > to generate that: > > #include > #include > > int main(int argc, char **argv) > { > size_t foo = ~0; > printf("#ifndef SIZE_MAX\n#define SIZE_MAX

Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread M. Warner Losh
In message: <20100626032531.ga14...@britannica.bec.de> Joerg Sonnenberger writes: : On Sat, Jun 26, 2010 at 05:11:39AM +0200, Alistair Crooks wrote: : > On Sat, Jun 26, 2010 at 01:32:05AM +0200, Joerg Sonnenberger wrote: : > > On Fri, Jun 25, 2010 at 11:54:32PM +0200, Alistair Crooks w

Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread Joerg Sonnenberger
On Sat, Jun 26, 2010 at 05:11:39AM +0200, Alistair Crooks wrote: > On Sat, Jun 26, 2010 at 01:32:05AM +0200, Joerg Sonnenberger wrote: > > On Fri, Jun 25, 2010 at 11:54:32PM +0200, Alistair Crooks wrote: > > > Even in C99, the "%lu" method will work unless size_t is bigger than > > > unsigned l

Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread Alistair Crooks
On Sat, Jun 26, 2010 at 01:32:05AM +0200, Joerg Sonnenberger wrote: > On Fri, Jun 25, 2010 at 11:54:32PM +0200, Alistair Crooks wrote: > > Even in C99, the "%lu" method will work unless size_t is bigger than > > unsigned long *and* the value being printed exceeds ULONG_MAX, which > > is

Re: CVS commit: src/sys/arch/hpcarm/conf

2010-06-25 Thread Izumi Tsutsui
> > Modified Files: > > src/sys/arch/hpcarm/conf: WZERO3 > > > > Log Message: > > Set options RTC_OFFSET=-540 since Windows Mobile stores localtime > > into the RTC and we can assume most W-ZERO3 users live in JST timezone. > > > > XXX: Probably it would be better to allow a kernel getting RT

Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread Joerg Sonnenberger
On Fri, Jun 25, 2010 at 11:54:32PM +0200, Alistair Crooks wrote: > Even in C99, the "%lu" method will work unless size_t is bigger than > unsigned long *and* the value being printed exceeds ULONG_MAX, which > is unlikely to happen in practice. Actually, it doesn't. This method br

Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread Alistair Crooks
On Fri, Jun 25, 2010 at 08:40:26PM +, Christos Zoulas wrote: > In article <20100625183016.ac0be17...@cvs.netbsd.org>, > Alistair G. Crooks wrote: > >-=-=-=-=-=- > > > >Module Name: src > >Committed By:agc > >Date:Fri Jun 25 18:30:16 UTC 2010 > > > >Modified Files: > >

Re: CVS commit: src/crypto/external/bsd/netpgp/dist/src/lib

2010-06-25 Thread Christos Zoulas
In article <20100625183016.ac0be17...@cvs.netbsd.org>, Alistair G. Crooks wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: agc >Date: Fri Jun 25 18:30:16 UTC 2010 > >Modified Files: > src/crypto/external/bsd/netpgp/dist/src/lib: misc.c > >Log Message: >Fix build problems on

Re: CVS commit: src/sys/arch/hpcarm/conf

2010-06-25 Thread Valeriy E. Ushakov
On Fri, Jun 25, 2010 at 17:40:33 +, Izumi Tsutsui wrote: > Module Name: src > Committed By: tsutsui > Date: Fri Jun 25 17:40:33 UTC 2010 > > Modified Files: > src/sys/arch/hpcarm/conf: WZERO3 > > Log Message: > Set options RTC_OFFSET=-540 since Windows Mobile stores localtime

Re: CVS commit: src/sys/dev/pci

2010-06-25 Thread David Young
On Fri, Jun 25, 2010 at 01:10:13PM +0900, masan...@iij.ad.jp wrote: > > From: SAITOH Masanobu > Subject: CVS commit: src/sys/dev/pci > Date: Fri, 25 Jun 2010 03:47:58 + > > > Module Name:src > > Committed By: msaitoh > > Date: Fri Jun 25 03:47:57 UTC 2010 > > > >

Re: CVS commit: src/sys

2010-06-25 Thread Paul Goyette
On Fri, 25 Jun 2010, Izumi Tsutsui wrote: Module Name:src Committed By: tsutsui Date: Fri Jun 25 15:10:43 UTC 2010 Modified Files: src/sys/kern: init_main.c subr_autoconf.c src/sys/sys: device.h Log Message: Add config_mountroot(9), which defers device configura