Whamcloud - gitweb
gen_uuid.c (get_random_bytes): Don't spin forever if read()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 31 Oct 2002 20:17:16 +0000 (15:17 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 31 Oct 2002 20:17:16 +0000 (15:17 -0500)
commit61bee88d456c39bdfa4799577a4bd183d766b596
treeb8f52aeb9772ac7bf501d86252a00a245d7f4a8a
parent3a42fe220c301c8b9a8df595938c9a923cf5c494
gen_uuid.c (get_random_bytes): Don't spin forever if read()
returns EINTR or EAGAIN, so that when /dev/random is
opened O_NONBLOCK, we don't end up spinning forever.
lib/uuid/ChangeLog
lib/uuid/gen_uuid.c