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




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

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9452>
Project: GNUstep
Submitted by: 0
On: Fri 06/25/2004 at 00:37

Category:  Base/Foundation
Severity:  5 - Average
Item Group:  Bug
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  GNUstep fails for ARM architecture

Original Submission:  GNUstep base classes core dump on ARM architecture.  This is 
caused by an assumption within NSTimeZone.m that the 'ttinfo' structure is 6 bytes 
long.  Since the ARM always aligns structures to word boundaries, this structure is 8 
bytes on ARM.

The following diff fixes this bug and allows GNUstep to work properly.

*** NSTimeZone.m        Thu Jun 24 20:06:35 2004
--- NSTimeZone.m~       Sun Feb  8 02:42:38 2004
***************
*** 131,137 ****
    char offset[4]; // Seconds east of UTC
    unsigned char isdst; // Daylight savings time?
    unsigned char abbr_idx; // Index into time zone abbreviations string
! } __attribute__((packed));
  
  /*
   * And this is the structure used in the time zone instances.
--- 131,137 ----
    char offset[4]; // Seconds east of UTC
    unsigned char isdst; // Daylight savings time?
    unsigned char abbr_idx; // Index into time zone abbreviations string
! };
  
  /*
   * And this is the structure used in the time zone instances.












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

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





_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to