I'm going to apply it, but with this small change:
- csiescseq.mode[1] = *p;
+ csiescseq.mode[1] = (p < csiescseq.buf+csiescseq.len) ? *p : '\0';
because my suggestion was not totally true, and it was possible
go further of the end of the string.
Regards,
> I defined and this didn't solved, the same error. I didn't backtraced
> again.
>
Can you posted the output of your compilation process after adding
the define? (there was a very bad warning in your previous compilation).
Regards,
---
st.c | 62 +-
1 file changed, 49 insertions(+), 13 deletions(-)
diff --git a/st.c b/st.c
index 836ae21..b4736d8 100644
--- a/st.c
+++ b/st.c
@@ -197,14 +197,14 @@ typedef struct {
} TCursor;
/* CSI Escape sequence structs */
-/*
Ok, the third time's a charm heh. I hope the patch is alright now.
---
st.c | 62 +-
1 file changed, 49 insertions(+), 13 deletions(-)
diff --git a/st.c b/st.c
index 836ae21..b4736d8 100644
--- a/st.c
+++ b/st.c
@@ -197,14 +197,14 @@ typedef struct {
} TCursor;
/* CSI Escape sequence structs */
-/*
Hi,
This is mostly a bug fix release for non-Linux systems.
http://www.brain-dump.org/projects/abduco/abduco-0.4.tar.gz
with sha1sum
ccd576eb57d9481d5f372e31ce84b3020f661b68 abduco-0.4.tar.gz
Changes include:
* Fix socket creation on non-Linux systems
* More secure socket creation: the
On Wed, Mar 18, 2015 at 07:02:28AM +0100, Roberto E. Vargas Caballero wrote:
> Your problem is the commit 72d2accc22 which removed _BSD_SOURCE
> and introduced _DEFAULT_SOURCE instead, but since strsep is not a
> POSIX function, each system requires different defines. Can you test
> to define _BSD_