lkml.org 
[lkml]   [1996]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problems with netscape in 2.0.24


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.






\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.034 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site