Re: CVS commit: src/distrib/sets/lists/base

2012-01-28 Thread David Holland
On Sat, Jan 28, 2012 at 03:10:24PM +, Paul Goyette wrote: > Modified Files: > src/distrib/sets/lists/base: mi > > Log Message: > Add new directories for trousers to sets lists. The directories get > created even if they're not populated. > > Hello again, christos! howsabout we

Re: CVS commit: src

2012-01-28 Thread David Holland
On Sat, Jan 28, 2012 at 01:59:31PM +, Alexander Nasonov wrote: > > IIRC something in the standard requires the result to be a compile time > > constant > > You're right: "... which expands to an integer constant expression that > has type size_t, the value of which is the offset in bytes

Re: CVS commit: src/sbin/ifconfig

2012-01-28 Thread Jonathan A. Kollasch
> Log Message: > When ifconfig is invoked without any arguments, display the list of > all network interfaces (equivalent to ifconfig -a), instead of displaying > the usage. (This is consistent with the behaviour on FreeBSD and OpenBSD.) That doesn't necessarily make it desirable. I object to thi

Re: CVS commit: src

2012-01-28 Thread Alexander Nasonov
David Laight wrote: > IIRC something in the standard requires the result to be a compile time > constant You're right: "... which expands to an integer constant expression that has type size_t, the value of which is the offset in bytes ...". > I suspect uses like the above were not thought of whe

Re: CVS commit: src/sys/sys

2012-01-28 Thread Izumi Tsutsui
> Log Message: > Welcome to 5.99.61: major UVM/kmem/vmem changes, tsleep and wakeup_one > removal. Please also update related man pages. (uvm(9), kmem(9), vmem(9), extent(9), ltsleep(9) etc?) Thanks, --- Izumi Tsutsui

Re: CVS commit: src

2012-01-28 Thread David Laight
On Fri, Jan 27, 2012 at 10:10:21PM +, Alexander Nasonov wrote: > Mindaugas Rasiukevicius wrote: > > + pcq = kmem_zalloc(offsetof(pcq_t, pcq_items[nitems]), kmflags); > > I'm not sure that this is a valid use of offsetof. C99 (7.17/3) defines > it as > > offsetof(type, member-designato