Introduction
Introduction Statistics Contact Development Disclaimer Help
tRemove stupid assignation in memcpy() - st - [fork] customized build of st, th…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 66556d967028a0b770e9bfcb9667389a6e994a58
parent 39964614b742c4ec98a326762d98470cb987a45b
Author: Roberto E. Vargas Caballero <[email protected]>
Date: Fri, 15 Apr 2016 07:58:26 +0200
Remove stupid assignation in memcpy()
Diffstat:
M st.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -1404,9 +1404,9 @@ stty(void)
if ((n = strlen(s)) > siz-1)
die("stty parameter length too long\n");
*q++ = ' ';
- q = memcpy(q, s, n);
+ memcpy(q, s, n);
q += n;
- siz-= n + 1;
+ siz -= n + 1;
}
*q = '\0';
if (system(cmd) != 0)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.