Date: Fri, 22 Oct 2004 19:13:03 -0500 From: "Douglas K. Rand" <rand@meridian-enviro.com> To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org Subject: Re: ports/73020: qpage runs words together Message-ID: <87breu8f74.wl@delta.meridian-enviro.com> In-Reply-To: <200410230010.i9N0ANBa011318@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sigh. My patch is slightly broken. I wrote: --- /tmp/ports/a/Agena/usr/ports/comms/qpage/work/qpage-3.3/util.c-orig Fri Oct 22 18:57:00 2004 +++ /tmp/ports/a/Agena/usr/ports/comms/qpage/work/qpage-3.3/util.c Fri Oct 22 18:57:04 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; } And of course the absolute path names should not be there. Sorry about that. This patch should work better: --- util.c-orig Fri Oct 22 18:57:00 2004 +++ util.c Fri Oct 22 18:57:04 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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87breu8f74.wl>