diff options
author | Aurélien Aptel | 2010-11-28 01:40:39 +0100 |
---|---|---|
committer | Aurélien Aptel | 2010-11-28 01:40:39 +0100 |
commit | 5db0621c3d6675b2ab43f67c1ea27bc4f30be7e5 (patch) | |
tree | fe57ee103c4e90a1b9d316df4fe7c76e324c0fc8 /st.c | |
parent | a13cd5897a0ca1bba0972d021191cc4670349bf6 (diff) | |
download | aur-5db0621c3d6675b2ab43f67c1ea27bc4f30be7e5.tar.gz |
use memmove() instead of memcpy() in ttyread().
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -630,7 +630,7 @@ ttyread(void) { } /* keep any uncomplete utf8 char for the next call */ - memcpy(buf, ptr, buflen); + memmove(buf, ptr, buflen); } void |