1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-23 15:07:03 +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> 2004-02-21 David Shaw <dshaw@jabberwocky.com>
* miscutil.c (hextobyte): Moved here from g10/misc.c so I can use * 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 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 )