Re: [hackers] [PATCH 1/1] Add support for user-defined fallback fonts

2024-08-31 Thread Robert Bilski
o might not even be installed. -- Robert Bilski

[hackers] [libgrapheme][PATCH] Add reallocarray implementation

2022-07-30 Thread robert
reallocarray is nonstandard and glibc declares it only when _GNU_SOURCE is defined. Without this patch or _GNU_SOURCE defined, I get a seg fault from reallocarray being implicitly declared with the wrong signature. --- gen/util.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/gen/

[hackers] [quark][PATCH] Fix strftime error handling

2022-07-09 Thread robert
Unlike snprintf, strftime buffer contents are undefined when it fails, so make sure the buffer is null-terminated. To prevent garbage from being printed out, we simply set the timestamp to the empty string, but maybe setting it to "unknown time" or something similar would be better. Either way, I d

[hackers] [st][PATCH] Fix mousereport

2022-01-08 Thread robert
This patch replaces the previous one I sent. The following changes are made in this patch: - Fix tracking of pressed buttons. Previously, pressing two buttons and then releasing one would make st think no buttons are pressed, which in particular broke MODE_MOUSEMOTION. - Always send the lo

[hackers] Re: [st][PATCH] Fix MODE_MOUSEMOTION reporting

2022-01-07 Thread Robert Russell
doesn't support buttons past 11. If this all sounds right to you, I can submit a new patch. Regards, Robert On Fri, Jan 7, 2022 at 3:33 PM robert wrote: > > Prior to this commit, mousereport tracks the previous button > press/release in the oldbutton variable. When MODE_MOUSEMOTION i

[hackers] [st][PATCH] Fix MODE_MOUSEMOTION reporting

2022-01-07 Thread robert
Prior to this commit, mousereport tracks the previous button press/release in the oldbutton variable. When MODE_MOUSEMOTION is set, mouse reports should be sent for motion events only if a mouse button is held down, and mousereport uses oldbutton to decide if a button is pressed. But this is buggy;

[hackers] [quark][PATCH] Don't reject /.well-known/ (see RFC 8615)

2020-08-15 Thread robert
Previously, all hidden targets were rejected with 403, but /.well-known/ and its contents should be an exception. --- http.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/http.c b/http.c index 49b30dc..7f20c23 100644 --- a/http.c +++ b/http.c @@ -600,8 +600,10 @@ http_s

[hackers] [sbase][PATCH] paste: fix warning on indentation in parallel()

2016-12-26 Thread Robert Karl
_Bug_ Got the following error after cloning and running make: paste.c: In function ‘parallel’: paste.c:70:4: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] else ^~~~ paste.c:72:5: note: ...this statement, but the latter is misleadingly indented as if it is guard

Re: [hackers] Compiling stali

2015-12-11 Thread Robert Ransom
cuted because its > shebang can't be interpreted? That's a binary executable (produced by $(LD)). The problem is ‘mount -o noexec’. Robert Ransom

Re: [hackers] [scc] Fix character sequences || Roberto E. Vargas Caballero

2015-11-25 Thread Robert Ransom
On 11/24/15, g...@suckless.org wrote: > commit 1aa2143073c30f374c33e0288135dc3e04494588 > Author: Roberto E. Vargas Caballero > AuthorDate: Tue Nov 24 20:29:45 2015 +0100 > Commit: Roberto E. Vargas Caballero > CommitDate: Tue Nov 24 20:29:45 2015 +0100 > + case '\'': c = '\\'; retu