summaryrefslogtreecommitdiff
path: root/libc/string/sh64
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-16 03:59:42 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-16 03:59:42 +0000
commit650870cb833b700fc13a484cbbd9f61ad049b4f3 (patch)
treeff5e06a5fa43a961e352d5674c7fe154b21ed48b /libc/string/sh64
parentd1abf5ce4c95c2a38f9ac92ae6805a0344de9c7d (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/string/sh64')
0 files changed, 0 insertions, 0 deletions