3 ms·
As you might be told specifically by, for example... the documentation?! The biggest surprise for me is that this error survived more than one attempt to remov
by to3m 15y ago
As you might be told specifically by, for example... the documentation?!
The biggest surprise for me is that this error survived more than one attempt to remove it...
- Swannie 15y agoDoesn't surprise me if it's in a 20k loc program. Very easy to overlook the obvious. That said, like the previous comments, if someone had seriously looked for this issue, you'd have hoped they'd have found this pretty quickly.
- to3m 15y agoNo, that's a fair comment. I have spent a surprising proportion of the past 10 years moving initialization calls from <random problem-causing place> into `main', so whenever I see a call to something like `someinitialization' I just assume it's in `main' along with all of the rest of them. But it could easily be somewhere creepy and random, and the side-effects a bit hard to spot, making it harder to find. (Which, of course, is why you should always put all of this stuff in `main' ;)