mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 16:29:15 -04:00
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>
11 lines
237 B
C
11 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;
|
|
}
|
|
|