[dev] Re: Talk about suckless

2013-10-06 Thread Martin Kopta
On Wed, Sep 25, 2013 at 02:26:08PM +0200, Martin Kopta wrote: > Hi, I will be giving a talk about suckless project on 6th October [1] for > small > audience (from 10 to 100 people). Talk description is (translated): > > "Introduction to ideology of software that smells less and presentation of >

[dev] Re: [st] [PATCH] Avoid buffer overflows in the case of key-mapped strings.

2013-10-06 Thread Mark Edgar
On Sun, Oct 6, 2013 at 12:24 PM, Mark Edgar wrote: > Oh, and let's do the same for Mousekey while we're at it. Here's a patch file for that. This one has correct behavior in case the user neglects to initialize .s in a Mousekey entry. -Mark 0004-Avoid-buffer-overrun-in-bpress.patch Descri

[dev] Re: [st] [PATCH] Avoid buffer overflows in the case of key-mapped strings.

2013-10-06 Thread Mark Edgar
Oh, and let's do the same for Mousekey while we're at it. -Mark Avoid buffer overrun in bpress(). Use correct type for Mousekey.b (XButtonEvent.button). --- a/st.c +++ b/st.c @@ -256,9 +256,9 @@ typedef struct { } XWindow; typedef struct { - int b; + uint b; uint mask; - char s[ESC_BU

Re: [dev] [sbase] [PATCH] ls: add option to reverse the sort order

2013-10-06 Thread Rob
On Sat, Oct 05, 2013 at 03:47:05PM +0400, Alexander S. wrote: > 2013/10/5 Rob : > > On Fri, Oct 04, 2013 at 05:45:56PM +0400, Alexander S. wrote: > > I disagree - rather than adding a sort call and changing the program's > > runtime complexity, can't we just reduce the amount of lines _and_ > > dup