JohnS> ... I was under the impression that code should
JohnS> never make reference to the bug it fixes. Am I mistaken here?

No, you are quite correct.  Referring to an open bug e.g.:

        /*
         * Work around silly misfeature until 6999999 is fixed.
         */

is OK, but the comment proposed in this case is not.  Something like:

        /*
         * Allocate one extra array entry to keep gcc happy.
         */

should suffice.

-- John

http://blogs.sun.com/jbeck

Reply via email to