Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2003 13:29:14 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Mike Hunter <mhunter@ack.Berkeley.EDU>
Cc:        current@freebsd.org
Subject:   Re: /usr/ports/xll/XFree86-4
Message-ID:  <20031203192914.GE32713@dan.emsphone.com>
In-Reply-To: <20031203190849.GA947@ack.Berkeley.EDU>
References:  <20031202084840.H21631-301000@moo.sysabend.org> <20031203190849.GA947@ack.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help

--ctP54qlpMx3WjD+/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

In the last episode (Dec 03), Mike Hunter said:
> On Dec 02, "Jamie Bowden" wrote:
> > I have a new machine that I've just installed 5.1-R on, and cvsup'd
> > to -C. I'm attempting to build X, and am getting a core dump from
> > rman during the process.
> 
> I had this happen too.  I did something really hack-ish to get around
> it (like delete that documentation or some other unspeakable hack.)

The coredump is due to bugs in the rman command (which is installed by
the imake port, believe it or not).  I submitted a bugreport on it in
July, and hopefully it will be in Xfree86 4.4.0.  Installing the
textproc/rman port may mask the bug until then, or you can drop this
file into ports/devel/imake-4/files and rebuild imake.

-- 
	Dan Nelson
	dnelson@allantgroup.com

--ctP54qlpMx3WjD+/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-rman.c"

--- ../extras/rman/rman.c.orig	Tue Jul 15 23:53:53 2003
+++ ../extras/rman/rman.c	Tue Jul 15 23:44:21 2003
@@ -4104,6 +4104,9 @@
 	     }
 	   }
 	   break;
+	 case 0:
+	   /* ignore */
+	   break;
 	 default:		/* unknown escaped character */
 	   sputchar(*p++);
 	 }
@@ -4133,7 +4133,7 @@ source_out0(const char *pin, char end)
     /* postpone check until after following character so catch closing tags */
     if ((sI>=4+1 && plain[sI-1-1]==')') ||
 	   /*  (plain[sI-1]==' ' && (q=strchr(plain,' '))!=NULL && q<&plain[sI-1])) */
-	 (plain[sI-1]==' ' && !isalnum(plain[sI-1-1]))) {
+	 (sI>=2 && plain[sI-1]==' ' && !isalnum(plain[sI-1-1]))) {
 	 /* regardless, flush buffer */
 	 source_flush();
     }

--ctP54qlpMx3WjD+/--



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