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

Fixed copyright year lists according to CVS and ChangeLogs

This commit is contained in:
Werner Koch 2001-04-29 14:08:29 +00:00
parent cc08ba73d4
commit e061b9972f
135 changed files with 339 additions and 327 deletions

View file

@ -604,9 +604,11 @@ fast_random_poll()
#else
{ struct rusage 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 whatever is in buf. In a chroot environment it might not
* work at all (i.e. because /proc/ is not accessible), so we better
* ognore all error codes and hope for the best
*/
getrusage( RUSAGE_SELF, &buf );
add_randomness( &buf, sizeof buf, 1 );
memset( &buf, 0, sizeof buf );