Wandering followup bug fixed!

Webmaster: TJHombre
[ New Account ] [ Follow Ups ] [ Post Followup ] [ Threaded Board ] [ FAQ ]

Posted by TJHombre on October 16, 2000 at 08:06:29:

I'm pretty sure I've fixed the wandering followup bug. Please keep your eyes open for it happening anymore, and let us know if it happens again.

For you technical folk, it appears to have been caused by the following line:
@followup_num = keys %fcheck;

The keys in the fcheck hash were appearing out of the original order of the followup_num array on occasion. The intended message number to be replied to is supposed to be the last element, which would be popped off the array to determine where the message went. Since the order would change, a random previous message would appear as the last element, thus causing the post to "wander". As a thread grew larger, the likeliness of the bug would increase as there were more possibilities for a wrong message number landing in the final position.

Since this part of the code appears to have been in the script for over two years...my guess is that the bug may be caused by a difference in versions of Perl.

Hope that wasn't too boring. We'll have to celebrate with an extra mujer or two when we come down this weekend!

Follow Ups:

Post a Followup

Name:
Password:
E-Mail:
Subject:

Comments:

E-mail me when this message is replied to


[ Follow Ups ] [ Post Followup ] [ Threaded Board ] [ FAQ ]