summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2008-10-08- Fix strtol*() with xlocale (on e.g. x86_64) (closes #2544)Bernhard Reutner-Fischer
2008-10-08- add/use variables to make build-tools configurableBernhard Reutner-Fischer
2008-10-06Fix scandir function to reset the errno when the Carmelo Amoroso
selector returns zero(no entries) modifying the errno. The attached test case implements a dummy filter that returns alway no entries, but change the errno. scandir is not expected to fail, just returning 0 entries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-10-06- fix typo in previous commitBernhard Reutner-Fischer
2008-10-06- add libc_hidden_def(clock_getres) as spotted by Ned LuddBernhard Reutner-Fischer
2008-10-06- sync obstack.{c,h} with glibc (Peter S. Mazinger)Bernhard Reutner-Fischer
2008-10-06- Fallback waitid impl (Peter S. Mazinger)Bernhard Reutner-Fischer
2008-10-06- hide relocation (Peter S. Mazinger)Bernhard Reutner-Fischer
2008-10-06- tweak inclusion of asm/socket.h for linux-2.4 (Peter S. Mazinger)Bernhard Reutner-Fischer
2008-10-03- add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer
2008-10-03- use c89-style commentsBernhard Reutner-Fischer
Closes issue #5194
2008-10-01Fix compilation problem whit the following config options:Carmelo Amoroso
UCLIBC_HAS_STRING_GENERIC_OPT=y UCLIBC_HAS_STRING_ARCH_OPT is not set by making WORD_COPY_FWD macros visible. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-09-30- add missing const qualifier for !__NR_sched_setaffinity && HAVE_STUBSBernhard Reutner-Fischer
2008-09-30- remove some duplicate includesBernhard Reutner-Fischer
2008-09-30- fix compilation of UCLIBC_HAS_PTY && !ASSUME_DEVPTS && !LINUX_SPECIFICBernhard Reutner-Fischer
2008-09-29- add a copy of user_regsBernhard Reutner-Fischer
2008-09-29- honour UCLIBC_HAS_SYSLOGBernhard Reutner-Fischer
2008-09-29- now passes all LTP testsBernhard Reutner-Fischer
2008-09-29i18n: Fix mbrtowc function to handle 0xc0 and 0xc1 sequence.Carmelo Amoroso
When the first byte of the multibyte sequence start with 0xc0 or 0xc1, the whole sequence is invalid, so the return value must be -1 (instead of -2). Fix bug #686. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-09-29- fix ISO C keywordsBernhard Reutner-Fischer
2008-09-27getgrouplist(): ...add files which I forgot to add.Denis Vlasenko
2008-09-27implement getgrouplist()Denis Vlasenko
2008-09-26use __UCLIBC_HAS_STUBS__Mike Frysinger
2008-09-26- move libm_hidden_proto to the corresponding headers. Remove from callsites.Bernhard Reutner-Fischer
Note that gamma_r is not provided by glibc, perhaps add a SUN specific knob later
2008-09-26Rebased the memcpy() and memset() implementations for CRIS on the versionsPeter Kjellerstedt
found in newlib rather than the ones found in glibc. This should make them smaller and (hopefully) make them compile with newer versions of gcc.
2008-09-26Correct _init()/_fini() for CRISv32 as suggested by Stefan de Konink.Peter Kjellerstedt
2008-09-25- cast both times to double for consistencyBernhard Reutner-Fischer
2008-09-25- also clean .oSBernhard Reutner-Fischer
2008-09-25- disable gettext support in obstack.Bernhard Reutner-Fischer
In function `print_and_abort': obstack.c:(.text.print_and_abort+0x1b): undefined reference to `__dcgettext'
2008-09-25- fix compilation of legacy modeBernhard Reutner-Fischer
2008-09-25- add missing hidden_defBernhard Reutner-Fischer
2008-09-25- fix !LFS case for i386Bernhard Reutner-Fischer
2008-09-25- arm eabi needs __UCLIBC_TRUNCATE64_HAS_4_ARGS__Bernhard Reutner-Fischer
(75_all_uClibc-arm-ftruncate64.patch from gentoo)
2008-09-25sh: Fix SYSCALL_INST_STRx to work for SH-2[A] core by using theCarmelo Amoroso
__SH_SYSCALL_TRAP_BASE macro. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-09-25delete/init module functions are not 2.4 specificMike Frysinger
2008-09-24- only compile them if the respective syscalls are availableBernhard Reutner-Fischer
2008-09-24- silence warning about possibly undefined preprocessor tokenBernhard Reutner-Fischer
2008-09-24- Fix arguments to compare function. Closes #1081Bernhard Reutner-Fischer
2008-09-22Add work-around for powerpc.Carmelo Amoroso
Do noy use syscall wrapper based on INTERNAL_SYSCALL. A proper fix would require an arch specific implementation. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-09-21Fix up memset() argument ordering in open_memstream(). PreviouslyPaul Mundt
parts of the buffers were not being zeroed out as expected. Reported by Dmytro Gorbunov <dmitro.gorbunov@gmail.com>.
2008-09-19- fix for r23427. Thanks to psm for mentioning this and sorry for the breakageBernhard Reutner-Fischer
2008-09-19- add posix_fadvise. Not yet tested most likely broken in advise64Bernhard Reutner-Fischer
2008-09-19- take LFS into account and add fallback via fadvise64Bernhard Reutner-Fischer
2008-09-19- posix_fadvise64 for i386Bernhard Reutner-Fischer
2008-09-18Fix posix_fadvise[64] functions to return the error number in caseCarmelo Amoroso
of failure instead of -1 and setting errno, according to SuSv3 (IEEE Std 1003.1 2004 edition) specification. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-09-18- remove non stdc path (old style definitions). No obj-code changesBernhard Reutner-Fischer
2008-09-18- exec_comm_child can not return everBernhard Reutner-Fischer
2008-09-17avr32: add defines and prototype function for sync_file_range syscallHans-Christian Egtvedt
This patch adds the needed defines and function prototype for the sync_file_range syscall on AVR32 architecture. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-09-16- sync_file_range(). Missed the i386 directory in previous commitBernhard Reutner-Fischer
2008-09-16Add INTERNAL_SYSCALL macros for shCarmelo Amoroso