dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [patch #5514] Fix HAVE_TM_GMTOFF logic for ILGetTimeZo


From: Roman I Khimov
Subject: [Pnet-developers] [patch #5514] Fix HAVE_TM_GMTOFF logic for ILGetTimeZoneAdjust
Date: Wed, 01 Nov 2006 17:05:06 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.2 (like Gecko) Kubuntu 6.06 Dapper

URL:
  <http://savannah.gnu.org/patch/?5514>

                 Summary: Fix HAVE_TM_GMTOFF logic for ILGetTimeZoneAdjust
                 Project: DotGNU Portable.NET
            Submitted by: roman_khimov
            Submitted on: Среда 01.11.2006 at 17:05
                Category: None
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

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.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Среда 01.11.2006 at 17:05  Name:
fix_HAVE_TM_GMTOFF_logic_for_ILGetTimeZoneAdjust.patch  Size: 775B   By:
roman_khimov
Patch to fix HAVE_TM_GMTOFF logic in ILGetTimeZoneAdjust function
<http://savannah.gnu.org/patch/download.php?file_id=11133>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?5514>

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



reply via email to

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