MinGW+Wine and "DBG: rndw32: get performance data problem: ec=2"
Simon Josefsson
simon at josefsson.org
Wed Jan 16 21:43:06 CET 2008
Simon Josefsson <simon at josefsson.org> writes:
> Works for me. How about this patch?
I reversed the logic in the variable name, here is a better patch...
/Simon
Index: rndw32.c
===================================================================
--- rndw32.c (revision 1280)
+++ rndw32.c (working copy)
@@ -1,5 +1,5 @@
/* rndw32.c - W32 entropy gatherer
- * Copyright (C) 1999, 2000, 2002, 2003, 2007 Free Software Foundation, Inc.
+ * Copyright (C) 1999, 2000, 2002, 2003, 2007, 2008 Free Software Foundation, Inc.
* Copyright Peter Gutmann, Matt Thomlinson and Blake Coverett 1996-2006
*
* This file is part of Libgcrypt.
@@ -440,8 +440,11 @@
}
else
{
- log_debug ("rndw32: get performance data problem: ec=%ld\n",
- status);
+ static int been_here = 0;
+ if (!been_here)
+ log_debug ("rndw32: get performance data problem: ec=%ld\n",
+ status);
+ been_here = 1;
break;
}
}
More information about the Gcrypt-devel
mailing list