gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35904 - in libmicrohttpd: . src/include src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r35904 - in libmicrohttpd: . src/include src/microhttpd
Date: Tue, 9 Jun 2015 21:34:53 +0200

Author: Karlson2k
Date: 2015-06-09 21:34:53 +0200 (Tue, 09 Jun 2015)
New Revision: 35904

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/src/include/microhttpd.h
   libmicrohttpd/src/microhttpd/response.c
Log:
Bump MHD_VERSION, update ChangeLog, substitute 
MHD_create_response_from_fd_at_offset64() instead of 
MHD_create_response_from_fd_at_offset()

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2015-06-09 19:34:45 UTC (rev 35903)
+++ libmicrohttpd/ChangeLog     2015-06-09 19:34:53 UTC (rev 35904)
@@ -1,3 +1,7 @@
+Tue Jun 09 18:30:17 CEST 2015
+       Add new functions MHD_create_response_from_fd64() and
+       MHD_create_response_from_fd_at_offset64(). -EG
+
 Thu Jun  4 13:37:05 CEST 2015
        Fixing memory leak in digest authentication. -AW
 

Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h      2015-06-09 19:34:45 UTC (rev 
35903)
+++ libmicrohttpd/src/include/microhttpd.h      2015-06-09 19:34:53 UTC (rev 
35904)
@@ -130,7 +130,7 @@
  * Current version of the library.
  * 0x01093001 = 1.9.30-1.
  */
-#define MHD_VERSION 0x00094202
+#define MHD_VERSION 0x00094203
 
 /**
  * MHD-internal return code for "YES".
@@ -2121,7 +2121,13 @@
                                        int fd,
                                        off_t offset);
 
+/* Substitute MHD_create_response_from_fd_at_offset64() instead of 
MHD_create_response_from_fd_at_offset() 
+   to minimize possible problems with different off_t options */
+#define MHD_create_response_from_fd_at_offset(size,fd,offset) \
+  _MHD_DEPR_MACRO("Usage of MHD_create_response_from_fd_at_offset() is 
deprecated, use MHD_create_response_from_fd_at_offset64()") \
+  MHD_create_response_from_fd_at_offset64((size),(fd),(offset))
 
+
 /**
  * Create a response object.  The response object can be extended with
  * header information and then be used any number of times.

Modified: libmicrohttpd/src/microhttpd/response.c
===================================================================
--- libmicrohttpd/src/microhttpd/response.c     2015-06-09 19:34:45 UTC (rev 
35903)
+++ libmicrohttpd/src/microhttpd/response.c     2015-06-09 19:34:53 UTC (rev 
35904)
@@ -378,6 +378,7 @@
   response->fd = -1;
 }
 
+#undef MHD_create_response_from_fd_at_offset
 
 /**
  * Create a response object.  The response object can be extended with




reply via email to

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