Subject: bin/12652: m4 'unix' macro gets 'm4: eval: major botch'
To: None <gnats-bugs@gnats.netbsd.org>
From: Chuck Cranor <chuck@xxx.research.att.com>
List: netbsd-bugs
Date: 04/13/2001 23:16:35
>Number:         12652
>Category:       bin
>Synopsis:       m4 unix macro gets 'm4: eval: major botch'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 13 20:17:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chuck Cranor
>Release:        NetBSD-current, NetBSD 1.5.1
>Organization:
AT&T Labs-Research
>Environment:
	1.5.1, i386&sparc.   also -current m4 compiled under 1.5
	has same problem.
>Description:

	m4 aborts with 'm4: eval: major botch' when you use unix macro

>How-To-Repeat:

	% m4
	i love unix
	m4: eval: major botch
	i love % 

>Fix:

	compare with OpenBSD and FreeBSD m4 source... their m4 doesn't
	crash with unix...   import bug fix.

	e.g.
	FreeBSD 5.0-PRE_SMPNG (GENERIC) #0: Fri Feb  9 14:54:52 GMT 2001
	TERM = (xterm)
	cdn3[1]> m4
	i love unix
	i love 
	cdn3[2]> 

>Release-Note:
>Audit-Trail:
>Unformatted: