bin/59883: divert cannot be renamed in FreeBSD m4

David Bremner bremner at unb.ca
Mon Dec 1 16:30:23 PST 2003


>Number:         59883
>Category:       bin
>Synopsis:       divert cannot be renamed in FreeBSD m4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 01 16:30:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Bremner
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
University of New Brunswick
>Environment:
System: FreeBSD convex.cs.unb.ca 5.1-CURRENT FreeBSD 5.1-CURRENT #8: Thu Nov 27 12:33:51 AST 2003 bremner at convex.cs.unb.ca:/usr/obj/usr/src/sys/CONVEX2 i386


	
>Description:
	define(`foo',defn(`divert')) makes a macro called foo
	but does not seem to invoke divert when called.

	Well, I realize this is a bit of a dark corner, but from 
	documentation it seems like it should work.
	
	The test case below works (i.e. produces one blank line of
	output)	with gnu m4
	
>How-To-Repeat:

run m4 on the following three line input:

define(`foo',defn(`divert'))
foo(-1)
this output should not appear


	
>Fix:


	



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


More information about the freebsd-bugs mailing list