[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zmailer-cvs as of today
- To: tomaz.borstnar@over.net (Tomaz Borstnar)
- Subject: Re: zmailer-cvs as of today
- From: Matti Aarnio <matti.aarnio@sonera.fi>
- Date: Mon, 19 Apr 1999 23:42:38 +0300 (EEST)
- Cc: zmailer@nic.funet.fi
- In-Reply-To: <4.1.19990419092033.02c58b80@193.189.189.100> from Tomaz Borstnar at "Apr 19, 99 09:22:32 am"
- Phone: +358-204063667 (office, with delayed redirection to cellular)
(got interpret.i files from OpenBSD and FreeBSD)
Ok, it told me a lot...
C:
s_push(d, envarlist);
Linux/RH5.2:
({conscell *_X = ( d ); conscell *_Y = (envarlist );
(_X)->next = (_Y)-> u.u_dtpr; (_Y)-> u.u_dtpr = _X; _Y;});
OpenBSD:
({conscell * 0x40 = ( d ); conscell *_Y = (envarlist);
(0x40)->next = (_Y)-> u.u_dtpr; (_Y)-> u.u_dtpr = 0x40 ; _Y;}) ;
FreeBSD3.1:
.... something alike OpenBSD ....
The point being, s_push() macro internal variable "_X" becomes overwritten
by some include header defined "_X" macro ... ("#define _X 0x40" for the
OpenBSD. FreeBSD has another value for it.)
Ok, I change that variable name, and hope it won't clash anywhere else..
Watch for the cvs commits right after this.
/Matti Aarnio <matti.aarnio@sonera.fi> <mea@nic.funet.fi>