1
0
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:
Werner Koch 2004-02-24 16:06:55 +00:00
parent 17ce0c5267
commit be94975af6
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-02-21 David Shaw <dshaw@jabberwocky.com>
* miscutil.c (hextobyte): Moved here from g10/misc.c so I can use

View File

@ -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 )