Re: fmt(1) breaks at non-breaking spaces

2017-02-19 Thread Todd C. Miller
On Sun, 19 Feb 2017 21:21:55 +0100, Ingo Schwarze wrote: > While we cannot handle each and every corner case of arcane Unicode > characters and should not even try, U+00A0 NO-BREAK SPACE seems > common enough to me to be handled even in such a simple tool, in > particular given that the fix is tri

Re: ksh(1): fix $RANDOM documentation

2017-02-19 Thread Todd C. Miller
On Sun, 19 Feb 2017 18:33:59 +0100, Ingo Schwarze wrote: > So, here is my suggestion. I don't think we need to say that ksh(1) > calls arc4random(3) indirectly via rand(3). From the perspective > of ksh(1) users, that's an implementation detail. OK millert@ - todd

fmt(1) breaks at non-breaking spaces

2017-02-19 Thread Ingo Schwarze
Hi, Eric Pruitt wrote on Sun, Feb 12, 2017 at 10:21:11PM -0800: > I think _that_ is a bug: the reason non-breaking spaces exist > is so programs do not separate words at that character > (https://en.wikipedia.org/wiki/Non-breaking_space). GNU fmt > respects non-breaking spaces and handles them ac

Re: regress/pledge: generic cleanup

2017-02-19 Thread Theo Buehler
On Sun, Feb 19, 2017 at 07:25:25AM +0100, Sebastien Marie wrote: > Hi, > > The regress/sys/kern/pledge/generic test is disabled and currently > failing mostly due to the fact that wlpaths is disabled in GENERIC > kernel. > > So remove (or disable exactly) parts related to wlpaths in "generic" > t

Re: ksh(1): fix $RANDOM documentation

2017-02-19 Thread Theo Buehler
On Sun, Feb 19, 2017 at 06:33:59PM +0100, Ingo Schwarze wrote: > Hi Anton, > > Anton Lindqvist wrote on Sun, Feb 19, 2017 at 08:29:31AM +0100: > > > Usage of rand was replaced with arc4random (var.c, r1.17) and later > > documented (ksh.1, r1.70). The change was later on reverted (var.c, > > r1.3

Re: ksh(1): fix $RANDOM documentation

2017-02-19 Thread Ingo Schwarze
Hi Anton, Anton Lindqvist wrote on Sun, Feb 19, 2017 at 08:29:31AM +0100: > Usage of rand was replaced with arc4random (var.c, r1.17) and later > documented (ksh.1, r1.70). The change was later on reverted (var.c, > r1.39) back to using rand and srand_deterministic. The patch below > removes the

speed up rasops32

2017-02-19 Thread joshua stein
Some EFI framebuffers are very slow, so rather than sending every pixel of a character one at a time, send one row at a time. Under VMWare fusion, this change makes a kernel boot to userland more than 10 seconds faster. It also helps a noticeable bit on my MacBook Air before inteldrm takes over.

Re: c99 initialize struct protosw

2017-02-19 Thread Jeremie Courreges-Anglas
David Hill writes: > Hello - > > This moves the 'struct protosw' declarations to use C99 initializers. > Requested by mpi@ ok jca@ Just one nit, [...] > Index: net/rtsock.c > === > RCS file: /cvs/src/sys/net/rtsock.c,v > retrievi

regress/pledge: ioctl override a user settings

2017-02-19 Thread Sebastien Marie
Hi, The Makefile for regress/sys/kern/pledge/ioctl defines a user-settings (SUDO), and makes it to fail when doas(1) isn't configured. So just remove it, as it should be defined in /etc/mk.conf is needed. -- Sebastien Marie Index: Makefile =