ksh.1: Add a missing Ns

2022-12-24 Thread Josiah Frentsos
Index: ksh.1 === RCS file: /cvs/src/bin/ksh/ksh.1,v retrieving revision 1.217 diff -u -p -r1.217 ksh.1 --- ksh.1 13 Sep 2022 20:26:26 - 1.217 +++ ksh.1 24 Dec 2022 17:22:08 - @@ -3454,9 +3454,7 @@ option is use

Re: LLVM 15: mismatched bound errors

2022-12-24 Thread Todd C . Miller
On Sat, 24 Dec 2022 12:52:59 +0100, Patrick Wildt wrote: > Right, sorry for derailing the thread with a different discussion. > Here's a diff only for the array/ptr changes. OK millert@ After some testing this seems to only affect code where the prototype and the function declaration use a mix o

Re: futex(2): change FUTEX_WAIT wmesg: "fsleep" -> "ftxwait"

2022-12-24 Thread Scott Cheloha
On Fri, Dec 23, 2022 at 05:20:54PM +0100, Mark Kettenis wrote: > > Date: Fri, 23 Dec 2022 08:37:43 -0600 > > From: Scott Cheloha > > > > The blocking futex operation is called FUTEX_WAIT. I think "ftxwait" > > is literally the perfect wmesg. > > > > "fsleep" is a lot less obvious. > > > > ok?

Re: LLVM 15: mismatched bound errors

2022-12-24 Thread Theo Buehler
On Sat, Dec 24, 2022 at 12:52:59PM +0100, Patrick Wildt wrote: > On Thu, Dec 22, 2022 at 01:14:57AM +0100, Patrick Wildt wrote: > > On Tue, Dec 20, 2022 at 05:48:41PM -0700, Todd C. Miller wrote: > > > On Tue, 20 Dec 2022 23:44:08 +0100, Patrick Wildt wrote: > > > > > > > clang complains when the

Re: LLVM 15: mismatched bound errors

2022-12-24 Thread Patrick Wildt
On Thu, Dec 22, 2022 at 01:14:57AM +0100, Patrick Wildt wrote: > On Tue, Dec 20, 2022 at 05:48:41PM -0700, Todd C. Miller wrote: > > On Tue, 20 Dec 2022 23:44:08 +0100, Patrick Wildt wrote: > > > > > clang complains when the function is declared with a fixed array size in > > > a parameter while t

Re: units(1): support personal library

2022-12-24 Thread Crystal Kolipe
On Sat, Dec 24, 2022 at 11:56:37AM +0100, Florian Obser wrote: > This is at least supported by FreeBSD's units(1) as well as by > systemd/Linux. Looks good, just one typo noted below: > > diff --git units.1 units.1 > index d7a45f729b3..916d1b03d32 100644 > --- units.1 > +++ units.1 > @@ -79,6 +7

units(1): support personal library

2022-12-24 Thread Florian Obser
This is at least supported by FreeBSD's units(1) as well as by systemd/Linux. With a personal library like this: $ cat ~/units.lib assload 8 stone butt2 hogshead buttload6 seams solarmass 1.98847e30 kg I can convert my mass into more convenient units: $ units -f

Re: sparc64: pull retry logic out of tickcmpr_set(), sys_tickcmr_set()

2022-12-24 Thread Mark Kettenis
> Date: Thu, 22 Dec 2022 17:08:12 -0600 > From: Scott Cheloha > > To keep the %TICK and %SYS_TICK code aligned with the Hummingbird > %STICK code, let's pull the retry logic out of tickcmpr_set() and > sys_tickcmpr_set() into tick_rearm() and sys_tick_rearm(), > respectively. > > As far as I kno

Re: sxitimer(4): switch to clockintr

2022-12-24 Thread Mark Kettenis
> Date: Wed, 14 Dec 2022 17:57:10 -0600 > From: Scott Cheloha > > On Wed, Dec 14, 2022 at 11:45:31PM +0100, Mark Kettenis wrote: > > > Date: Fri, 9 Dec 2022 11:28:43 -0600 > > > From: Scott Cheloha > > > > > > sxitimer(4) is the fourth and final armv7 clock interrupt driver that > > > needs to

Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen

2022-12-24 Thread Mark Kettenis
> From: Abel Abraham Camarillo Ojeda > Date: Sat, 24 Dec 2022 04:09:42 -0600 > > Notice it only fails *sometimes*, sometimes after the first unhibernate I > cannot get to hibernate/suspend again. > Sometimes I can get several hibernate/unhibernate cycles where everything > works... > > Will try

Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen

2022-12-24 Thread Abel Abraham Camarillo Ojeda
Notice it only fails *sometimes*, sometimes after the first unhibernate I cannot get to hibernate/suspend again. Sometimes I can get several hibernate/unhibernate cycles where everything works... Will try to reproduce and check apmd debug. I know almost nothing about unhibernate, one should expec

Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen

2022-12-24 Thread Bodie
On Fri Dec 23, 2022 at 10:13 PM CET, Abel Abraham Camarillo Ojeda wrote: > On Fri, Dec 23, 2022 at 2:46 PM Abel Abraham Camarillo Ojeda < > acam...@verlet.org> wrote: > > > Forgot to mention I don't think this is a regression, just started to use > > hibernate/unhibernate more often lately. > > But