mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a
good chance that gpg2 will now work. Other cleanups. Updated gettext.
This commit is contained in:
parent
5885142c83
commit
e50c5f39cc
132 changed files with 7331 additions and 5486 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-11-21 Werner Koch <wk@g10code.com>
|
||||
|
||||
* certdump.c (my_funopen_hook_ret_t): New.
|
||||
(format_name_writer): Use it for the return value.
|
||||
|
||||
2006-11-14 Werner Koch <wk@g10code.com>
|
||||
|
||||
* server.c (skip_options): Skip leading spaces.
|
||||
|
|
|
@ -41,6 +41,13 @@
|
|||
#include "keydb.h"
|
||||
#include "i18n.h"
|
||||
|
||||
#ifdef HAVE_FOPENCOOKIE
|
||||
typedef ssize_t my_funopen_hook_ret_t;
|
||||
#else
|
||||
typedef int my_funopen_hook_ret_t;
|
||||
#endif
|
||||
|
||||
|
||||
struct dn_array_s {
|
||||
char *key;
|
||||
char *value;
|
||||
|
@ -626,7 +633,7 @@ struct format_name_cookie
|
|||
};
|
||||
|
||||
/* The writer function for the memory stream. */
|
||||
static int
|
||||
static my_funopen_hook_ret_t
|
||||
format_name_writer (void *cookie, const char *buffer, size_t size)
|
||||
{
|
||||
struct format_name_cookie *c = cookie;
|
||||
|
|
|
@ -517,7 +517,7 @@ proc_parameters (ctrl_t ctrl,
|
|||
r->lnr, (int)errlen, s+erroff);
|
||||
else
|
||||
log_error (_("line %d: invalid subject name `%s' at pos %d\n"),
|
||||
r->lnr, s, erroff);
|
||||
r->lnr, s, (int)erroff);
|
||||
|
||||
xfree (cardkeyid);
|
||||
return gpg_error (GPG_ERR_INV_PARAMETER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue