On 1/31/09, Per Inge Mathisen <[email protected]> wrote: > On Sat, Jan 31, 2009 at 7:43 AM, bugs buggy <[email protected]> wrote: > > I was thinking we may do something like a ASSERT_ENTER() as well > > > How would it work? >
It wouldn't work in all functions, just functions that have a known input range. Since if we get garbage input, we more or less will get garbage output, and we may assert or crash. But, if we have 'clean'(valid) input, and get garbage output, we can nail down where the values are getting clobbered. Think of the vector 3uw hack we had to do. It would just make it a bit easier to know that your routine is getting valid input. A example of this is the entering of umlauts in a input box, we don't support anything but ASCII, and so when people enter that, it passes all the routines OK, but the output isn't correct at all. _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
