[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re[4]: require ignores setglobals()
- From: "Wim Couwenberg" <w.couwenberg@...>
- Date: Fri, 7 Feb 2003 13:14:57 +0100
Hi,
> I think special care would need to be taken for
> functions who already have their own global table. This is tedious,
> and involves a lot of table traversing, but it should work.
C functions can't have their globals changed. This includes all the
functions from the baselib, not to mention the auxiliary libs... So you
should make sure not to copy functions over that provide backdoors (like
require, dofile, ...)
Bye,
Wim