patchDotGNU Portable.NET - Patches: patch #5514, Fix HAVE_TM_GMTOFF logic for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5514: Fix HAVE_TM_GMTOFF logic for ILGetTimeZoneAdjust

Submitter:  Roman I Khimov <roman_khimov>
Submitted:  Wed 01 Nov 2006 05:05:05 PM UTC
   
 
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Thu 02 Nov 2006 06:25:39 PM UTC, comment #1: 

Applied corrected patch.

Klaus Treichel <ktreichel>
Group administrator
Wed 01 Nov 2006 05:05:05 PM UTC, original submission:  

Cross-compiling pnet for ARM device with newlib C library I've got this error:

time.c: In function ‘ILGetTimeZoneAdjust’:
time.c:242: error: ‘timezone’ undeclared (first use in this function)
time.c:242: error: (Each undeclared identifier is reported only once
time.c:242: error: for each function it appears in.)
time.c:247: warning: control reaches end of non-void function
make: * [time.o] Ошибка 1

Looks like HAVE_TM_GMTOFF logic is broken here, because if it's not defined it can't be returned from function.

So I've cooked up this patch that resolves this issue, hope it's valid for inclusion.

Roman I Khimov <roman_khimov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #11133:  fix_HAVE_TM_GMTOFF_logic_for_ILGetTimeZoneAdjust.patch added by roman_khimov (775B - text/x-diff - Patch to fix HAVE_TM_GMTOFF logic in ILGetTimeZoneAdjust function)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-02 ktreichel StatusNone Done
    Open/ClosedOpen Closed
2006-11-01 roman_khimov Attached File- Added fix_HAVE_TM_GMTOFF_logic_for_ILGetTimeZoneAdjust.patch, #11133

Back to the top

Powered by Savane 3.13-54b4.
Corresponding source code