Maybe just copy and use arg.h from st or dwm?
Hi,
Here's a patch that fixes a bug when calling `makedrawglyphfontspecs'
in `drawregion'. Wasn't offseting the pointer into the input glyphs
array by `x1'. The bug isn't causing any problems currently, because
`drawregion' is always called with `x1' and `y1' values of 0, but if
this ever changes
On Sat, May 09, 2015 at 01:01:30PM -0400, Wolfgang Corcoran-Mathe wrote:
> ---
> join.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/join.c b/join.c
> index 2522404..58f0f88 100644
> --- a/join.c
> +++ b/join.c
> @@ -292,7 +292,7 @@ initspan(struct span *sp)
> {
>
---
join.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/join.c b/join.c
index 2522404..58f0f88 100644
--- a/join.c
+++ b/join.c
@@ -292,7 +292,7 @@ initspan(struct span *sp)
{
sp->nl = 0;
sp->maxl = INIT;
- sp->lines = ereallocarray(NULL, INIT, sizeof(
By replacing the first non-alphanumeric character (except '!' which is
replaced by ' ' to get it ignored) with '\0' we distinguish the command
name from the parameters. That way the 'substitute' command (and its alias
's') is properly recognized.
This is somewhat hacky because for the 'substitute'
We use the fork/exec pattern to execute an external command. Two functions
using this approach are implemented in this patch.
1. exec_external_cmd
uses the pipe function to write to the stdin of the executed command
and read from its stdout.
The data being sent to the external command's stdin co