oprypin / nim-random

Random number generation library for Nim
MIT License
68 stars 13 forks source link

urandom leaks file descriptors #13

Closed endragor closed 8 years ago

endragor commented 8 years ago

Non-Windows implementation of urandom doesn't close /dev/urandom after reading data from it.

oprypin commented 8 years ago

Could you also explain how to fix the problem?