commit | 5dd7ff07d032df32b018c0dfd1cbdf30bd7bf29f | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Jun 12 17:35:13 2000 +0000 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jun 12 17:35:13 2000 +0000 |
tree | b65b8e1328b4ccace2b5ca267d84e6890de69fe2 | |
parent | 7dc435082e384d9b2d15ab53aebcde53b4aa01ab [diff] |
ChangeLog, gen_uuid.c: gen_uuid.c (get_random_bytes): Use O_NONBLOCK when trying to open /dev/random. Break out the /dev/random initialization code into a get_random_fd() function, and use that function in uuid_generate() to determine whether to use uuid_generate_random() or uuid_generate_time().