Is this a bug in Cocoa 'isLike' ?
Is this a bug in Cocoa 'isLike' ?
- Subject: Is this a bug in Cocoa 'isLike' ?
- From: Yvan BARTHÉLEMY <email@hidden>
- Date: Mon, 7 Apr 2008 16:11:01 +0200
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 (email@hidden)
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:
This email sent to email@hidden