[sparc64] dead code in emul.c

2018-08-07 Thread Miod Vallat
emul.c r1.19 removed a bunch of code, but not enough, and left dead code around. Index: emul.c === RCS file: /OpenBSD/src/sys/arch/sparc64/sparc64/emul.c,v retrieving revision 1.23 diff -u -p -r1.23 emul.c --- emul.c 16 Nov 2014

fsck - abort trap on openBSD current

2018-08-07 Thread jungle Boogie
Hi All, Getting some unexpected inconsistencies reported during boot up on my openBSD -current amd64 machine: https://i.imgur.com/ZxnXrx8.jpg How can I fsck /var if fsck abort traps? Wait for next build? Thanks!

Re: Remove dead assignment in login(1)

2018-08-07 Thread Tom Cosgrove
>>> Tom Cosgrove 7-Aug-18 20:14 >>> > > >>> Frederic Cambus 7-Aug-18 16:15 >>> > > > > Hi tech@, > > > > Since rev 1.36, the instance variable is never read again so we can > > simply drop the else clause with the assignment. > > > > Comments? OK? > > > > Index: usr.bin/login/login.c > >

Re: Remove dead assignment in login(1)

2018-08-07 Thread Tom Cosgrove
>>> Frederic Cambus 7-Aug-18 16:15 >>> > > Hi tech@, > > Since rev 1.36, the instance variable is never read again so we can > simply drop the else clause with the assignment. > > Comments? OK? > > Index: usr.bin/login/login.c > == >

Re: Remove dead assignment in login(1)

2018-08-07 Thread Todd C. Miller
On Tue, 07 Aug 2018 17:15:58 +0200, Frederic Cambus wrote: > Since rev 1.36, the instance variable is never read again so we can > simply drop the else clause with the assignment. OK millert@ - todd

Remove dead assignment in login(1)

2018-08-07 Thread Frederic Cambus
Hi tech@, Since rev 1.36, the instance variable is never read again so we can simply drop the else clause with the assignment. Comments? OK? Index: usr.bin/login/login.c === RCS file: /cvs/src/usr.bin/login/login.c,v retrieving revi

Re: bgpd: reload RIBs in background

2018-08-07 Thread Claudio Jeker
On Fri, Aug 03, 2018 at 04:31:58PM +0200, Claudio Jeker wrote: > So the reshuffling made it possible to simply run the reconfigure > of the RIBs in the background and no longer lock up the RDE for > extended times. In short this means that during 'bgpctl reload' > other bgpctl calls no longer block

uaudio(4) division by zero patch

2018-08-07 Thread Michael W. Bombardieri
Hello, I adapted the following patch from netbsd to prevent a division by zero in the uaudio driver. http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/uaudio.c.diff?r1=1.142&r2=1.143&f=h I haven't encountered this problem with my own device but possibly it can be triggered by some device or