At 12:51 PM 8/2/00 +0100, Graham Barr wrote:
>On Tue, Aug 01, 2000 at 11:56:48AM -0400, Dan Sugalski wrote:
> > What I was thinking of was something along the lines of a lexically scoped
> > pragma--"use taint"/"no taint". (We could do this by sticking in an opcode
> > to set/unset the tainting status, as well as the warning status, and so 
> on)
> > Taint checking is disabled in a no taint block. Whether we still set the
> > taint status on a scalar could depend on the -T switch, so data would 
> still
> > be tainted in a no taint block.
>
>I agree with a pragma. But I think there should be some distinction between
>taint setting and taint checking.

I was figuring the taint/notaint pragma would control taint checking, while 
-T would control taint setting. Probably not the best way--might be worth 
unconditionally setting the taint status so a use/no taint would do the 
right thing.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to