Cnews ported to V/AT?
Jay "you ignorant splut!" Maynard
jay at splut.conmicro.com
Sat Feb 17 01:02:10 AEST 1990
In article <7470 at yunexus.UUCP> davecb at yunexus.UUCP (David Collier-Brown) writes:
>jay at splut.conmicro.com (Jay "you ignorant splut!" Maynard) writes:
>>Expanding the macro by hand resolves the problem. Analogous changes need
>>to be made wherever nnfree() and nnafree() are used.
> At the expense of suggsting the obvious, would it not be better
>to write a "foo_free" function and just have the macros expand to it?
>#define nnfree foo_free
>int foo_free(void *p) {
> return (p != 0)? free(p): (void *) NULL;
>}
This looks feasible, as well...I'll try it if the HP Spectrum fix doesn't
work.
--
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
jay at splut.conmicro.com (eieio)| adequately be explained by stupidity.
{attctc,bellcore}!texbell!splut!jay +----------------------------------------
Free the DC-10!
More information about the Comp.unix.microport
mailing list