Re: [patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-18 Thread Christophe Lyon
nu.org >> Cc: Gerald Pfeifer; libstd...@gcc.gnu.org; gcc-patches@gcc.gnu.org >> Subject: Re: [patch] libstdc++/65142 Check read() result in >> std::random_device. >> >> On 17/09/15 22:32 +, Moore, Catherine wrote: >> > >> > >> >> --

Re: [patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-17 Thread Jonathan Wakely
On 15/09/15 12:47 +0100, Jonathan Wakely wrote: On 11/09/15 14:44 +0100, Jonathan Wakely wrote: We should not silently ignore a failure to read from the random device. Tested powerpc64le-linux, committed to trunk. I'm going to commit this to the gcc-5 branch too. commit

Re: [patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-17 Thread Gerald Pfeifer
On Thu, 17 Sep 2015, Jonathan Wakely wrote: >> Any comments on this version? > Committed to trunk. Unfortunately this broke bootstrap on FreeBSD 10.1. /scratch/tmp/gerald/gcc-HEAD/libstdc++-v3/src/c++11/random.cc: In member function 'std::random_device::result_type

RE: [patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-17 Thread Moore, Catherine
atch] libstdc++/65142 Check read() result in > std::random_device. > > On 17/09/15 22:21 +0200, Gerald Pfeifer wrote: > >On Thu, 17 Sep 2015, Jonathan Wakely wrote: > >>> Any comments on this version? > >> Committed to trunk. > > > >Unfortunately this

Re: [patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-17 Thread Jonathan Wakely
On 17/09/15 22:21 +0200, Gerald Pfeifer wrote: On Thu, 17 Sep 2015, Jonathan Wakely wrote: Any comments on this version? Committed to trunk. Unfortunately this broke bootstrap on FreeBSD 10.1. /scratch/tmp/gerald/gcc-HEAD/libstdc++-v3/src/c++11/random.cc: In member function

RE: [patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-17 Thread Moore, Catherine
ly > >> Sent: Thursday, September 17, 2015 5:28 PM > >> To: Gerald Pfeifer > >> Cc: libstd...@gcc.gnu.org; gcc-patches@gcc.gnu.org > >> Subject: Re: [patch] libstdc++/65142 Check read() result in > >> std::random_device. > >> > >> On 17

Re: [patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-17 Thread Jonathan Wakely
Subject: Re: [patch] libstdc++/65142 Check read() result in std::random_device. On 17/09/15 22:21 +0200, Gerald Pfeifer wrote: >On Thu, 17 Sep 2015, Jonathan Wakely wrote: >>> Any comments on this version? >> Committed to trunk. > >Unfortunately this broke bootstrap on F

Re: [patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-15 Thread Jonathan Wakely
On 11/09/15 14:44 +0100, Jonathan Wakely wrote: We should not silently ignore a failure to read from the random device. Tested powerpc64le-linux, committed to trunk. I'm going to commit this to the gcc-5 branch too. commit 2d2f7012dc3744dafef0de94dd845bd190253dbd Author: Jonathan Wakely

[patch] libstdc++/65142 Check read() result in std::random_device.

2015-09-11 Thread Jonathan Wakely
We should not silently ignore a failure to read from the random device. Tested powerpc64le-linux, committed to trunk. I'm going to commit this to the gcc-5 branch too. commit 2d2f7012dc3744dafef0de94dd845bd190253dbd Author: Jonathan Wakely Date: Fri Feb 20 17:29:50 2015