mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +01:00
(lock_pool) [_AIX]: Also set errno.
This commit is contained in:
parent
17ce0c5267
commit
be94975af6
@ -1,3 +1,7 @@
|
||||
2004-02-24 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* secmem.c (lock_pool) [_AIX]: Also set errno.
|
||||
|
||||
2004-02-21 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* miscutil.c (hextobyte): Moved here from g10/misc.c so I can use
|
||||
|
@ -140,7 +140,8 @@ lock_pool( void *p, size_t n )
|
||||
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.
|
||||
*/
|
||||
err = EPERM;
|
||||
errno = EPERM;
|
||||
err = errno;
|
||||
# else /* !_AIX */
|
||||
err = plock( DATLOCK );
|
||||
if( err && errno )
|
||||
|
Loading…
Reference in New Issue
Block a user