2003-01-19 Miguel Coca <mcoca@gnu.org>

* w32-io.c (_gpgme_io_select): Add missing argument in calls to
	DEBUG_BEGIN.
	* w32-util.c: Include "sema.h".
	(find_program_in_registry): Change DEBUG1 to DEBUG2, fixes compilation
	error.
This commit is contained in:
Marcus Brinkmann 2003-01-19 22:05:40 +00:00
parent b083ea8da3
commit c44f5e0a3c
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2003-01-19 Miguel Coca <mcoca@gnu.org>
* w32-io.c (_gpgme_io_select): Add missing argument in calls to
DEBUG_BEGIN.
* w32-util.c: Include "sema.h".
(find_program_in_registry): Change DEBUG1 to DEBUG2, fixes compilation
error.
2003-01-19 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (_gpgme_engine_ops_gpg): Remove gpg_start.

View File

@ -992,7 +992,7 @@ _gpgme_io_select ( struct io_select_fd_s *fds, size_t nfds, int nonblock )
void *dbg_help;
restart:
DEBUG_BEGIN (dbg_help, "select on [ ");
DEBUG_BEGIN (dbg_help, 3, "select on [ ");
any = 0;
nwait = 0;
count = 0;
@ -1103,7 +1103,7 @@ _gpgme_io_select ( struct io_select_fd_s *fds, size_t nfds, int nonblock )
}
if ( count ) {
DEBUG_BEGIN (dbg_help, " signaled [ ");
DEBUG_BEGIN (dbg_help, 3, " signaled [ ");
for ( i=0; i < nfds; i++ ) {
if ( fds[i].fd == -1 )
continue;

View File

@ -36,6 +36,7 @@
#include <io.h>
#include "util.h"
#include "sema.h"
DEFINE_STATIC_LOCK (get_path_lock);
@ -100,7 +101,7 @@ find_program_in_registry (const char *name)
{
int i;
DEBUG1 ("found %s in registry: `%s'", name, program);
DEBUG2 ("found %s in registry: `%s'", name, program);
for (i = 0; program[i]; i++)
{
if (program[i] == '/')