Author: pstef Date: Mon Jun 4 19:47:24 2018 New Revision: 334628 URL: https://svnweb.freebsd.org/changeset/base/334628
Log: indent(1): replace BSD bcopy() with C memmove() Modified: head/usr.bin/indent/indent.c Modified: head/usr.bin/indent/indent.c ============================================================================== --- head/usr.bin/indent/indent.c Mon Jun 4 19:36:47 2018 (r334627) +++ head/usr.bin/indent/indent.c Mon Jun 4 19:47:24 2018 (r334628) @@ -1136,7 +1136,7 @@ check_type: } 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')) _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"