• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is this a bug in Cocoa 'isLike' ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Is this a bug in Cocoa 'isLike' ?
      • From: Matt Burnett <email@hidden>
  • Prev by Date: Re: Constraining a NSSlider to Certain Values
  • Next by Date: Re: Is this a bug in Cocoa 'isLike' ?
  • Previous by thread: Re: How inspect pending performSelectorOnMainThread ?
  • Next by thread: Re: Is this a bug in Cocoa 'isLike' ?
  • Index(es):
    • Date
    • Thread