Re: Problems with netscape in 2.0.24

Doug Ridgway (ridgway@routh.ucsd.edu)
Thu, 7 Nov 1996 10:28:04 -0800 (PST)


On Thu, 7 Nov 1996, Nathan Bryant wrote:

> An idea: Why not just produce a small libgnumalloc.so, and using the
> preload mechanism, override the default malloc using this library?

For me, it's easier to just use one library for everything. But I agree
that if you're going to override, it's better to just override the malloc
stuff. Steve Dunham <dunham@gdl.msu.edu> has done this, his
precompiled version (from libc 5.4.7 code) is at
http://lalaland.cl.msu.edu/~dunham/out/gnumalloc.so
Use with a script like
#!/bin/sh
export LD_PRELOAD=/lib/gnumalloc.so
exec /path/to/real/netscape $*

(Haven't tested this personally, but it should work.)

doug.