summaryrefslogtreecommitdiffstats
path: root/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* realpath: SUSv4 compliantBernhard Reutner-Fischer2009-11-221-14/+8
| | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Extend __gen_tempname with mode argumentMikhail Gusarov2009-11-094-4/+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>
* whitespace fixesAustin Foxley2009-10-171-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mktemp does not depend on floatsAustin Foxley2009-10-171-1/+4
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* malloc: handle size overflows in realloc()Mike Frysinger2009-10-161-0/+3
| | | | | | | | | | The malloc() code checks the incoming size to make sure the header adjustment doesn't cause overflow in the size storage. Add the same check to realloc() to catch stupid stuff like realloc(..., -1). Reported-by: James Coleman <james.coleman@ubicom.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* spent this morning beating i386 nptl into shapeAustin Foxley2009-09-221-1/+1
| | | | | | Got it compiling thus far, still working on getting it to run Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* remove a few more empty #if/#endif pairsDenys Vlasenko2009-09-181-2/+0
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-183-9/+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-1848-153/+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>
* support building out-of-treeBernhard Reutner-Fischer2009-08-194-0/+8
| | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merged revisions 25821,25823-25824,25836 via svnmerge from Khem Raj2009-03-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25821 | aldot | 2009-03-25 12:27:56 -0700 (Wed, 25 Mar 2009) | 2 lines - do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger) ........ r25823 | aldot | 2009-03-25 13:28:19 -0700 (Wed, 25 Mar 2009) | 8 lines - Add strtouq alias (to strtoul) for 64bit The strtouq alias was only available on 32bit, breaking compilation of stuff using strtouq on 64bit machines. At the same time use the correct return type (u_quad_t). Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk> ........ r25824 | aldot | 2009-03-26 01:51:47 -0700 (Thu, 26 Mar 2009) | 2 lines - ignore objects ........ r25836 | landley | 2009-03-26 21:03:20 -0700 (Thu, 26 Mar 2009) | 3 lines 32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28. The new guard symbol is "__SPARC_POSIX_TYPES_H". ........
* *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xDenis Vlasenko2009-01-211-2/+2
| | | | | | | | | | | | | | | | | | | is always equivalent to __UCLIBC_CURLOCALE->x. remove typedef __uclibc_locale_t, it used only in a few places, it is lees confusing to use struct __uclibc_locale_struct everywhere. xlocale.h: hide __global_locale back under _LIBC, bug 53 is wrong in claiming it should be exported. Also hide under _LIBC: extern __locale_t __curlocale_var; extern __locale_t __curlocale(void); extern __locale_t __curlocale_set(__locale_t newloc); # define __UCLIBC_CURLOCALE # define __XL_NPP(N) # define __LOCALE_PARAM # define __LOCALE_ARG # define __LOCALE_PTR
* libc/stdlib/_strtod.c: add parens around a | bDenis Vlasenko2008-12-291-1/+1
|
* - pull r24593:24596 from trunkBernhard Reutner-Fischer2008-12-291-2/+2
|
* ctype: remove some trivial macros from ctype.h;Denis Vlasenko2008-12-271-17/+11
| | | | | | | | | | | | remove __tolower and __toupper (they existed only in SOME configs!); remove usages of _tolower (some of them clearly buggy) from uclibc code; add a few more -U<define> options to unifdef pass over installed headers; document it on docs/wchar_and_locale.txt text data bss dec hex filename - 514963 2727 15396 533086 8225e lib/libuClibc-0.9.30-svn.so + 514888 2727 15396 533011 82213 lib/libuClibc-0.9.30-svn.so
* Synch with trunk @ 24379Carmelo Amoroso2008-12-111-120/+105
| | | | Step 24: miscellaneous merge from trunk.
* Synch with trunk @ 24242Carmelo Amoroso2008-12-035-33/+21
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-2746-117/+115
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24087Carmelo Amoroso2008-11-189-13/+13
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1716-128/+148
| | | | Step 7: libc/stdlib and malloc
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-174-16/+16
| | | | | Step 5 Various Makefile.in
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-3120-32/+32
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-0/+1
| | | | | | | | | | | | Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy. warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu Also fix this other warning. warning: missing braces around initializer warning: (near initialization for '_stdio_streams[0].__lock.__
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-0939-499/+553
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* SYnch with trunk: new filesCarmelo Amoroso2008-07-091-0/+48
|
* Synch the whole build system. Also including recent fix on testsuite build ↵Carmelo Amoroso2008-07-091-2/+8
| | | | system
* Sync build machinery stuff from trunk. Some more fixed for mips nptl portKhem Raj2008-06-271-1/+0
|
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-2013-27/+48
| | | | <carmelo.amoroso@st.com>
* More merging from trunk."Steven J. Hill"2007-01-212-6/+4
|
* Merge from trunk."Steven J. Hill"2006-08-2218-70/+31
|
* Merge from trunk. Going pretty good so far. Kind of. Okay, not really."Steven J. Hill"2006-02-25126-1603/+2286
|
* Copy from trunk."Steven J. Hill"2006-01-121-0/+208
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-0718-32/+47
|
* Finish merge from trunk, again, no really."Steven J. Hill"2005-12-101-3/+3
|
* Merge from trunk."Steven J. Hill"2005-12-1021-99/+138
|
* Fix 'sigaction' for NPTL and other thread models."Steven J. Hill"2005-12-081-2/+0
|
* Merge from trunk."Steven J. Hill"2005-12-084-4/+10
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-0631-65/+69
|
* Merge from trunk."Steven J. Hill"2005-12-0230-346/+113
|
* Mini-merge from trunk. Not as fun as a Mini Cooper, but oh well."Steven J. Hill"2005-12-012-67/+69
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-1/+2
|
* Massive merge from trunk."Steven J. Hill"2005-11-174-18/+34
|
* Remove '__libc_fatal' function and usage of it. Remove and disable 'freeres' ↵"Steven J. Hill"2005-11-162-63/+0
| | | | code having to do with internal library memory usage and GDB. uClibc homey don't play that.
* Merge from trunk."Steven J. Hill"2005-10-302-20/+12
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+33
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+31
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+42
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+125
|
* Fix up build system for NPTL. I admit it is much cleaner now, but I lost my ↵"Steven J. Hill"2005-10-041-2/+8
| | | | entire Saturday fixing this $!#$!#@$T! up.
* Big, huge fricking merge. Peter, if you touch the build system again I'm ↵"Steven J. Hill"2005-10-042-78/+184
| | | | going to smash your keyboard.