View Issue Details

IDProjectCategoryView StatusLast Update
0001459libmicrohttpdexternal APIpublic2009-08-25 06:19
Reporterepienbro Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.4.2 
Summary0001459: Another 64bit issue
DescriptionWithin the Fedora project a complete rebuild of the entire distribution is going on at the moment because of the introduction of GCC 4.4 and to change the default compiler flags [1]. This complete rebuild uncovered another 64bit issue in libmicrohttpd [2]. After applying the attached patch, the build and all the testcases succeed.

[1]: https://fedoraproject.org/wiki/Features/gcc4.4
[2]: http://koji.fedoraproject.org/koji/getfile?taskID=1190311&name=build.log
TagsNo tags attached.
Attached Files
libmicrohttpd_64bit_fix.patch (511 bytes)   
--- src/testcurl/daemontest_large_put.c.orig	2009-02-27 22:58:16.926062599 +0100
+++ src/testcurl/daemontest_large_put.c	2009-02-27 22:58:20.776312622 +0100
@@ -274,7 +274,7 @@
                         1082,
                         NULL, NULL, &ahc_echo, &done_flag,
                         MHD_OPTION_CONNECTION_MEMORY_LIMIT,
-                        PUT_SIZE * 4, MHD_OPTION_END);
+                        (size_t) PUT_SIZE * 4, MHD_OPTION_END);
   if (d == NULL)
     return 256;
   c = curl_easy_init ();

Activities

Christian Grothoff

2009-02-27 21:16

manager   ~0003819

Fixed in SVN 8296 as suggested.

Issue History

Date Modified Username Field Change
2009-02-27 15:35 epienbro New Issue
2009-02-27 15:35 epienbro File Added: libmicrohttpd_64bit_fix.patch
2009-02-27 21:16 Christian Grothoff Status new => assigned
2009-02-27 21:16 Christian Grothoff Assigned To => Christian Grothoff
2009-02-27 21:16 Christian Grothoff Status assigned => resolved
2009-02-27 21:16 Christian Grothoff Resolution open => fixed
2009-02-27 21:16 Christian Grothoff Note Added: 0003819
2009-08-25 06:19 Christian Grothoff Status resolved => closed
2009-08-25 06:19 Christian Grothoff Fixed in Version => 0.4.2
2013-05-06 12:52 Christian Grothoff Category API => libmicrohttpd API
2024-01-21 13:24 Christian Grothoff Category libmicrohttpd API => external API