summaryrefslogtreecommitdiffstats
path: root/libc/misc/internals/tempname.c
Commit message (Collapse)AuthorAgeFilesLines
* In Bug 116, dicksnippe writes:Mike Frysinger2005-04-161-3/+32
| | | | | | | | | | 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.
* Oops. Missed a spot.Eric Andersen2004-06-121-1/+1
|
* scrap the goofy time + getpid() based "randomness" and useEric Andersen2004-06-061-28/+35
| | | | the real thing.
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-1/+1
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* Some commentaryEric Andersen2002-06-181-5/+4
| | | | -Erik
* Remove function declartions from include/features.h, createEric Andersen2002-04-011-0/+1
| | | | | a separate header file for those, and fixup references. -Erik
* Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen2002-03-311-42/+64
| | | | | which is needed for busybox ash when using largefile support. -Erik
* Swap in the new stdio code.Manuel Novoa III2002-03-121-14/+23
|
* Update temp file handling and use a single function to do allEric Andersen2001-04-181-0/+187
the heavy lifting (most of the heavy lifting stolen from glibc, but reduced a bit).