Re: [perl #43006] Tail call force-frees current context

2007-06-15 Thread chromatic
On Saturday 09 June 2007 02:40:23 Bram Geron wrote: > The patch I attached should solve that. In a freshly created context, > the refcount is zero, and this increases it by one. I think incrementing > it is slightly better than directly assigning it a refcount of 1, > because that could cause bugs

Re: [perl #43006] Tail call force-frees current context

2007-06-09 Thread Bram Geron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (sorry for the late reply) Leopold Toetsch wrote: > Am Sonntag, 20. Mai 2007 21:51 schrieb Bram Geron: >> Bram Geron wrote: >>> The patch in fixes the problem for me. >> I realized that contexts currently initially have a ref_count of 0, if >> they'r

Re: [perl #43006] Tail call force-frees current context

2007-05-20 Thread Leopold Toetsch
Am Sonntag, 20. Mai 2007 21:51 schrieb Bram Geron: > Bram Geron wrote: > > The patch in fixes the problem for me. > > I realized that contexts currently initially have a ref_count of 0, if > they're not used as :outer targets for other subs. So in 'normal' > situations, the caller's context's ref_

Re: [perl #43006] Tail call force-frees current context

2007-05-20 Thread Bram Geron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bram Geron wrote: > The patch in fixes the problem for me. I realized that contexts currently initially have a ref_count of 0, if they're not used as :outer targets for other subs. So in 'normal' situations, the caller's context's ref_count now drops