indent(1): replace BSD bcopy() with C memmove()
This commit is contained in:
parent
97bc9a9384
commit
03e6aeef3a
@ -1136,7 +1136,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
if (sc_end - save_com + com_end - com_start > sc_size)
|
||||
errx(1, "input too long");
|
||||
bcopy(s_lab + com_start, sc_end, com_end - com_start);
|
||||
memmove(sc_end, s_lab + com_start, com_end - com_start);
|
||||
sc_end += com_end - com_start;
|
||||
e_lab = s_lab + com_start;
|
||||
while (e_lab > s_lab && (e_lab[-1] == ' ' || e_lab[-1] == '\t'))
|
||||
|
Loading…
Reference in New Issue
Block a user