commit | d23d164b85c5516126d77ab7038d55cebcdb6687 | [log] [tgz] |
---|---|---|
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | Wed Feb 08 21:23:38 2012 +0100 |
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | Wed Feb 08 21:28:20 2012 +0100 |
tree | 5915ce1b03da5a2ead84ad1e9dd66d5b88e9154a | |
parent | 1ab9d14c77adc241ff1b126f216dbac8dd34e3fc [diff] |
imxtools: use rand() instead of /dev/random. On Windows /dev/random does not exist, so trying to open it will fail. Replace it with rand() which is available on all supported platforms and sufficient. Fixes mkimxboot not working, as well as Rockbox Utility "crashing" (which is in fact its error handler calling exit(), thus terminating Rockbox Utility) on Windows. Change-Id: Ia164f937f329877e8f80f473f27be8c5df2a0a68