From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 23 00:20:30 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16D7E16A4CE for ; Sat, 23 Oct 2004 00:20:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 066DC43D6B for ; Sat, 23 Oct 2004 00:20:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9N0KTdt011712 for ; Sat, 23 Oct 2004 00:20:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9N0KTGN011711; Sat, 23 Oct 2004 00:20:29 GMT (envelope-from gnats) Date: Sat, 23 Oct 2004 00:20:29 GMT Message-Id: <200410230020.i9N0KTGN011711@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Douglas K. Rand" Subject: Re: ports/73020: qpage runs words together X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Douglas K. Rand" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2004 00:20:30 -0000 The following reply was made to PR ports/73020; it has been noted by GNATS. From: "Douglas K. Rand" To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org Cc: Subject: Re: ports/73020: qpage runs words together Date: Fri, 22 Oct 2004 19:13:03 -0500 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; }