mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
Fix various build warnings reported by Joe Vender on MinGW.
This commit is contained in:
parent
b82202f411
commit
2a662f7870
@ -1,3 +1,7 @@
|
||||
2005-11-02 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* configure.ac: Check for a getpagesize() declaration.
|
||||
|
||||
2005-10-14 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* NEWS: Clarify the cURL keyserver changes, and add a note about
|
||||
|
@ -813,6 +813,7 @@ else
|
||||
fi
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_CHECK_DECLS(getpagesize)
|
||||
AC_FUNC_FSEEKO
|
||||
AC_FUNC_VPRINTF
|
||||
AC_FUNC_FORK
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-11-02 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_hkp.c (search_key): Fix warning with typecast (though
|
||||
curl should really have defined that char * as const).
|
||||
|
||||
2005-08-25 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* ksutil.h, ksutil.c (parse_ks_options): Remove exact-name and
|
||||
|
@ -298,7 +298,7 @@ search_key(const char *searchkey)
|
||||
fprintf(console,"gpgkeys: search type is %d, and key is \"%s\"\n",
|
||||
search_type,searchkey);
|
||||
|
||||
searchkey_encoded=curl_escape(searchkey,0);
|
||||
searchkey_encoded=curl_escape((char *)searchkey,0);
|
||||
if(!searchkey_encoded)
|
||||
{
|
||||
fprintf(console,"gpgkeys: out of memory\n");
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-11-02 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* util.c [!HAVE_DECL_GETPAGESIZE]: Prototype getpagesize() if
|
||||
unistd.h doesn't have it (for MinGW).
|
||||
|
||||
2005-09-22 Werner Koch <wk@g10code.com>
|
||||
|
||||
* iobuf.c (iobuf_get_filelength): New arg OVERFLOW.
|
||||
|
@ -43,6 +43,12 @@
|
||||
#include "util.h"
|
||||
#include "i18n.h"
|
||||
|
||||
/* MinGW doesn't seem to prototype getpagesize, though it does have
|
||||
it. */
|
||||
#if !HAVE_DECL_GETPAGESIZE
|
||||
int getpagesize(void);
|
||||
#endif
|
||||
|
||||
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
|
||||
#define MAP_ANONYMOUS MAP_ANON
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user