Nmap Development mailing list archives
Re: [NSE] rpc.lua Portmapper list cached in the NSE registry
From: Patrick Donnelly <batrick () batbytes com>
Date: Sat, 15 May 2010 16:01:12 -0600
On Sat, May 15, 2010 at 5:47 AM, Djalal Harouni <tixxdz () gmail com> wrote:
On 2010-05-15 02:34:42 -0600, Patrick Donnelly wrote:So, the number and string keys are considered strong references in a weak keyed table even when the string "a" is collectible.Yes this is correct but when we use weak values like: [...] then all the pairs are collected, even number and string keys. The Pil doc doesn't tell us much about weak values. I have played with weak tables and I have noticed this behavior, I'm using Lua 5.1.4 and I hope that this is not a bug or something else!! Pls Patrick correct me if I'm wrong.
No, you're code is right. Sorry I forgot you were using a weak valued table with all the weak keyed table discussion! -- - Patrick Donnelly _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [NSE] rpc library; Portmapper program list stored in the, (continued)
- Re: [NSE] rpc library; Portmapper program list stored in the Patrick Donnelly (Apr 25)
- Re: [NSE] rpc library; Portmapper program list stored in the Patrik Karlsson (Apr 30)
- Re: [NSE] rpc library; Portmapper program list stored in the David Fifield (May 04)
- Re: [NSE] rpc library; Portmapper program list stored in the Djalal Harouni (May 04)
- Re: [NSE] rpc library; Portmapper program list stored in the David Fifield (May 04)
- Re: [NSE] rpc library; Portmapper program list stored in the Djalal Harouni (May 04)
- Re: [NSE] rpc library; Portmapper program list stored in the David Fifield (May 04)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Djalal Harouni (May 14)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrik Karlsson (May 15)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrick Donnelly (May 15)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Djalal Harouni (May 15)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrick Donnelly (May 15)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrik Karlsson (May 16)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Djalal Harouni (May 17)
- Re: [NSE] rpc.lua Portmapper list cached in the NSE registry Patrik Karlsson (May 15)
