[comp.sources.bugs] Ease problems/bugs

ras@blade.UUCP (R.A. Schnitzler) (03/22/88)

Here is an example of my problem.  With the following ease input:

	/* format of a total name */
	macro
		m_defaddr = "${m_sreladdr}ifset (m_sname,  (${m_sname}))";

I should get something very much like the following output:
	# format of a total name
	Dq$g$?x ($x)$.

But instead, I get
	Dq$gifset (m_sname, ($x))
which is clearly wrong.

As far as I can tell with dbxtool, the IFSET processing instructions
never get invoked.  (MakeCond never gets called, etc.)  Does anyone
know why that should be?

Another question, is the P (postmaster) option a normal sendmail
option?  Is it standard in SUN sendmail, but not in others?
Obviously, I would like cfc and et to understand it, and it was easy
enough to add it, but I wonder how general it is.

Thanks-- 

"It's worse than that,			Ray Schnitzler
   it's physics, Jim"			Bell Communication Research  
					arpa: schnitz!bellcore.com
					uucp: ...!bellcore!schnitz

kaul@tut.cis.ohio-state.edu (Rich Kaul) (03/24/88)

I tried to reply by mail, but your mailer didn't work :-)

In article <960@blade.UUCP> schnitz@bellcore.com writes:
>Here is an example of my problem.  With the following ease input:
>
>	/* format of a total name */
>	macro
>		m_defaddr = "${m_sreladdr}ifset (m_sname,  (${m_sname}))";
>
>I should get something very much like the following output:
>	# format of a total name
>	Dq$g$?x ($x)$.
>
>But instead, I get
>	Dq$gifset (m_sname, ($x))
>which is clearly wrong.

The problem is in your m_defaddr declaration.  My guess is that you used
cfc to generate this line, and cfc has a bug on this point.  The correct
macro to use is:
	m_defaddr = concat ("${m_sreladdr}", ifset (m_sname," (${m_sname})"));

When all else fails, read the manual...

>Another question, is the P (postmaster) option a normal sendmail
>option?  Is it standard in SUN sendmail, but not in others?

According to one of the N+1 RFCs (where N is well on the way to infinity),
each machine must have a postmaster.  If you have any questions about this,
feel free to drop me a line.