st

My fork of st.
git clone git://git.alex.balgavy.eu/st.git
Log | Files | Refs | README | LICENSE

commit 54bc450dbf057e66bed5f10d13d90a469e5ca8ae
parent af75c433e56e74d2ad7a315d504a9303ea532f18
Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date:   Sun, 28 Nov 2010 01:40:39 +0100

use memmove() instead of memcpy() in ttyread().

Diffstat:
Mst.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/st.c b/st.c @@ -630,7 +630,7 @@ ttyread(void) { } /* keep any uncomplete utf8 char for the next call */ - memcpy(buf, ptr, buflen); + memmove(buf, ptr, buflen); } void