mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
8f15720c84
is in msgcpy in util.c, where the breaks don't preserve word boundries. PR: ports/73020 Submitted by: Douglas K. Rand <rand@meridian-enviro.com>
12 lines
237 B
C
12 lines
237 B
C
--- util.c.orig Sun Oct 25 20:55:11 1998
|
|
+++ util.c Thu Oct 28 23:58:37 2004
|
|
@@ -537,7 +537,7 @@
|
|
** Now make sure we didn't chop a word in the middle.
|
|
*/
|
|
if (*src && end) {
|
|
- *end++ = '\0';
|
|
+ *++end = '\0';
|
|
src = start;
|
|
}
|
|
|