pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af75c43
)
use memmove() instead of memcpy() in ttyread().
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 28 Nov 2010 00:40:39 +0000
(
01:40
+0100)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 28 Nov 2010 00:40:39 +0000
(
01:40
+0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
3829e73
..
4d04416
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-630,7
+630,7
@@
ttyread(void) {
}
/* keep any uncomplete utf8 char for the next call */
- mem
cpy
(buf, ptr, buflen);
+ mem
move
(buf, ptr, buflen);
}
void