On Wed, 24 Apr 1996, Roger Gonzalez wrote:
> 3) The line numbers of errors don't seem to have any correlation
> whatsoever to the actual raw .ctwmrc file. I've been unable to
> track down the cause of these two errors forever. You know its
> a bad sign when you -delete- the line in question, and it just
> moves the error line number up or down by one.
>
> /tmp/twmrca00515:8: m4: Warning: Excess arguments to built-in
> `define' ignored
> ctwm: line 202: error in input file: parse error
When ctwm starts, it initializes a lot of m4 macros before
parsing .ctwmrc. When initializing this macros, the VENDOR
causes some problems because usually, the VENDOR has a comma
on it's name, so the definition :
define(VENDOR, Whatever, v1.x)
causes "Excess arguments to built-in `define' ignored".
You can :
1) Remove the line :
fputs(MkDef("VENDOR", ServerVendor(display)), tmpf);
from parse.c
2) Change the MkDef function to quote the definition.
I've done the 2d one
Rafael
\\|//
(o o)
+--------------------------oOO--(_)--OOo---------------------------+
| |
| Rafael Corvalan ("`-''-/").___..--''"`-._ |
| `6_ 6 ) `-. ( ).`-.__.`) |
| mail: rafael@club-internet.fr (_Y_.)' ._ ) `._ `. ``-..-' |
| _..`--'_..-_/ /--'_.' ,' |
| (il),-'' (li),' ((!.-' |
| |
+------------------------------------------------------------------+
This archive was generated by hypermail 2.1.2 : Sat Jun 22 2002 - 06:45:02 CEST