bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #11516] Crash with TimeZone/CalendarDate/Autorelease


From: Adam Fedor
Subject: [bugs #11516] Crash with TimeZone/CalendarDate/Autorelease
Date: Fri, 07 Jan 2005 10:50:47 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.12

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #11516] Latest Modifications:

Changes by: 
                Adam Fedor <fedor@gnu.org>
'Date: 
                Fri 01/07/2005 at 15:36 (US/Mountain)

            What     | Removed                   | Added
---------------------------------------------------------------------------
            Severity | 9 - Blocker               | 5 - Average
          Resolution | None                      | Fixed
         Assigned to | None                      | fedor
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
My bad. Fixed.
* Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary.







/**************************************************************************/
[bugs #11516] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11516>
Project: GNUstep
Submitted by: Manuel Guesdon
On: Fri 01/07/2005 at 12:32

Category:  Base/Foundation
Severity:  5 - Average
Item Group:  Bug
Resolution:  Fixed
Privacy:  Public
Assigned to:  fedor
Status:  Closed


Summary:  Crash with TimeZone/CalendarDate/Autorelease

Original Submission:  Just put this in main():
  {
  NSAutoreleasePool     *arpTest = [NSAutoreleasePool new];
id d=[[NSCalendarDate alloc] initWithString: @"04/02/2004 16:53:41 CEST"
                             calendarFormat: @"%m/%d/%Y %H:%M:%S %Z"];
 NSLog(@"d=%@",d);
  [arpTest release];
  }
  {
  NSAutoreleasePool     *arpTest = [NSAutoreleasePool new];
id d=[[NSCalendarDate alloc] initWithString: @"04/02/2004 16:53:41 CEST"
                             calendarFormat: @"%m/%d/%Y %H:%M:%S %Z"];
 NSLog(@"d=%@",d);
  [arpTest release];
  }

(2 times)
The 2nd time, it crash:
2005-01-07 13:28:01.000 x[22382] Unknown time zone name `CEST'.
2005-01-07 13:28:01.000 x[22382] d=04/02/2004 16:53:41 CEST
2005-01-07 13:28:01.000 x[22382] Unknown time zone name `CEST'.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 01/07/2005 at 15:36       By: Adam Fedor <fedor>
My bad. Fixed.
* Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary.













For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11516>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]