Re: tetris: remove unused vars

2019-05-19 Thread Lawrence Teo
On Sun, May 19, 2019 at 02:39:20PM -0400, Jake Champlin wrote: > Revision 1.23 added unveil to tetris, yet left two unused variables in > scores.c > Removes unused vars in scores.c, that were added to tetris.c in v1.23 Fixed, thanks! > Index: scores.c >

[PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-19 Thread Ricardo Fraile
Hi all, As exists the variable "library_aslr" to disable library randomization on rc, it would be helpful to have the same option for the kernel. Here is the patch to add the "kernel_aslr" swich. Regards, Ricardo F. diff --git etc/rc etc/rc index 9a3917986cc..df2abbaa652 100644 --- etc/rc

Re: mdoc.7: fix Dd example

2019-05-19 Thread Jason McIntyre
On Sun, May 19, 2019 at 09:52:39PM +0200, Klemens Nanni wrote: > On Sun, May 19, 2019 at 07:31:19PM +0100, Jason McIntyre wrote: > > no. just use $Mdocdate$ and it gets expanded on commit. just like when > > you add $OpenBSD$: you don;t fill that in, right? > OK, will do so. No, I'll just wite

snake: unveil + pledge earlier

2019-05-19 Thread jake
Unveils snake and pledges earlier during execution. Index: snake.c === RCS file: /cvs/src/games/snake/snake.c,v retrieving revision 1.33 diff -u -p -r1.33 snake.c --- snake.c 20 Jan 2019 04:14:19 - 1.33 +++ snake.c

Re: mdoc.7: fix Dd example

2019-05-19 Thread Klemens Nanni
On Sun, May 19, 2019 at 07:31:19PM +0100, Jason McIntyre wrote: > no. just use $Mdocdate$ and it gets expanded on commit. just like when > you add $OpenBSD$: you don;t fill that in, right? OK, will do so. No, I'll just wite `$OpenBSD$'. > use $Mdocdate$ and let expansion happen, or just use the

tetris: remove unused vars

2019-05-19 Thread Jake Champlin
Revision 1.23 added unveil to tetris, yet left two unused variables in scores.c Removes unused vars in scores.c, that were added to tetris.c in v1.23 Index: scores.c === RCS file: /cvs/src/games/tetris/scores.c,v retrieving revision

Re: mdoc.7: fix Dd example

2019-05-19 Thread Jason McIntyre
On Sun, May 19, 2019 at 08:19:09PM +0200, Klemens Nanni wrote: > jmc noted that I didn't include my actual line, so here it is. > ah! > First I was using only > > .Dd $Mdocdate$ > > but that warned me > > mandoc: ./files/varnishreload.1:2:2: WARNING: missing date, using >

Re: mdoc.7: fix Dd example

2019-05-19 Thread Klemens Nanni
jmc noted that I didn't include my actual line, so here it is. First I was using only .Dd $Mdocdate$ but that warned me mandoc: ./files/varnishreload.1:2:2: WARNING: missing date, using today's date so I did what I was told, according to mdoc(7) .Dd $Mdocdate: May

Re: amd64: i8254_delay(): simpler microsecond->ticks conversion

2019-05-19 Thread Scott Cheloha
On Sun, May 19, 2019 at 01:23:17AM -0500, Scott Cheloha wrote: > On Sat, May 18, 2019 at 10:57:32PM -0700, Mike Larkin wrote: > > On Sun, May 19, 2019 at 12:47:11AM -0500, Scott Cheloha wrote: > > > This code is really fidgety and I think we can do better. > > > > > > If we use a 64-bit value

mdoc.7: fix Dd example

2019-05-19 Thread Klemens Nanni
The example seems to have an extranous comma, which mandoc(1)'s `-T lint' warns about: $ man mdoc | col -b | grep 'document date' Dd document date: $Mdocdate$ | month day, year $ mandoc -Tlint ./files/varnishreload.1 mandoc:

Re: amd64: i8254_delay(): simpler microsecond->ticks conversion

2019-05-19 Thread Scott Cheloha
On Sat, May 18, 2019 at 10:57:32PM -0700, Mike Larkin wrote: > On Sun, May 19, 2019 at 12:47:11AM -0500, Scott Cheloha wrote: > > This code is really fidgety and I think we can do better. > > > > If we use a 64-bit value here for microseconds the compiler arranges > > for all the math to be done