Make std::random_device retry after short reads
authorJonathan Wakely <jwakely@redhat.com>
Thu, 17 Sep 2015 15:06:42 +0000 (16:06 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 17 Sep 2015 15:06:42 +0000 (16:06 +0100)
commita2b4d73daf5854c40b71e0b655a9507bf6977279
tree0dd3c7308998c3b62b6757ec7e3b42426e1828b6
parent2eb57e545ba21b1776371acf6cb11bc28233bd82
Make std::random_device retry after short reads

PR libstdc++/65142
* src/c++11/random.cc (random_device::_M_getval()): Retry after short
reads.

From-SVN: r227872
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/random.cc