Skip to content
Snippets Groups Projects
Commit 94e7477f authored by Paolo Carlini's avatar Paolo Carlini Committed by Paolo Carlini
Browse files

re PR libstdc++/57920 ([c++11] Linux: std::random_device reads too much from /dev/urandom)

2013-07-22  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57920
	* src/c++11/random.cc (random_device::_M_getval): If possible, use
	read instead of std::fread.
	* include/std/random: Do not include <cstdio> unnecessarily.

From-SVN: r201133
parent ae382ebd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment