summaryrefslogtreecommitdiff
path: root/libc/misc
AgeCommit message (Collapse)Author
2008-01-05implement semtimedop for #927Mike Frysinger
2008-01-05michael_d writes in #1869: make sure GNU error functions output 'program: ' ↵Mike Frysinger
as documented in the function api
2007-12-07Removed pointless initialization to 0 of DIR fieldsCarmelo Amoroso
after having added memset. Thanks to Peter Mazinger for pointing this out. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2007-12-05Fix opendir problem when statically linked due to a missingCarmelo Amoroso
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>
2007-11-23Add some necessary Makefile bits for UCLIBC_FORMAT_FLAT_SEP_DATA.Bernd Schmidt
2007-11-23Some shared flat improvements.Bernd Schmidt
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.
2007-11-10Do not return error when fprintf returns 0 in addmntent().Khem Raj
fprintf is considered failing if the return is less than 0
2007-09-15also fix bug 1012 by moschny in 64bit version of readdirMike Frysinger
2007-09-15bug 1310: drop hidden aliases to data since some arches crap with this due ↵Mike Frysinger
to copy relocs
2007-07-30make regex_old.c, ruserpass.c use __uc_malloc,Denis Vlasenko
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
2007-07-30make utent.c, getpass.c use __uc_mallocDenis Vlasenko
2007-06-01change the auxvt code from being dependent on MMU to !LDSO as auxvt things ↵Mike Frysinger
are ELF-specific, not MMU-specific
2007-05-06Nickolai Zeldovich writes: if the temp name already exists, then the retry ↵Mike Frysinger
code does not create a new temp name as the code to do so is outside of the retry loop
2007-03-08svn 17941/17943 broke the build. 18032 made the threaded case compile Rob Landley
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.
2007-03-07Fix a build break due to errno and h_errno being unresolved symbols. Rob Landley
(No idea if this is the right fix but it's something for now.)
2007-02-22need to double check internal errno handling wrt libpthreadMike Frysinger
2007-02-21add missing file for previous commit as pointed out by Peter KjellerstedtMike Frysinger
2007-02-21redo errno handling so that it should work both in thread and non-threaded ↵Mike Frysinger
situations
2007-01-30- should look if LFS is enabled as suggested by pkj in #1131. This generates ↵Bernhard Reutner-Fischer
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).
2007-01-29- fix compilation of GNU glob with !LFSBernhard Reutner-Fischer
Sounds like a typo, really
2007-01-11Peter Mazinger pointed out that my last commit was faulty.Joakim Tjernlund
This should fix it.
2007-01-10Fix SEGV for static builds in exit() path.Joakim Tjernlund
Leave the now obsolete libc/misc/pthread dir in for now.
2006-12-11create new menu so people can select what format they wish to build uClibcMike Frysinger
2006-12-09these weaks are also needed in libc.so for the time beingEric Andersen
2006-12-09oops, use __pthread_mutex_unlock() not pthread_mutex_unlock()Eric Andersen
2006-12-09silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen
2006-12-08Richard Sandiford writes: add support for init/fini arrays in shared flat ↵Mike Frysinger
libraries
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
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.
2006-12-02(no commit message)"Steven J. Hill"
2006-11-27fix from cmetcalf to make sure we clear the auxvt table before using itMike Frysinger
2006-11-07I failed to check the patch adding support for the new (stupid) US 2007Eric Andersen
daylight savings time rules when xlocale was enabled. Fix compile error.
2006-11-06mips64 patch from Atsushi Nemoto:Eric Andersen
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 ...
2006-11-02In bug 622, JohnAta writes:Eric Andersen
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.
2006-08-30fix bug 1012 as noted by moschnyEric Andersen
2006-08-23sync with psm: update errno handling to be the same on all archesMike Frysinger
2006-07-13psm writes:Eric Andersen
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
2006-07-13patch from psm:Eric Andersen
- 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)
2006-07-05remove jump relocs, with minor related cleanupsEric Andersen
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-07-05minor updatesEric Andersen
2006-07-04gcc 4.1.x is apparently miscompiling gnu glob on mips. This ports the ↵Eric Andersen
latest and massivly bloated greatest from glibc. And fixes things so the gnu glob interface is no longer the default.
2006-05-06expand comment a little more as to why _stdio_init() is weak thanks to mjn3Mike Frysinger
2006-05-04use weak_alias() for data symbols, not strong_alias()Mike Frysinger
2006-03-23select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵Peter S. Mazinger
defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
2006-03-22Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger
2006-03-22Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger
_ISOC99/XOPEN_SOURCE
2006-03-22some more fixes from rholzmann in Bug 716 ... make sure the code actually ↵Mike Frysinger
functions, then we worry about shrinking it ...
2006-03-10Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger
most of global data relocations are back
2006-03-09Remove __libc_internal_tsd_{s,g}et, they do not exist anymorePeter S. Mazinger