mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
Add a minor feature for w32.
This commit is contained in:
parent
27193bbd2c
commit
05febd5860
@ -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
|
||||
|
@ -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 (;;) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user