[Bug libstdc++/65142] std::random_device Ignores Read Return Code

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 15 11:50:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65142

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #8)
> (In reply to Richard Biener from comment #7)
> > If the user controls how the random file is opened (non-blocking or blocking)
> 
> They don't.

To be clear, it's always opened blocking with std::fopen(fname, "rb")

New proposed patch at https://gcc.gnu.org/ml/gcc-patches/2015-09/msg01050.html



More information about the Gcc-bugs mailing list