Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2004 00:20:29 GMT
From:      "Douglas K. Rand" <rand@meridian-enviro.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/73020: qpage runs words together
Message-ID:  <200410230020.i9N0KTGN011711@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/73020; it has been noted by GNATS.

From: "Douglas K. Rand" <rand@meridian-enviro.com>
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;
  	}
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410230020.i9N0KTGN011711>