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

See ChangeLog: Thu Sep 14 14:20:38 CEST 2000 Werner Koch

This commit is contained in:
Werner Koch 2000-09-14 12:20:30 +00:00
parent 8f6b40ff1c
commit 0b9d3e2f81
22 changed files with 1407 additions and 399 deletions

View file

@ -594,8 +594,11 @@ fast_random_poll()
#endif
#else
{ struct rusage buf;
if( getrusage( RUSAGE_SELF, &buf ) )
/* QNX/Neutrino does return ENOSYS - so we just ignore it and
* add whatever is in buf */
if( getrusage( RUSAGE_SELF, &buf ) && errno != ENOSYS )
BUG();
add_randomness( &buf, sizeof buf, 1 );
memset( &buf, 0, sizeof buf );
}