Re: {r,s}mkx entries in terminfo db missing

2014-03-25 Thread Roberto E. Vargas Caballero
> I solved it (for the moment) by patching st, as patching st > is something you most likely do anyways. The patch, including > a description, can be found on the suckless wiki [1]. But this solution is a bit tricky, becuase you will have problems in the moment you connect to another system wher

Re: detach before suspend and attach after resume

2014-03-25 Thread Peter Kane
Hi Martin I'm not sure if you hoped this would help the "auto-resume on suspend with flash drive attached" problem that I mentioned in the "Kernel error with March 20th amd64 snapshot" thread on @misc, but it doesn't. Suspend/resume still works OK without a flash drive attached. Let me know if I c

Re: detach before suspend and attach after resume

2014-03-25 Thread Fred
On 03/25/14 23:07, Fred wrote: On 03/25/14 22:56, Fred wrote: On 03/25/14 20:42, Martin Pieuchot wrote: This diff should help to avoid some races occurring when resuming a machine with USB devices, please test! Since the Host Controllers are halted during suspend and reset on wakeup, all the c

Re: detach before suspend and attach after resume

2014-03-25 Thread Fred
On 03/25/14 22:56, Fred wrote: On 03/25/14 20:42, Martin Pieuchot wrote: This diff should help to avoid some races occurring when resuming a machine with USB devices, please test! Since the Host Controllers are halted during suspend and reset on wakeup, all the connected USB devices are disconn

Re: detach before suspend and attach after resume

2014-03-25 Thread Fred
On 03/25/14 20:42, Martin Pieuchot wrote: This diff should help to avoid some races occurring when resuming a machine with USB devices, please test! Since the Host Controllers are halted during suspend and reset on wakeup, all the connected USB devices are disconnected during a suspend/resume cy

detach before suspend and attach after resume

2014-03-25 Thread Martin Pieuchot
This diff should help to avoid some races occurring when resuming a machine with USB devices, please test! Since the Host Controllers are halted during suspend and reset on wakeup, all the connected USB devices are disconnected during a suspend/resume cycle. When a device is disconnected its pipe

Using unitialized variable in mg?

2014-03-25 Thread Brian Callahan
Hi tech -- In mg, paragraph.c, lines 48 and 86, is it possible that nospace could be used uninitialized in the first iteration of the while loop? Tiny diff below to fix it, if it is. OK? ~Brian Index: paragraph.c === RCS file:

Re: {r,s}mkx entries in terminfo db missing

2014-03-25 Thread Nils R
I solved it (for the moment) by patching st, as patching st is something you most likely do anyways. The patch, including a description, can be found on the suckless wiki [1]. There's just one issue left: when using the new termname (st-git), i hit this bug [2] in perls Term::Cap.pm (e.g. when

Re: Useless & expensive lookup in ether_output()

2014-03-25 Thread Martin Pieuchot
On 25/03/14(Tue) 16:52, Claudio Jeker wrote: > On Tue, Mar 25, 2014 at 11:39:30AM +0100, Martin Pieuchot wrote: > > Why do we do a lookup on all the addresses of the systems to know if the > > destination address given to ether_output() is on the carp interface? > > > > If this address is on any o

Re: Useless & expensive lookup in ether_output()

2014-03-25 Thread Claudio Jeker
On Tue, Mar 25, 2014 at 11:39:30AM +0100, Martin Pieuchot wrote: > Why do we do a lookup on all the addresses of the systems to know if the > destination address given to ether_output() is on the carp interface? > > If this address is on any of our interfaces we should not even end up > here. Sin

Useless & expensive lookup in ether_output()

2014-03-25 Thread Martin Pieuchot
Why do we do a lookup on all the addresses of the systems to know if the destination address given to ether_output() is on the carp interface? If this address is on any of our interfaces we should not even end up here. Since both arp_rtrequest() and nd6_rtrequest() change the ifp of the route ent