Re: [PATCH] gc-random: Replace implementation with call to getrandom.

2021-01-21 Thread simon--- via Gnulib discussion list
Bruno Haible writes: > Hi Simon, > >> Hi. I re-read the discussion around getrandom vs gc-random and didn't >> see any point in keeping the duplicated code. I believe the >> getrandom-approach is better than what was in gc-gnulib.c today, so this >> patch make it use that function. I have push

Re: [PATCH] gc-random: Replace implementation with call to getrandom.

2021-01-20 Thread Bruno Haible
Hi Simon, > Hi. I re-read the discussion around getrandom vs gc-random and didn't > see any point in keeping the duplicated code. I believe the > getrandom-approach is better than what was in gc-gnulib.c today, so this > patch make it use that function. I have pushed the patch below. The chang

[PATCH] gc-random: Replace implementation with call to getrandom.

2021-01-20 Thread simon--- via Gnulib discussion list
From 44ed0db8c93f6a81fd996f1f10e93051291fbf1d Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 20 Jan 2021 11:50:21 +0100 Subject: [PATCH] gc-random: Replace implementation with call to getrandom. * lib/gc-gnulib.c [GNULIB_GC_RANDOM]: Replace #include's with those needed for getrandom. (gc_init):