OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003781 [curl] regular use major always 2009-07-27 07:08 2009-08-07 18:24
Reporter dam View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0003781: Please fix includes for 64 bit
Description Please release a curl package as you already fixed. It is desperately needed.

curldevel-7.19.4,REV=2009.04.15-SunOS5.8-sparc-CSW.pkg.gz

It's wraps curlbuild.h using the following:

/* Allow 32 and 64 bit headers to coexist */
#if defined __arch64__ || defined __sparcv9
#include "curlbuild-64.h"
#else
#include "curlbuild-32.h"
#endif

I opted not to make the changes to curlbuild.h because there were several lines (other than the sizeof(long) we discussed) that would have to change (see diff below). I think this will be more easily adapted to future versions.



harpchad@build8s (CSW)$ diff curlbuild-32.h curlbuild-64.h
108c108
< #define CURL_PULL_SYS_TYPES_H 1
---
> /* #undef CURL_PULL_SYS_TYPES_H */
122c122
< #define CURL_PULL_INTTYPES_H 1
---
> /* #undef CURL_PULL_INTTYPES_H */
128c128
< #define CURL_SIZEOF_LONG 4
---
> #define CURL_SIZEOF_LONG 8
131c131
< #define CURL_TYPEOF_CURL_OFF_T int64_t
---
> #define CURL_TYPEOF_CURL_OFF_T long
137c137
< #define CURL_FORMAT_CURL_OFF_T "lld"
---
> #define CURL_FORMAT_CURL_OFF_T "ld"
140c140
< #define CURL_FORMAT_CURL_OFF_TU "llu"
---
> #define CURL_FORMAT_CURL_OFF_TU "lu"
143c143
< #define CURL_FORMAT_OFF_T "%lld"
---
> #define CURL_FORMAT_OFF_T "%ld"
149c149
< #define CURL_SUFFIX_CURL_OFF_T LL
---
> #define CURL_SUFFIX_CURL_OFF_T L
152c152
< #define CURL_SUFFIX_CURL_OFF_TU ULL
---
> #define CURL_SUFFIX_CURL_OFF_TU UL
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006527)
dam (administrator)
2009-08-07 18:24

The issue is fixed in 7.19.5,REV=2009.08.07


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker