Whamcloud - gitweb
ChangeLog, gen_uuid.c:
authorTheodore Ts'o <tytso@mit.edu>
Mon, 12 Jun 2000 17:35:13 +0000 (17:35 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 12 Jun 2000 17:35:13 +0000 (17:35 +0000)
commit5dd7ff07d032df32b018c0dfd1cbdf30bd7bf29f
treeb65b8e1328b4ccace2b5ca267d84e6890de69fe2
parent7dc435082e384d9b2d15ab53aebcde53b4aa01ab
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().
lib/uuid/ChangeLog
lib/uuid/gen_uuid.c