Bug Report/ Bug Fix

John-Reed Maffeo rlpa80 at email.sps.mot.com
Mon Feb 8 21:58:13 UTC 1999


Leandro,

I am sorry for the CrLf line ends. I will watch for that in the future.

Your first question I do not understand. Was the problem produced before
what?

This is my story about finding and fixing the bug.

1. I am a Squeak/Smalltalk newbie.

2. I download programs from the UIUC Smalltalk archive that I try to
port to Squeak.

3. I downloaded the program gnats.st and tried to file it in.

4. I got an "Undefined Object does not understand" walkback. 

5. The problem was caused by an exclamation mark (!) which appeared in
the comment
   at the head of the file. I suspect that the comment was inserted by
the original
   author when he/she submitted the file to the archive.

6. I traced back through the code to the point at which I thought the
problem originated
   and made the code change which I submitted. The code change popped up
the walkback with
   a missing quotation mark error at the point where the exclaimation
mark appeared.


John-Reed Maffeo



Leandro Caniglia wrote:
> 
> Hi John-Reed!
> 
> Thank you for the fix. I'd like to know if the problem wasn't produced
> before since the encoder was nil. Anyway, please note that the file you sent
> to the list was saved with CrLf end of lines. That way I couldn't easily
> compare your version with the original one using the PackageBrowser. I must
> converted it first to Squeak EOLs (Cr).
> 
> Leandro
> 
> -----Original Message-----
> From: John-Reed Maffeo (rlpa80) <rlpa80 at email.sps.mot.com>
> To: squeak at cs.uiuc.edu <squeak at cs.uiuc.edu>
> Date: Saturday, February 06, 1999 2:34 AM
> Subject: Bug Report/ Bug Fix
> 
> >I ran across a bug while filing in a program called Gnats.st
> >that I found on the UIUC Smalltalk Archive. There was an imbedded
> >exclamation point in the comment which appears at the head of
> >the file.
> >
> >I don't know if this is the best way to fix the problem but it
> >seems to work correctly.
> >
> >Comments appreciated - I am but a lowly worm.
> >
> >Best Regards,
> >
> >John-Reed Maffeo
> >Mesa, AZ





More information about the Squeak-dev mailing list