INT32_MIN missing on some platforms

Bug #1241635 reported by Dagobert Michelsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmetalink
Fix Released
Medium
Tatsuhiro Tsujikawa

Bug Description

On some platforms (like Solaris 10) the macro INT32_MIN is not defined. The macro is used in lib/timegm.c. As a workaround I used for now
  #define INT32_MIN (~ INT32_MAX)
but it is probably better to use the substitute instead of the definition at all.

Revision history for this message
Tatsuhiro Tsujikawa (t-tujikawa) wrote :

I just fixed this in r157. Thank you.

Changed in libmetalink:
assignee: nobody → Tatsuhiro Tsujikawa (t-tujikawa)
importance: Undecided → Medium
milestone: none → libmetalink-0.1.3
status: New → Fix Committed
Changed in libmetalink:
milestone: libmetalink-0.1.3 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.