1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-05-24 16:43:28 +02:00

* secmem.c (lock_pool) [_AIX]: Also set errno.

This commit is contained in:
Werner Koch 2004-02-24 16:04:37 +00:00
parent 2f0a98ad35
commit 7164a0f754
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-02-24 Werner Koch <wk@gnupg.org>
* secmem.c (lock_pool) [_AIX]: Also set errno.
2004-01-13 David Shaw <dshaw@localhost.localdomain> 2004-01-13 David Shaw <dshaw@localhost.localdomain>
* argparse.c (initialize): Avoid a number of -Wformat-nonliteral * argparse.c (initialize): Avoid a number of -Wformat-nonliteral

View File

@ -138,7 +138,8 @@ lock_pool( void *p, size_t n )
processes are clogging up the memory. To get this problem out processes are clogging up the memory. To get this problem out
of the way we simply don't try to lock the memory at all. of the way we simply don't try to lock the memory at all.
*/ */
err = EPERM; errno = EPERM;
err = errno;
# else /*!_AIX*/ # else /*!_AIX*/
err = plock( DATLOCK ); err = plock( DATLOCK );
if( err && errno ) if( err && errno )