[comp.sys.sun] NULL Pointer Deref Tricks?

jww@hpfcbig.sde.hp.com (Jim Wichelman) (01/28/90)

I am porting some software from an HP machine to a sun3 system.  The code
is filled with null pointer dereferences which work fine on the HP system,
but die with a SIGSEGV on the sun (as you might expect).

Are there any tricks to get a null pointer dereference to return a "0" on
the sun3?  How about a Sparcstation (my next porting project)?

Jim Wichelman
Hewlett Packard
jww@hpfclp.hp.com