Re: CVS commit: src/sys/sys

2016-03-18 Thread Nick Hudson
On 03/18/16 16:19, Joerg Sonnenberger wrote: On Fri, Mar 18, 2016 at 10:52:27AM +, Christos Zoulas wrote: In article <20160318030154.gb12...@britannica.bec.de>, Joerg Sonnenberger wrote: On Thu, Mar 10, 2016 at 07:44:57PM -0500, Christos Zoulas wrote: Module Name:src Committed By:

Re: CVS commit: src/sys/sys

2016-01-24 Thread Joerg Sonnenberger
On Fri, Jan 22, 2016 at 11:31:30PM +, David A. Holland wrote: > Module Name: src > Committed By: dholland > Date: Fri Jan 22 23:31:30 UTC 2016 > > Modified Files: > src/sys/sys: dirent.h > > Log Message: > Uses __GNUC_PREREQ__, needs sys/cdefs.h. I wonder if including stddef.h

Re: CVS commit: src/sys/sys

2015-05-21 Thread Joerg Sonnenberger
On Tue, May 19, 2015 at 11:35:11PM +, Taylor R Campbell wrote: > Module Name: src > Committed By: riastradh > Date: Tue May 19 23:35:11 UTC 2015 > > Modified Files: > src/sys/sys: time.h > > Log Message: > Avoid C99 initializers outside _KERNEL. Two comments. First: C99 initia

re: CVS commit: src/sys/sys

2015-04-23 Thread Paul Goyette
On Fri, 24 Apr 2015, matthew green wrote: "Paul Goyette" writes: Module Name:src Committed By: pgoyette Date: Thu Apr 23 23:23:20 UTC 2015 Modified Files: src/sys/sys: param.h Log Message: Welcome to 7.99.x and the modularization of sysmon! why bump the version? i

re: CVS commit: src/sys/sys

2015-04-23 Thread matthew green
"Paul Goyette" writes: > Module Name: src > Committed By: pgoyette > Date: Thu Apr 23 23:23:20 UTC 2015 > > Modified Files: > src/sys/sys: param.h > > Log Message: > Welcome to 7.99.x and the modularization of sysmon! why bump the version? i didn't see any kernel ABI change. .

Re: CVS commit: src/sys/sys

2015-04-23 Thread Paul Goyette
I'll also fix this - we're now at 7.99.11 (not 'x') On Thu, 23 Apr 2015, Paul Goyette wrote: Module Name:src Committed By: pgoyette Date: Thu Apr 23 23:23:20 UTC 2015 Modified Files: src/sys/sys: param.h Log Message: Welcome to 7.99.x and the modularization of sysmon!

Re: CVS commit: src/sys/sys

2014-11-17 Thread Christos Zoulas
On Nov 17, 3:27pm, jo...@britannica.bec.de (Joerg Sonnenberger) wrote: -- Subject: Re: CVS commit: src/sys/sys | I don't agree, for most the complexity of the call doesn't justify the | extra code, so inline is fine. That said, days_in_month is quite | wasteful with using an array of

Re: CVS commit: src/sys/sys

2014-11-17 Thread Joerg Sonnenberger
On Mon, Nov 17, 2014 at 08:50:20AM -0500, Christos Zoulas wrote: > On Nov 17, 7:56am, mar...@homeworld.netbsd.org (Martin Husemann) wrote: > -- Subject: Re: CVS commit: src/sys/sys > > | On Sun, Nov 16, 2014 at 09:27:26PM -0500, Christos Zoulas wrote: > | > Module Name: s

Re: CVS commit: src/sys/sys

2014-11-17 Thread Christos Zoulas
On Nov 17, 7:56am, mar...@homeworld.netbsd.org (Martin Husemann) wrote: -- Subject: Re: CVS commit: src/sys/sys | On Sun, Nov 16, 2014 at 09:27:26PM -0500, Christos Zoulas wrote: | > Module Name:src | > Committed By: christos | > Date: Mon Nov 17 02:27:26

Re: CVS commit: src/sys/sys

2014-11-16 Thread Martin Husemann
On Sun, Nov 16, 2014 at 09:27:26PM -0500, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Mon Nov 17 02:27:26 UTC 2014 > > Added Files: > src/sys/sys: clock.h > > Log Message: > PR/49207: Kamil Rytarowski: Centralize and rename a bunch of clock constants

Re: CVS commit: src/sys/sys

2014-09-26 Thread David Laight
On Mon, Sep 15, 2014 at 11:58:35AM +0900, NONAKA Kimihiro wrote: > Hi, > > 2014-09-15 3:07 GMT+09:00 Christos Zoulas : > > > Perhaps it is better to memcpy the data to some aligned struct rather > > than referencing it directly and making it packed (which is not portable). > > I wrote the follow

re: CVS commit: src/sys/sys

2014-09-15 Thread Christos Zoulas
On Sep 16, 5:35am, m...@eterna.com.au (matthew green) wrote: -- Subject: re: CVS commit: src/sys/sys | i'm not sure this is going to work. see "The problem" in: | | https://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html | | i think your original change is better.

re: CVS commit: src/sys/sys

2014-09-15 Thread matthew green
> +for (i = 0; i < ap->sbDrvrCount; i++) { > +struct apple_drvr_descriptor sdd; > +memcpy(&sdd, &ap->sb_dd[i], sizeof(ap->sb_dd[0])); > +swap_apple_drvr_descriptor(&sdd); > +memcpy(&ap->sb_dd[i], &sdd, sizeof(ap->sb_dd[0])); > +} i'm not sure this is going

Re: CVS commit: src/sys/sys

2014-09-15 Thread Christos Zoulas
In article , NONAKA Kimihiro wrote: >Hi, > >2014-09-15 3:07 GMT+09:00 Christos Zoulas : > >> Perhaps it is better to memcpy the data to some aligned struct rather >> than referencing it directly and making it packed (which is not portable). > >I wrote the following patch. ok? Yes, I think it is

Re: CVS commit: src/sys/sys

2014-09-14 Thread NONAKA Kimihiro
Hi, 2014-09-15 3:07 GMT+09:00 Christos Zoulas : > Perhaps it is better to memcpy the data to some aligned struct rather > than referencing it directly and making it packed (which is not portable). I wrote the following patch. ok? Index: ./sys/sys/bootblock.h

Re: CVS commit: src/sys/sys

2014-09-14 Thread Christos Zoulas
In article <20140914173906.a22b...@cvs.netbsd.org>, NONAKA Kimihiro wrote: >Module Name: src >Committed By: nonaka >Date: Sun Sep 14 17:39:06 UTC 2014 > >Modified Files: > src/sys/sys: bootblock.h > >Log Message: >Avoid data abort at >src/sys/dev/dkwedge/dkwedge_apple.c:swap_appl

Re: CVS commit: src/sys/sys

2014-08-08 Thread Christos Zoulas
In article <20140807220904.ga19...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Thu, Aug 07, 2014 at 04:05:10PM -0400, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Thu Aug 7 20:05:10 UTC 2014 >> >> Modified Files: >> src/sys/sys:

Re: CVS commit: src/sys/sys

2014-08-07 Thread Joerg Sonnenberger
On Thu, Aug 07, 2014 at 04:05:10PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Thu Aug 7 20:05:10 UTC 2014 > > Modified Files: > src/sys/sys: time.h > > Log Message: > convert to unsigned multiplication. Why is the constant still signed? Joe

Re: CVS commit: src/sys/sys

2014-07-17 Thread Lourival Vieira Neto
On Thu, Jul 17, 2014 at 3:14 PM, Marc Balmer wrote: > > Am 17.07.2014 um 16:55 schrieb Taylor R Campbell : > >> Module Name: src >> Committed By: riastradh >> Date: Thu Jul 17 14:55:32 UTC 2014 >> >> Modified Files: >> src/sys/sys: systm.h >> >> Log Message: >> Expand null macros to

Re: CVS commit: src/sys/sys

2014-07-17 Thread Marc Balmer
Am 17.07.2014 um 16:55 schrieb Taylor R Campbell : > Module Name: src > Committed By: riastradh > Date: Thu Jul 17 14:55:32 UTC 2014 > > Modified Files: > src/sys/sys: systm.h > > Log Message: > Expand null macros to `do {} while (0)', not to nothing. > > Not that I object, bu

Re: CVS commit: src/sys/sys

2014-07-01 Thread Mindaugas Rasiukevicius
"Tyler R. Retzlaff" wrote: > Module Name: src > Committed By: rtr > Date: Tue Jul 1 13:25:21 UTC 2014 > > Modified Files: > src/sys/sys: param.h > > Log Message: > Bump to version 6.99.45 for removal of struct lwp * parameter from > pr_ioctl I do not think there is much point in

Re: CVS commit: src/sys/sys

2014-03-29 Thread Jonathan A. Kollasch
On Tue, Dec 22, 2009 at 06:55:26PM +, Antti Kantee wrote: > Module Name: src > Committed By: pooka > Date: Tue Dec 22 18:55:26 UTC 2009 > > Modified Files: > src/sys/sys: disklabel.h dkio.h > > Log Message: > Limit DIOCGPART and struct partinfo visibility to _KERNEL. > > > To

Re: CVS commit: src/sys/sys

2014-03-29 Thread Christos Zoulas
On Mar 29, 9:37pm, christoph_eg...@gmx.de (Christoph Egger) wrote: -- Subject: Re: CVS commit: src/sys/sys | Am 29.03.14 20:30, schrieb Christos Zoulas: | > Module Name:src | > Committed By: christos | > Date: Sat Mar 29 19:30:49 UTC 2014 | > | >

Re: CVS commit: src/sys/sys

2014-03-29 Thread Christoph Egger
Am 29.03.14 20:30, schrieb Christos Zoulas: > Module Name: src > Committed By: christos > Date: Sat Mar 29 19:30:49 UTC 2014 > > Modified Files: > src/sys/sys: param.h > > Log Message: > sprintf removal > {pci,eisa}_intr_string signature change > > > To generate a diff of this co

Re: CVS commit: src/sys/sys

2014-03-14 Thread Alan Barrett
On Fri, 14 Mar 2014, Joerg Sonnenberger wrote: Modified Files: src/sys/sys: cdefs.h Log Message: For compilers without __COUNTER__, make the ctassert name contain __INCLUDE_LEVEL__ ## _ ## __LINE__. It's not perfect, but at least it's better than just __LINE__ since it avoids collisions

Re: CVS commit: src/sys/sys

2014-03-13 Thread Joerg Sonnenberger
On Thu, Mar 13, 2014 at 08:36:01PM +, Antti Kantee wrote: > Module Name: src > Committed By: pooka > Date: Thu Mar 13 20:36:01 UTC 2014 > > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > For compilers without __COUNTER__, make the ctassert name contain > __INCLUDE_LE

Re: CVS commit: src/sys/sys

2013-11-25 Thread Christos Zoulas
On Nov 26, 9:04am, jruoho...@iki.fi (Jukka Ruohonen) wrote: -- Subject: Re: CVS commit: src/sys/sys | > Provide TAILQ_REPLACE for tmux, from FreeBSD. | | This should be documented in queue(3). I am not familiar with the current | discussion on , but these apparent problems would be good to a

Re: CVS commit: src/sys/sys

2013-11-25 Thread Jukka Ruohonen
On Mon, Nov 25, 2013 at 08:27:46PM -0500, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Tue Nov 26 01:27:46 UTC 2013 > > Modified Files: > src/sys/sys: queue.h > > Log Message: > Provide TAILQ_REPLACE for tmux, from FreeBSD. This should be documented i

re: CVS commit: src/sys/sys

2013-11-24 Thread matthew green
> Module Name: src > Committed By: christos > Date: Sat Nov 23 14:41:38 UTC 2013 > > Modified Files: > src/sys/sys: queue.h > > Log Message: > Add __launder_type() from mrg to get the CIRCLEQ macros working again under > gcc-4.8. Mention that we discourage their use and that we re

Re: CVS commit: src/sys/sys

2013-11-21 Thread Dennis Ferguson
On 21 Nov, 2013, at 11:04 , Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Thu Nov 21 19:04:19 UTC 2013 > > Modified Files: > src/sys/sys: queue.h > > Log Message: > provide a const and a non const flavor for CIRCLEQ_END because the kernel > needs a c

Re: CVS commit: src/sys/sys

2013-10-25 Thread Alan Barrett
On Fri, 25 Oct 2013, Jukka Ruohonen wrote: src/sys/sys: cdefs.h Log Message: Add __diagused and __debugused. These are for marking variables that are used only in diagnotic or debug code, but unused when NDEBUG is defined, or DIAGNOSTIC is not defined, or DEBUG is not defined. I tried

Re: CVS commit: src/sys/sys

2013-10-25 Thread Jukka Ruohonen
On Fri, Oct 25, 2013 at 08:51:55AM +, Alan Barrett wrote: > Module Name: src > Committed By: apb > Date: Fri Oct 25 08:51:55 UTC 2013 > > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > Add __diagused and __debugused. These are for marking variables that > are used o

Re: CVS commit: src/sys/sys

2013-10-16 Thread Martin Husemann
On Wed, Oct 16, 2013 at 10:03:32PM +0200, Alistair Crooks wrote: > On Wed, Oct 16, 2013 at 03:31:43PM -0400, Christos Zoulas wrote: > > Module Name:src > > Committed By: christos > > Date: Wed Oct 16 19:31:43 UTC 2013 > > > > Modified Files: > > src/sys/sys: cdefs.h

Re: CVS commit: src/sys/sys

2013-10-16 Thread Joerg Sonnenberger
On Wed, Oct 16, 2013 at 10:03:32PM +0200, Alistair Crooks wrote: > On Wed, Oct 16, 2013 at 03:31:43PM -0400, Christos Zoulas wrote: > > Module Name:src > > Committed By: christos > > Date: Wed Oct 16 19:31:43 UTC 2013 > > > > Modified Files: > > src/sys/sys: cdefs.h

Re: CVS commit: src/sys/sys

2013-10-16 Thread Alistair Crooks
On Wed, Oct 16, 2013 at 03:31:43PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Wed Oct 16 19:31:43 UTC 2013 > > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > introduce __USE(variable) that uses a variable to squash unused variable >

Re: CVS commit: src/sys/sys

2013-09-11 Thread Grégoire Sutre
On 09/10/2013 10:42 PM, David Holland wrote: On Tue, Sep 10, 2013 at 12:54:14PM +, Gr?goire Sutre wrote: > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > Unbreak vax build (which still uses gcc 4.1). See PR lib/48131. Shouldn't that be conditionalized on the

re: CVS commit: src/sys/sys

2013-09-10 Thread matthew green
thanks for fixing the vax build. > Module Name: src > Committed By: gsutre > Date: Tue Sep 10 12:54:14 UTC 2013 > > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > Unbreak vax build (which still uses gcc 4.1). See PR lib/48131. in general, please describe the change i

Re: CVS commit: src/sys/sys

2013-09-10 Thread David Holland
On Tue, Sep 10, 2013 at 12:54:14PM +, Gr?goire Sutre wrote: > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > Unbreak vax build (which still uses gcc 4.1). See PR lib/48131. Shouldn't that be conditionalized on the gcc version, then? -- David A. Holland dholl...@netbsd.

Re: CVS commit: src/sys/sys

2013-03-11 Thread Joerg Sonnenberger
On Mon, Mar 11, 2013 at 02:19:03AM +, YAMAMOTO Takashi wrote: > openvswitch has the following CTASSERT equivalent, which doesn't > require __COUNTER__. It does create a symbol, which is worse. Joerg

Re: CVS commit: src/sys/sys

2013-03-10 Thread YAMAMOTO Takashi
hi, openvswitch has the following CTASSERT equivalent, which doesn't require __COUNTER__. #define OFP_ASSERT(EXPR)\ extern int (*build_assert(void))[ sizeof(struct { \ unsigned int build_assert_failed : (EXP

Re: CVS commit: src/sys/sys

2013-02-24 Thread Matt Thomas
On Feb 24, 2013, at 12:37 AM, Iain Hibbert wrote: > On Sun, 24 Feb 2013, Matt Thomas wrote: > >> Module Name: src >> Committed By:matt >> Date:Sun Feb 24 06:20:24 UTC 2013 >> >> Modified Files: >> src/sys/sys: tty.h >> >> Log Message: >> Add a t_softc member to st

Re: CVS commit: src/sys/sys

2013-02-24 Thread Iain Hibbert
On Sun, 24 Feb 2013, Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Sun Feb 24 06:20:24 UTC 2013 > > Modified Files: > src/sys/sys: tty.h > > Log Message: > Add a t_softc member to struct tty in which a driver can store a pointer > to its softc. (analogous to if

Re: CVS commit: src/sys/sys

2012-12-01 Thread Alan Barrett
Bcc: Subject: Re: CVS commit: src/sys/sys Reply-To: In-Reply-To: <20121201082055.886f717...@cvs.netbsd.org> On Sat, 01 Dec 2012, Nick Hudson wrote: Log Message: Check for _NETBSD_SOURCE being defined wherever we check for _INCOMPLETE_XOPEN_C063 so that we expose the new POSIX extended API s

Re: CVS commit: src/sys/sys

2012-03-19 Thread Christos Zoulas
On Mar 19, 4:21am, y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: -- Subject: Re: CVS commit: src/sys/sys | where did you count the number? | the occurrences in our tree doesn't seem so many. I did fgrep -r st_blksize in /usr/src and then removed the ones that had to do with config

Re: CVS commit: src/sys/sys

2012-03-19 Thread Joerg Sonnenberger
On Mon, Mar 19, 2012 at 01:30:55AM +, Christos Zoulas wrote: > In article <20120318213646.ga13...@britannica.bec.de>, > Joerg Sonnenberger wrote: > > >That doesn't say anything about why it should be signed. It is just > >another place where signed is used for no good reason. > > Yes, it ju

Re: CVS commit: src/sys/sys

2012-03-18 Thread YAMAMOTO Takashi
hi, > In article <20120318191308.ga10...@britannica.bec.de>, > Joerg Sonnenberger wrote: >>On Sat, Mar 17, 2012 at 05:30:31PM -0400, Christos Zoulas wrote: >>> Module Name:src >>> Committed By: christos >>> Date: Sat Mar 17 21:30:30 UTC 2012 >>> >>> Modified Files: >

Re: CVS commit: src/sys/sys

2012-03-18 Thread Christos Zoulas
In article <20120318213646.ga13...@britannica.bec.de>, Joerg Sonnenberger wrote: >That doesn't say anything about why it should be signed. It is just >another place where signed is used for no good reason. Yes, it just explains that making unsigned is a larger impact change and it would violate

Re: CVS commit: src/sys/sys

2012-03-18 Thread Joerg Sonnenberger
On Sun, Mar 18, 2012 at 09:00:54PM +, Christos Zoulas wrote: > In article <20120318191308.ga10...@britannica.bec.de>, > Joerg Sonnenberger wrote: > >On Sat, Mar 17, 2012 at 05:30:31PM -0400, Christos Zoulas wrote: > >> Module Name: src > >> Committed By: christos > >> Date:

Re: CVS commit: src/sys/sys

2012-03-18 Thread Christos Zoulas
In article <20120318191308.ga10...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Sat, Mar 17, 2012 at 05:30:31PM -0400, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Sat Mar 17 21:30:30 UTC 2012 >> >> Modified Files: >> src/sys/sys:

Re: CVS commit: src/sys/sys

2012-03-18 Thread Joerg Sonnenberger
On Sat, Mar 17, 2012 at 05:30:31PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sat Mar 17 21:30:30 UTC 2012 > > Modified Files: > src/sys/sys: types.h > > Log Message: > PR/44847: Jukka Ruohonen: blksize_t should be signed. > http://pubs.opengr

Re: CVS commit: src/sys/sys

2012-03-17 Thread Ryo ONODERA
Hi, From: "Christos Zoulas" , Date: Wed, 14 Mar 2012 20:09:08 -0400 > Module Name: src > Committed By: christos > Date: Thu Mar 15 00:09:08 UTC 2012 > > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > - this file is still used from assembly. protect inlines against __A

Re: CVS commit: src/sys/sys

2012-03-17 Thread David Holland
On Fri, Mar 09, 2012 at 10:38:03AM -0500, Christos Zoulas wrote: > Modified Files: > src/sys/sys: gmon.h > > Log Message: > use explicit cast for RHS of shift operator since semantics change from > traditional c to ansi. > > To generate a diff of this commit: > cvs rdiff -u -r1.9 -r

Re: CVS commit: src/sys/sys

2012-03-14 Thread NONAKA Kimihiro
Hi, 2012/3/14 Christos Zoulas : > Module Name:    src > Committed By:   christos > Date:           Tue Mar 13 21:07:28 UTC 2012 > > Modified Files: >        src/sys/sys: cdefs.h > > Log Message: > Type macros providing min and max values for the given type, plus one that > returns if a value can

Re: CVS commit: src/sys/sys

2012-02-21 Thread Martin Husemann
On Tue, Feb 21, 2012 at 03:07:34PM +0400, Valeriy E. Ushakov wrote: > > Log Message: > > There are some places where C99 allows a restrict modifier (and posix > > demands it), but C++ does not allow it. So add a C only version of > > __restrict, which expands to nothing if compiling C++. > > See ht

Re: CVS commit: src/sys/sys

2012-02-21 Thread Valeriy E. Ushakov
On Tue, Feb 21, 2012 at 10:53:08 +, Martin Husemann wrote: > Module Name: src > Committed By: martin > Date: Tue Feb 21 10:53:08 UTC 2012 > > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > There are some places where C99 allows a restrict modifier (and posix > deman

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/sys/sys

2011-11-20 Thread Joerg Sonnenberger
On Mon, Nov 21, 2011 at 03:34:12AM +, Christos Zoulas wrote: > In article <2021033128.ga3...@britannica.bec.de>, > Joerg Sonnenberger wrote: > > > >They are not consistent, which is a bug. There should be no plain > >__attribute__s in the tree except 3rd party code. > > Do you want me to

Re: CVS commit: src/sys/sys

2011-11-20 Thread Christos Zoulas
In article <2021033128.ga3...@britannica.bec.de>, Joerg Sonnenberger wrote: > >They are not consistent, which is a bug. There should be no plain >__attribute__s in the tree except 3rd party code. Do you want me to fix it, or are you? christos

Re: CVS commit: src/sys/sys

2011-11-20 Thread Joerg Sonnenberger
On Mon, Nov 21, 2011 at 03:27:55AM +, Christos Zoulas wrote: > In article <2020235018.ga32...@britannica.bec.de>, > Joerg Sonnenberger wrote: > >On Sun, Nov 20, 2011 at 06:37:00PM -0500, Christos Zoulas wrote: > >> Module Name: src > >> Committed By: christos > >> Date:

Re: CVS commit: src/sys/sys

2011-11-20 Thread Christos Zoulas
In article <2020235018.ga32...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Sun, Nov 20, 2011 at 06:37:00PM -0500, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Sun Nov 20 23:37:00 UTC 2011 >> >> Modified Files: >> src/sys/sys:

Re: CVS commit: src/sys/sys

2011-11-20 Thread Joerg Sonnenberger
On Sun, Nov 20, 2011 at 06:37:00PM -0500, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sun Nov 20 23:37:00 UTC 2011 > > Modified Files: > src/sys/sys: aio.h buf.h kernhist.h lockdebug.h lwp.h malloc.h mbuf.h > module.h mqueue.h namei.h pool.h

Re: CVS commit: src/sys/sys

2011-07-20 Thread David Holland
On Tue, Jul 05, 2011 at 03:13:02PM +0200, Joerg Sonnenberger wrote: > > Log Message: > > The manipulation macros for struct dirent are also used by the ufs/ffs > > code to manipulate the similar but not identical struct direct. For > > this reason they must remain type-polymorphic. Rev 1.25 bro

Re: CVS commit: src/sys/sys

2011-07-05 Thread Joerg Sonnenberger
On Tue, Jul 05, 2011 at 07:32:34AM +, David A. Holland wrote: > Log Message: > The manipulation macros for struct dirent are also used by the ufs/ffs > code to manipulate the similar but not identical struct direct. For > this reason they must remain type-polymorphic. Rev 1.25 broke that > prop

Re: CVS commit: src/sys/sys

2011-03-10 Thread Manuel Bouyer
On Wed, Mar 09, 2011 at 01:45:37PM -0800, Matt Thomas wrote: > > On Mar 9, 2011, at 1:14 PM, matthew green wrote: > > > > >> Module Name: src > >> Committed By: pooka > >> Date: Wed Mar 9 19:02:04 UTC 2011 > >> > >> Modified Files: > >>src/sys/sys: param.h > >> > >

Re: CVS commit: src/sys/sys

2011-03-09 Thread Warner Losh
On 03/09/2011 15:01, Antti Kantee wrote: On Wed Mar 09 2011 at 13:45:37 -0800, Matt Thomas wrote: On Mar 9, 2011, at 1:14 PM, matthew green wrote: Module Name:src Committed By: pooka Date: Wed Mar 9 19:02:04 UTC 2011 Modified Files: src/sys/sys: param.h Log Message:

Re: CVS commit: src/sys/sys

2011-03-09 Thread Antti Kantee
On Wed Mar 09 2011 at 13:45:37 -0800, Matt Thomas wrote: > > On Mar 9, 2011, at 1:14 PM, matthew green wrote: > > > > >> Module Name: src > >> Committed By: pooka > >> Date: Wed Mar 9 19:02:04 UTC 2011 > >> > >> Modified Files: > >>src/sys/sys: param.h > >> > >> Lo

Re: CVS commit: src/sys/sys

2011-03-09 Thread Matt Thomas
On Mar 9, 2011, at 1:14 PM, matthew green wrote: > >> Module Name: src >> Committed By:pooka >> Date:Wed Mar 9 19:02:04 UTC 2011 >> >> Modified Files: >> src/sys/sys: param.h >> >> Log Message: >> Bump version for new quota code -- even if ABIs didn't change, it's

re: CVS commit: src/sys/sys

2011-03-09 Thread matthew green
> Module Name: src > Committed By: pooka > Date: Wed Mar 9 19:02:04 UTC 2011 > > Modified Files: > src/sys/sys: param.h > > Log Message: > Bump version for new quota code -- even if ABIs didn't change, it's > still a major feature. we haven't done this in the past and now i have

Re: CVS commit: src/sys/sys

2011-02-18 Thread Matt Thomas
On Feb 18, 2011, at 7:39 PM, Jukka Ruohonen wrote: > On Sat, Feb 19, 2011 at 02:01:46AM +, Matt Thomas wrote: >> Module Name: src >> Committed By:matt >> Date:Sat Feb 19 02:01:46 UTC 2011 >> >> Modified Files: >> src/sys/sys: cdefs.h >> >> Log Message: >> Add __

Re: CVS commit: src/sys/sys

2011-02-18 Thread Jukka Ruohonen
On Sat, Feb 19, 2011 at 02:01:46AM +, Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Sat Feb 19 02:01:46 UTC 2011 > > Modified Files: > src/sys/sys: cdefs.h > > Log Message: > Add __CTASSERT(x) Why can't there be just a single CTASSERT(x)? Alternatively, a

Re: CVS commit: src/sys/sys

2011-02-18 Thread Aymeric Vincent
"Jonathan A. Kollasch" writes: > On Thu, Feb 17, 2011 at 07:28:46PM +, Matt Thomas wrote: >> >> Log Message: >> Move lwp_getpcb to the area with the rest of the _KERNEL function >> declarations. > > This (probably) is what broke the gdb build in its kvm code. > Apparently it needs _KMEMUSER

Re: CVS commit: src/sys/sys

2011-02-18 Thread Jonathan A. Kollasch
On Thu, Feb 17, 2011 at 07:28:46PM +, Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Thu Feb 17 19:28:46 UTC 2011 > > Modified Files: > src/sys/sys: lwp.h > > Log Message: > Move lwp_getpcb to the area with the rest of the _KERNEL function > declarations. >

Re: CVS commit: src/sys/sys

2010-11-13 Thread Martin Husemann
On Sat, Nov 13, 2010 at 08:41:41AM +, Masao Uebayashi wrote: > Module Name: src > Committed By: uebayasi > Date: Sat Nov 13 08:41:41 UTC 2010 > > Modified Files: > src/sys/sys: param.h > > Log Message: > Include uvm/uvm_param.h from here to provide PAGE_SIZE and other > VM rela

Re: CVS commit: src/sys/sys

2010-07-06 Thread Adam Hamsik
On Jul,Wednesday 7 2010, at 3:37 AM, Chuck Silvers wrote: > Module Name: src > Committed By: chs > Date: Wed Jul 7 01:37:35 UTC 2010 > > Modified Files: > src/sys/sys: param.h > > Log Message: > welcome to 5.99.35 (changes for updated COMPAT_LINUX). Thanks a lot chuck for your

Re: CVS commit: src/sys/sys

2010-03-20 Thread Joerg Sonnenberger
On Sat, Mar 20, 2010 at 10:43:50AM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sat Mar 20 14:43:50 UTC 2010 > > Modified Files: > src/sys/sys: bitops.h > > Log Message: > /*LINTED*/ is too wide a brush. At least the second cast is a bug in lin

Re: CVS commit: src/sys/sys

2009-09-02 Thread Bernd Ernesti
On Wed, Sep 02, 2009 at 03:45:10PM +, Thor Lancelot Simon wrote: > Module Name: src > Committed By: tls > Date: Wed Sep 2 15:45:10 UTC 2009 > > Modified Files: > src/sys/sys: param.h > > Log Message: > Bump __NetBSD_Version__ for previous, per ad@ -- welcome to 5.99.16. For w

Re: CVS commit: src/sys/sys

2009-08-10 Thread Christos Zoulas
On Aug 10, 7:03pm, t...@netbsd.org (Matthias Scheler) wrote: -- Subject: Re: CVS commit: src/sys/sys | On Mon, Aug 10, 2009 at 12:59:57PM -0400, Christos Zoulas wrote: | > | That should allows us to keep the old-casts and avoid warnings. | > | > This cannot possibly work because t

Re: CVS commit: src/sys/sys

2009-08-10 Thread Matthias Scheler
On Mon, Aug 10, 2009 at 12:59:57PM -0400, Christos Zoulas wrote: > | That should allows us to keep the old-casts and avoid warnings. > > This cannot possibly work because the syntax parsing happens after the macro > is expanded and the macro is expanded in c++ code. Why would that matter? G++ sho

Re: CVS commit: src/sys/sys

2009-08-10 Thread Christos Zoulas
On Aug 10, 5:27pm, t...@netbsd.org (Matthias Scheler) wrote: -- Subject: Re: CVS commit: src/sys/sys | On Sun, Aug 09, 2009 at 09:20:02PM +, Christos Zoulas wrote: | > In article <20090809210918.gc22...@drowsy.duskware.de>, | > Martin Husemann wrote: | > >On Sun, Aug 09,

Re: CVS commit: src/sys/sys

2009-08-10 Thread Matthias Scheler
On Sun, Aug 09, 2009 at 11:23:53PM +0200, Tonnerre LOMBARD wrote: > There may be valid reasons not to want to have them. Yes, in C++ sources and header files. System header files are C headers, not C++ headers. Kind regards P.S. The fundamental problem is of course that C++ tries to be

Re: CVS commit: src/sys/sys

2009-08-10 Thread Matthias Scheler
On Sun, Aug 09, 2009 at 09:20:02PM +, Christos Zoulas wrote: > In article <20090809210918.gc22...@drowsy.duskware.de>, > Martin Husemann wrote: > >On Sun, Aug 09, 2009 at 09:29:50PM +0200, Tonnerre LOMBARD wrote: > >> Unfortunately, these are widely used headers. We don't want to break > >> -

Re: CVS commit: src/sys/sys

2009-08-10 Thread David Laight
On Mon, Aug 10, 2009 at 12:24:47AM +0200, Martin Husemann wrote: > On Sun, Aug 09, 2009 at 09:20:02PM +, Christos Zoulas wrote: > > The new style casts are very useful because they show programming intent. So do C casts! provided what you are casting is an integer type or a pointer to a struct

Re: CVS commit: src/sys/sys

2009-08-09 Thread Tonnerre LOMBARD
Salut, On Mon, Aug 10, 2009 at 12:24:47AM +0200, Martin Husemann wrote: > On Sun, Aug 09, 2009 at 09:20:02PM +, Christos Zoulas wrote: > > The new style casts are very useful because they show programming intent. > > Yes, new style casts are fine. > > But warning about old style casts in a l

Re: CVS commit: src/sys/sys

2009-08-09 Thread Martin Husemann
On Sun, Aug 09, 2009 at 09:20:02PM +, Christos Zoulas wrote: > The new style casts are very useful because they show programming intent. Yes, new style casts are fine. But warning about old style casts in a language that is designed to be C compatible is plain stupid. Besides, there should b

Re: CVS commit: src/sys/sys

2009-08-09 Thread Christos Zoulas
In article <20090809210918.gc22...@drowsy.duskware.de>, Martin Husemann wrote: >On Sun, Aug 09, 2009 at 09:29:50PM +0200, Tonnerre LOMBARD wrote: >> Unfortunately, these are widely used headers. We don't want to break >> -Wold-style-casts in general. > >Why not? > >It is IMHO a very useless and s

Re: CVS commit: src/sys/sys

2009-08-09 Thread Tonnerre LOMBARD
Salut, On Sun, Aug 09, 2009 at 11:09:18PM +0200, Martin Husemann wrote: > On Sun, Aug 09, 2009 at 09:29:50PM +0200, Tonnerre LOMBARD wrote: > > Unfortunately, these are widely used headers. We don't want to break > > -Wold-style-casts in general. > > Why not? > > It is IMHO a very useless and st

Re: CVS commit: src/sys/sys

2009-08-09 Thread Martin Husemann
On Sun, Aug 09, 2009 at 09:29:50PM +0200, Tonnerre LOMBARD wrote: > Unfortunately, these are widely used headers. We don't want to break > -Wold-style-casts in general. Why not? It is IMHO a very useless and stupid warning. Martin (wering his C++ programmer hat)

Re: CVS commit: src/sys/sys

2009-08-09 Thread Christos Zoulas
In article <20090809191929.gc3...@snowdrop.l8s.co.uk>, David Laight wrote: >On Sat, Aug 08, 2009 at 05:23:15PM -0400, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Sat Aug 8 21:23:15 UTC 2009 >> >> Modified Files: >> src/sys/sys: bswap.

Re: CVS commit: src/sys/sys

2009-08-09 Thread Tonnerre LOMBARD
Salut, On Sun, Aug 09, 2009 at 08:19:29PM +0100, David Laight wrote: > > Modified Files: > > src/sys/sys: bswap.h cdefs.h endian.h termios.h > > > > Log Message: > > Create and use __CAST(type, value) in headers so that modern c++ with > > -Wold-style-casts does not bitch. > > Do we really h

Re: CVS commit: src/sys/sys

2009-08-09 Thread David Laight
On Sat, Aug 08, 2009 at 05:23:15PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sat Aug 8 21:23:15 UTC 2009 > > Modified Files: > src/sys/sys: bswap.h cdefs.h endian.h termios.h > > Log Message: > Create and use __CAST(type, value) in headers s

<    1   2