summaryrefslogtreecommitdiffstats
path: root/libc/misc/internals/tempname.c
Commit message (Collapse)AuthorAgeFilesLines
* make the sem_open changes actually compileAustin Foxley2009-11-091-1/+1
| | | | | | __gen_tempname now needs to not be hidden so libpthread can get at it Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Extend __gen_tempname with mode argumentMikhail Gusarov2009-11-091-7/+7
| | | | | | | | | | sem_open(3) needs to create a temporary file in a way which can't be efficiently implemented in terms of POSIX API. Extend __gen_tempname with mode_t mode argument in order to ease sem_open implementation. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-3/+0
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-181-11/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24165Carmelo Amoroso2008-11-271-8/+8
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24087Carmelo Amoroso2008-11-181-1/+1
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-171-1/+1
| | | | Step 6: libc/misc
* Sync build machinery stuff from trunk. Some more fixed for mips nptl portKhem Raj2008-06-271-2/+2
|
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-201-10/+9
| | | | <carmelo.amoroso@st.com>
* Merge from trunk."Steven J. Hill"2006-02-281-49/+55
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-071-2/+2
|
* Merge from trunk."Steven J. Hill"2005-12-101-6/+8
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-061-1/+1
|
* Merge from trunk. More to come you betcha'."Steven J. Hill"2005-12-021-12/+14
|
* 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).