/usr/ports/xll/XFree86-4

Dan Nelson dnelson at allantgroup.com
Wed Dec 3 11:29:18 PST 2003


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 at allantgroup.com
-------------- next part --------------
--- ../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();
     }


More information about the freebsd-current mailing list