1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

windoze version works again

This commit is contained in:
Werner Koch 1998-10-06 12:10:02 +00:00
parent 6f73ec963a
commit f04db56311
27 changed files with 803 additions and 409 deletions

View file

@ -160,7 +160,7 @@ init_pool( size_t n)
}
#endif
if( pool == (void*)-1 )
log_error("can't mmap pool of %u bytes: %s - using malloc\n",
log_info("can't mmap pool of %u bytes: %s - using malloc\n",
(unsigned)poolsize, strerror(errno));
else {
pool_is_mmapped = 1;
@ -217,6 +217,7 @@ void
secmem_init( size_t n )
{
if( !n ) {
#ifndef __MINGW32__
uid_t uid;
disable_secmem=1;
@ -225,6 +226,7 @@ secmem_init( size_t n )
if( setuid( uid ) )
log_fatal("failed to drop setuid\n" );
}
#endif
}
else {
if( n < DEFAULT_POOLSIZE )