summaryrefslogtreecommitdiffstats
path: root/libc/misc
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed pointless initialization to 0 of DIR fieldsCarmelo Amoroso2007-12-071-1/+0
| | | | | | | after having added memset. Thanks to Peter Mazinger for pointing this out. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix opendir problem when statically linked due to a missingCarmelo Amoroso2007-12-051-0/+1
| | | | | | | | | initialization of the mutex field within DIR struct. When linked dynamically instead, __pthread_mutex_init will initialize the mutex itself. Without this fix, any call to readdir will stuck forever trying to acquire the mutex. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Add some necessary Makefile bits for UCLIBC_FORMAT_FLAT_SEP_DATA.Bernd Schmidt2007-11-231-0/+3
|
* Some shared flat improvements.Bernd Schmidt2007-11-231-0/+7
| | | | | | | | Fix minor errors: - UCLIBC_SHARED_FLAT_ID instead of SHARED_FLAT_ID - use -Wl,-shared-lib-id properly Use libc_so.a as the source for the shared libc, in order to be able to use -mleaf-id-shared-library on the Blackfin.
* Do not return error when fprintf returns 0 in addmntent().Khem Raj2007-11-101-5/+2
| | | | | fprintf is considered failing if the return is less than 0
* also fix bug 1012 by moschny in 64bit version of readdirMike Frysinger2007-09-151-1/+1
|
* bug 1310: drop hidden aliases to data since some arches crap with this due ↵Mike Frysinger2007-09-151-14/+13
| | | | to copy relocs
* make regex_old.c, ruserpass.c use __uc_malloc,Denis Vlasenko2007-07-303-9/+10
| | | | | | | | | | | | | replace "buf = malloc(BUFSIZ); if (!buf) abort();" by __uc_malloc elsewhere. With last 7 patches together uclibc has 3k of static data total with fairly big .config and with 2k being used for 2 x BUFSIZ stdio buffer: text data bss dec hex filename 114 132 2048 2294 8f6 _stdio.o (ex lib/libc.a) total data 593 total bss 3062
* make utent.c, getpass.c use __uc_mallocDenis Vlasenko2007-07-301-4/+8
|
* change the auxvt code from being dependent on MMU to !LDSO as auxvt things ↵Mike Frysinger2007-06-011-5/+5
| | | | are ELF-specific, not MMU-specific
* Nickolai Zeldovich writes: if the temp name already exists, then the retry ↵Mike Frysinger2007-05-061-10/+9
| | | | code does not create a new temp name as the code to do so is outside of the retry loop
* svn 17941/17943 broke the build. 18032 made the threaded case compile Rob Landley2007-03-081-9/+4
| | | | | | again, this makes the non-threaded case compile again. I have no idea if this is the proper fix, I'm just tired if it not compiling for two weeks.
* Fix a build break due to errno and h_errno being unresolved symbols. Rob Landley2007-03-071-2/+2
| | | | (No idea if this is the right fix but it's something for now.)
* need to double check internal errno handling wrt libpthreadMike Frysinger2007-02-221-0/+2
|
* add missing file for previous commit as pointed out by Peter KjellerstedtMike Frysinger2007-02-211-0/+21
|
* redo errno handling so that it should work both in thread and non-threaded ↵Mike Frysinger2007-02-213-26/+10
| | | | situations
* - should look if LFS is enabled as suggested by pkj in #1131. This generates ↵Bernhard Reutner-Fischer2007-01-301-1/+1
| | | | identical cc1 input for LFS enabled (compared to before r17652) but makes sure that we pickup the non-LFS if LFS is turned off (like r17652 did in this case).
* - fix compilation of GNU glob with !LFSBernhard Reutner-Fischer2007-01-291-1/+1
| | | | Sounds like a typo, really
* Peter Mazinger pointed out that my last commit was faulty.Joakim Tjernlund2007-01-111-1/+1
| | | | This should fix it.
* Fix SEGV for static builds in exit() path.Joakim Tjernlund2007-01-102-1/+26
| | | | Leave the now obsolete libc/misc/pthread dir in for now.
* create new menu so people can select what format they wish to build uClibcMike Frysinger2006-12-112-9/+9
|
* these weaks are also needed in libc.so for the time beingEric Andersen2006-12-091-1/+1
|
* oops, use __pthread_mutex_unlock() not pthread_mutex_unlock()Eric Andersen2006-12-091-1/+2
|
* silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen2006-12-093-2/+28
|
* Richard Sandiford writes: add support for init/fini arrays in shared flat ↵Mike Frysinger2006-12-085-5/+149
| | | | libraries
* finish the pthread locking cleanups. This should get things compiling againEric Andersen2006-12-081-1/+1
| | | | though I still need to silence the warnings about _pthread_cleanup_push_defer
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-0714-152/+135
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* (no commit message)"Steven J. Hill"2006-12-021-0/+5
|
* fix from cmetcalf to make sure we clear the auxvt table before using itMike Frysinger2006-11-271-0/+1
|
* I failed to check the patch adding support for the new (stupid) US 2007Eric Andersen2006-11-071-1/+3
| | | | daylight savings time rules when xlocale was enabled. Fix compile error.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-061-1/+1
| | | | | | | We should not use old stype ipc_perm for 64-bit mips kernel. I suppose other 64-bit platforms shoule define __IPC_64 also and we can define it unconditionally, but not sure for other archs ...
* In bug 622, JohnAta writes:Eric Andersen2006-11-021-4/+38
| | | | | | | | In 2005, Congress passed a law so that in 2007, the second week of March starts DST. Previously, it was the first week of April. The uclibc time library routines apparently have not been updated to reflect this new processing. Using the current version of uclibc, on March 11, 2007 the reported time will be incorrect.
* fix bug 1012 as noted by moschnyEric Andersen2006-08-301-1/+1
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-232-0/+15
|
* psm writes:Eric Andersen2006-07-132-36/+1
| | | | | | | | forgotten to mention to remove glob-hooks.c and the reference in Makefile.in (the prototypes for the 3 hooks were already removed by the patch applied here) Peter
* patch from psm:Eric Andersen2006-07-131-19/+15
| | | | | | | | | | | | | | | - malloc/realloc/free are not prepared to be hidable in trunk, you can't use libc_hidden_proto(x) for them - using libc_hidden_proto(x64) LFS unguarded will fail because the header does not provide the prototype - if you are using libc_hidden_proto(collated_compare|prefix_array), you also need libc_hidden_def|_weak(x) after the function itself, the result being to provide a hidden __GI_collated_compare and a visible collated_compare, for this case I do not consider this necessary, especially that collated_compare is hidden already (I have chosen to prefix them with __ to know that they are intended to be internal only, against the practice in glibc, you could go without prefix as well)
* remove jump relocs, with minor related cleanupsEric Andersen2006-07-052-40/+53
|
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-0519-22/+3
| | | | I had clearly run search/replace on that were cluttering things up.
* minor updatesEric Andersen2006-07-052-52/+56
|
* gcc 4.1.x is apparently miscompiling gnu glob on mips. This ports the ↵Eric Andersen2006-07-042-228/+771
| | | | | | | latest and massivly bloated greatest from glibc. And fixes things so the gnu glob interface is no longer the default.
* expand comment a little more as to why _stdio_init() is weak thanks to mjn3Mike Frysinger2006-05-061-0/+2
|
* use weak_alias() for data symbols, not strong_alias()Mike Frysinger2006-05-043-7/+5
|
* select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵Peter S. Mazinger2006-03-233-2/+20
| | | | defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-228-11/+18
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-229-12/+19
| | | | _ISOC99/XOPEN_SOURCE
* some more fixes from rholzmann in Bug 716 ... make sure the code actually ↵Mike Frysinger2006-03-221-21/+41
| | | | functions, then we worry about shrinking it ...
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-1010-45/+3
| | | | most of global data relocations are back
* Remove __libc_internal_tsd_{s,g}et, they do not exist anymorePeter S. Mazinger2006-03-092-36/+0
|
* Add UCLIBC_HAS_SSP_COMPAT option guarding gcc-3.x ssp supportPeter S. Mazinger2006-03-071-3/+10
|
* return NULL if year is too bigMike Frysinger2006-03-011-0/+12
|