Sounds like a bug to me. I have the same issue on a MBP with 10.5.2. Although i suppose this could be 'working as intended' since the pattern formats for isLike: dont seem to be well documented.

On Apr 7, 2008, at 9:11 AM, Yvan BARTHÉLEMY wrote:

On my machine (quite recent 20 inches iMac x86), following (reduced) code seems to go in a infinite loop... Checkpoint 2 is never reached. The number of 'x' characters is important.

Should I send it in reporter ?

#import <Foundation/Foundation.h>

int main (int argc, const char * argv[]) {
   NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

        NSLog(@"Checkpoint 1");
        [@"lxxxxxxxxxxxxxxxxxxxxxxlaxxxxxxl" isLike:@"*la"];
        NSLog(@"Checkpoint 2");

   [pool drain];
   return 0;
}

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/matt.w.burnett%40gmail.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to