[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zmailer-cvs as of today



(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>