On Fri, 7 Jul 2006, Hugh Sasse wrote:

> On Thu, 6 Jul 2006, URABE Shyouhei wrote:
>
>> Could someone please confirm this can be reproduced on 1.8.5 pre1?
>
> brains hgs 123 %> ./!$
> ./syncbug.rb
> ruby 1.8.5 (2006-07-04) [sparc-solaris2.9]
>
> brains hgs 124 %>
>
> That blank line was just me hitting return, after about a second.
> It exited immediately.  I don't have electric fence to hand.

if you don't have electric fence you'll need to run for quite a long time to
see the code begin to leak - pull up top while you're running if you can to
confirm

i'm trying to test on my box now but stable-snapshot won't build for me.  i'm
getting

   gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR  -I. -fPIC -g -O2 -fno-defer-pop -fno-omit-frame-pointer  -c cfunc.c
   cfunc.c:46: warning: `struct cfunc_data' declared inside parameter list
   cfunc.c:46: warning: its scope is only this definition or declaration, which
   is probably not what you want
   cfunc.c: In function `dlcfunc_free':
   cfunc.c:48: dereferencing pointer to incomplete type
   cfunc.c:49: dereferencing pointer to incomplete type


while compiling ext/dl

anyone?


cheers.

-a
-- 
suffering increases your inner strength.  also, the wishing for suffering
makes the suffering disappear.
- h.h. the 14th dali lama