enable XCB on vax and m88k

2010-11-20 Thread Matthieu Herrb
Hi, XCB seems to work with static only architectures now. Could one of you try to build xenocara on a vax or m88k with that, and send me the log, especially if it fails? Thanks in advance. Index: bsd.xconf.mk === RCS file:

Re: wihap_data_input - wi_start - panic: m_copydata: len -7 0

2010-11-20 Thread Kenneth R Westerback
On Wed, May 19, 2010 at 10:49:37PM -0700, Greg Steuck wrote: I've only now caught the full trace of this bug that bit me many times over. The bug is non-deterministic, but happens often enough that I can be sure it's fixed if I don't see it in a week. panic: m_copydata: len -7 0 kdb

ddb: remove load/store count code

2010-11-20 Thread Miod Vallat
Most platform do not implement load/store counters; is there really any usefulness in keeping this code? Miod Index: share/man/man4/ddb.4 === RCS file: /cvs/src/share/man/man4/ddb.4,v retrieving revision 1.69 diff -u -p -r1.69 ddb.4

ddb: simplify breakpoint and watchpoint code

2010-11-20 Thread Miod Vallat
The breakpoint and watchpoint code inherited from Mach used to be able (under Mach) to put {break,watch}points in user processes. This is disabled in BSD, but there is still tentacles of this left in the code and structures, which only make it larger. Any objections against the following cleaning

Re: sys/types.h in sys/socket.h

2010-11-20 Thread Ted Unangst
On Sat, Nov 20, 2010 at 9:18 AM, Mark Kettenis mark.kette...@xs4all.nl wrote: openbsd is apparently among the last operating systems to require sys/types.h before sys/socket.h. posix doesn't require this and it runs contrary to current recommendations i think, so it's just one more weird

Re: sys/types.h in sys/socket.h

2010-11-20 Thread Ted Unangst
On Sat, Nov 20, 2010 at 11:54 AM, Ted Unangst ted.unan...@gmail.com wrote: On Sat, Nov 20, 2010 at 9:18 AM, Mark Kettenis mark.kette...@xs4all.nl wrote: openbsd is apparently among the last operating systems to require sys/types.h before sys/socket.h. posix doesn't require this and it runs

add caveat section to mbtowc(3) man page

2010-11-20 Thread Stefan Sperling
I really don't like how the different multibyte-whidechar conversion functions treat error conditions differently. But short of travelling back in time to get the ANSI C standard fixed all we can do is documenting the flaws and recommend better alternatives. ok? Index: mbtowc.3

Re: add an example to mbrtowc(3) man page

2010-11-20 Thread Ted Unangst
On Sat, Nov 20, 2010 at 11:48 AM, Stefan Sperling s...@openbsd.org wrote: I'm currently going through the man pages for the multibyte-widechar conversion APIs. No examples are provided so it's hard to tell at a glance how to use a function safely. Below is a first stab at adding an example

Re: ddb: simplify breakpoint and watchpoint code

2010-11-20 Thread Kenneth R Westerback
On Sat, Nov 20, 2010 at 03:44:13PM +, Miod Vallat wrote: The breakpoint and watchpoint code inherited from Mach used to be able (under Mach) to put {break,watch}points in user processes. This is disabled in BSD, but there is still tentacles of this left in the code and structures, which

Re: add an example to mbrtowc(3) man page

2010-11-20 Thread Jason McIntyre
On Sat, Nov 20, 2010 at 05:48:42PM +0100, Stefan Sperling wrote: I'm currently going through the man pages for the multibyte-widechar conversion APIs. No examples are provided so it's hard to tell at a glance how to use a function safely. Below is a first stab at adding an example for using

Re: add an example to mbrtowc(3) man page

2010-11-20 Thread Stefan Sperling
On Sat, Nov 20, 2010 at 07:18:57PM +0100, Stefan Sperling wrote: On Sat, Nov 20, 2010 at 12:24:06PM -0500, Ted Unangst wrote: On Sat, Nov 20, 2010 at 11:48 AM, Stefan Sperling s...@openbsd.org wrote: I'm currently going through the man pages for the multibyte-widechar conversion APIs. No

Re: sys/types.h in sys/socket.h

2010-11-20 Thread Philip Guenther
On Sat, Nov 20, 2010 at 9:10 AM, Ted Unangst ted.unan...@gmail.com wrote: On Sat, Nov 20, 2010 at 11:54 AM, Ted Unangst ted.unan...@gmail.com wrote: On Sat, Nov 20, 2010 at 9:18 AM, Mark Kettenis mark.kette...@xs4all.nl wrote: openbsd is apparently among the last operating systems to require