From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 23 00:13:05 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FCF216A4CE; Sat, 23 Oct 2004 00:13:05 +0000 (GMT) Received: from newman.meridian-enviro.com (newman.meridian-enviro.com [207.109.235.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE4CF43D69; Sat, 23 Oct 2004 00:13:04 +0000 (GMT) (envelope-from rand@meridian-enviro.com) X-Envelope-To: freebsd-ports-bugs@freebsd.org Received: from delta.meridian-enviro.com (delta.meridian-enviro.com [10.10.10.43])i9N0D4pI033933; Fri, 22 Oct 2004 19:13:04 -0500 (CDT) (envelope-from rand@meridian-enviro.com) Date: Fri, 22 Oct 2004 19:13:03 -0500 Message-ID: <87breu8f74.wl@delta.meridian-enviro.com> From: "Douglas K. Rand" To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org In-Reply-To: <200410230010.i9N0ANBa011318@freefall.freebsd.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) X-Face: $L%T~#'9fAQ])o]A][d7EH`V;"_;2K;TEPQB=v]rDf_2s% List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2004 00:13:05 -0000 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; }