W32 fixes
This commit is contained in:
parent
962bb6af10
commit
04e0ea083a
@ -1,5 +1,9 @@
|
||||
2001-02-13 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* rungpg.c (struct reap_s): Replaced pid_t by int.
|
||||
|
||||
* types.h: Add ulong typedef.
|
||||
|
||||
* rungpg.c (do_reaping,_gpgme_gpg_housecleaning): New.
|
||||
(_gpgme_gpg_release): Reap children.
|
||||
* io.h, posix-io.c (_gpgme_io_kill): New.
|
||||
|
@ -118,7 +118,7 @@ struct gpg_object_s {
|
||||
|
||||
struct reap_s {
|
||||
struct reap_s *next;
|
||||
pid_t pid;
|
||||
int pid;
|
||||
time_t entered;
|
||||
int term_send;
|
||||
};
|
||||
|
@ -23,7 +23,12 @@
|
||||
|
||||
#include "gpgme.h" /* external objects and prototypes */
|
||||
|
||||
#ifndef HAVE_BYTE_TYPEDEF
|
||||
typedef unsigned char byte;
|
||||
#endif
|
||||
#ifndef HAVE_ULONG_TYPEDEF
|
||||
typedef unsigned long ulong;
|
||||
#endif
|
||||
|
||||
|
||||
typedef enum {
|
||||
|
@ -111,7 +111,7 @@ print_sig_stat ( GpgmeCtx ctx, GpgmeSigStat status )
|
||||
printf ("Verification Status: %s\n", status_string (status));
|
||||
|
||||
for(idx=0; (s=gpgme_get_sig_status (ctx, idx, &status, &created)); idx++ ) {
|
||||
printf ("sig %d: created: %lu status: %s\n", idx, (ulong)created,
|
||||
printf ("sig %d: created: %lu status: %s\n", idx, (unsigned long)created,
|
||||
status_string(status) );
|
||||
printf ("sig %d: fpr/keyid=`%s'\n", idx, s );
|
||||
if ( !gpgme_get_sig_key (ctx, idx, &key) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user