This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] posix: Fix __gen_tempname iteration entropy (BZ#15813)
On 04/04/2019 22:44, Paul Eggert wrote:
> On 4/4/19 1:31 AM, email@example.com wrote:
>> The patch also cleanups the tempname implementation since now it
>> deviates from gnulib counterpart.
> Shouldn't we strive to keep them in sync? Does the Gnulib version need
> the fix you're proposing for the glibc version?
I am not sure if gnulib is willing to add the random_bits implementation
based on clock_gettime, this patch is following Wilco idea to remove the
fallback gettimeofday and related code. Checking on gnulib code it seems
it already have a timespec module, so one can assume clock_gettime is
always supported (even if it calls gettimeofday in the end). I don't mind
sending a second version if gnulib adds the fix.