1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-01 22:28:02 +02:00

Add a minor feature for w32.

This commit is contained in:
Werner Koch 2010-10-18 10:02:29 +00:00
parent 27193bbd2c
commit 05febd5860
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2010-10-18 Werner Koch <wk@g10code.com>
* rndw32.c (slow_gatherer_windowsNT): Add GNUPG_RNDW32_NOPERF envvar.
2010-09-28 Steven M. Schweda <sms@antinode.info> (wk)
Changes to help the VMS port. See

View File

@ -477,9 +477,16 @@ slow_gatherer_windowsNT( void (*add)(const void*, size_t, int), int requester )
* worst-case estimate which is usually nowhere near the actual amount
* required. For example it may report that 128K of memory is required,
* but only return 64K of data */
#warning How shall we disable get performacne data
if (0)
log_debug ("Warning: get performance data disabled\n");
if (getenv("GNUPG_RNDW32_NOPERF"))
{
static int shown;
if (!shown)
{
shown = 1;
g10_log_info ("note: get performance data has been disabled\n");
}
}
else
{ pPerfData = xmalloc (cbPerfData);
for (;;) {