diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 03:59:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 03:59:42 +0000 |
commit | 650870cb833b700fc13a484cbbd9f61ad049b4f3 (patch) | |
tree | ff5e06a5fa43a961e352d5674c7fe154b21ed48b /libc/misc/wordexp | |
parent | d1abf5ce4c95c2a38f9ac92ae6805a0344de9c7d (diff) |
In Bug 116, dicksnippe writes:
uClibc's mkstemp/mktemp tries to read /dev/urandom (or /dev/random) to
generate random contents for the .XXXXXX part of its argument. In a
chrooted environment /dev/[u]random might not be available. Thus the
mkstemp call fails.
Add back in the braindamaged gettimeofday/getpid code, but only as a
fallback for when reading /dev/[u]random fail for whatever reasons.
Diffstat (limited to 'libc/misc/wordexp')
0 files changed, 0 insertions, 0 deletions