Re: close /dev/urandom fd (e2fsprogs 1.40-WIP (7-Apr-2007))

Jim Meyering
2007-06-16T05:38:50Z

Theodore Tso <tytso@mit.edu> wrote:
> On Fri, Jun 15, 2007 at 10:28:40PM +0200, Jim Meyering wrote:
>> The file descriptor opened on /dev/urandom can be closed sooner:
>
> Is there a reason why the caching of the open file descriptor for
> /dev/random is causing you problems? Keeping it open was deliberate.

I saw it open at exit, missed the 'static' and thought it was an fd leak.
Désolé.