[BUG][FIX] mimeTypesFor-brp

Brent Pinkney brent.pinkney at aircom.co.za
Sun May 29 19:47:49 UTC 2005

Change Set:		mimeTypesFor-brp
Date:			29 May 2005
Author:		Brent Pinkney

This change set fixes a bug where mimeTypesFor: unncecessarily computes  
the full file name for the argument in order to find the index of the  

It then tries to find this offset in the smaller file name argument. This  
signals an error.

	FileDirectory default mimeTypesFor: 'abc.png'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mimeTypesFor-brp.1.cs.gz
Type: application/x-gzip
Size: 675 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050529/3de09286/mimeTypesFor-brp.1.cs.bin

More information about the Squeak-dev mailing list