summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-05-31Atsushi Nemoto writes:Mike Frysinger
Current MIPS readahead(), posix_fadvise(), posix_fadvise64() do not match with kernel on all ABIs. On O32 ABI, a padding is needed before a long long argument. On N32/N64, a long long argument should be passed via a single register.
2007-05-31Atsushi Nemoto writes:Mike Frysinger
http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html states it returns error code instead of setting errno.
2007-05-25Jean-Christian de Rivaz writes:Mike Frysinger
I actually suspect this code into the file uClibc/libc/sysdeps/linux/common/poll.c: tval.tv_nsec = (timeout % 1000) *1000; <==== make only usec! From milisecond this really needs a * 1000000 to make nanosecond. Without this a 1100 milisecond timeout is converted into a 1 seconde and 100 microsecond timeout! This can explain the weird result of the test code.
2007-05-25Remove the arch specific mmap impl. for Powerpc. The common one will do.Joakim Tjernlund
2007-05-24use POSIX -eq rather than bash == #1360Mike Frysinger
2007-05-24Fix MIPS syscall() and pipe functions to set errno correctly as reported by ↵"Steven J. Hill"
Daniel Jacobowitz on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017968.html> .
2007-05-24Fix ARM EABI signal unwinding to accomodate signal frame layout between ↵"Steven J. Hill"
Linux kernel versions as reported by Joseph S. Myers on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017971.html> .
2007-05-15Restored indentation.Peter Kjellerstedt
2007-05-15Made it compile again.Peter Kjellerstedt
2007-05-15Fix arm mmap when using mmap2 syscall. Fixes bug #1303Khem Raj
2007-05-15Remove preprocessor warning due to missing definition of USE_TLSKhem Raj
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-05-04- commentary typo fixBernhard Reutner-Fischer
2007-05-03give proper prototypesMike Frysinger
2007-05-02cancellation-points needs librtMike Frysinger
2007-05-02exercise all required POSIX pthread cancellation pointsMike Frysinger
2007-05-02Nickolai Zeldovich writes:Mike Frysinger
Currently, tcgetpgrp() in uClibc uses an int to store a PID (fetched via ioctl TIOCGPGRP). This causes problems on platforms where pid_t is defined to be larger (e.g., uint64_t). Other functions in termios, such as tcgetsid() and tcsetpgrp(), already pass a pid_t to ioctl(), so the following patch does the same in tcgetpgrp() as well.
2007-05-02Daniel Jacobowitz: sleep()/usleep() relies on nanosleep() being a cancellationMike Frysinger
point but the files have "libc_hidden_proto(nanosleep)" which means it always calls the libc.so version, never the wrapped version in libpthread.so that's a cancellation point.
2007-04-30Carmelo AMOROSO writes:Mike Frysinger
running LTP test suite on uClibc-nptl for sh4 I found a bug into pread and pwrite functions. When the offset is negative it is not correctly handled due to a missing shift operation, so it is passed to the syscall as the highest unsigned positive value.
2007-04-24fix from Bernd Schmidt for realloc shrinkage bugMike Frysinger
2007-04-23- include stdbool.hBernhard Reutner-Fischer
2007-04-21This test needs XLOCALE to work."Steven J. Hill"
2007-04-18Bugfix from Atsushi Nemoto: return nonzero error code on failure Rob Landley
(without which busybox ping segfaults on error). Broken during locking changes in in svn 16801.
2007-04-17if chroot() failed, then reset "chroot_dir" to "." so that after we do our ↵Mike Frysinger
fallback chdir(), we dont continue to prefix the chroot path ... fixes `ldconfig.host -r some/dir/`
2007-04-17cleanup style; no functional changesMike Frysinger
2007-04-17fix ld.so.cache handling on no-mmu setupsMike Frysinger
2007-04-17- shrink resolver codeBernhard Reutner-Fischer
2007-04-17force ourselves to write proper code and develop testscasesMike Frysinger
2007-04-17move uclibc.org out of actual source treeMike Frysinger
2007-04-17dont force a . before EXTRAVERSION so we can be a little more flexible with ↵Mike Frysinger
versioning
2007-04-17catch a small overflow in malloc-standardMike Frysinger
2007-04-17disable for nowMike Frysinger
2007-04-17add a basic .depend target to better catch updates in source filesMike Frysinger
2007-04-14- doesn't make sense to impose a limit that is too narrow. 12 ought to be fine..Bernhard Reutner-Fischer
2007-04-14- dtrtBernhard Reutner-Fischer
2007-04-13fix up malloc debug buildingMike Frysinger
2007-04-13Patch by Ricard Wanderlof <ricardw at axis dot com>:Peter Kjellerstedt
* Add configurable buffer sizes for getpwnam() and getgrnam(). The default buffer size is, as before, 256 (glibc seems to use 1024 by default).
2007-04-12remove __* symbols and enable llrintf()Mike Frysinger
2007-04-11test case to make sure realloc() can shrink buffers properlyMike Frysinger
2007-04-11POSIX says you can use realloc() to shrink buffers ... make sure we dont ↵Mike Frysinger
trigger a buffer overflow in that case
2007-04-03import llrint() from glibcMike Frysinger
2007-04-02implement cargMike Frysinger
2007-04-02fixes from Carmelo AMOROSO to depend less on kernel headersMike Frysinger
2007-04-02POSIX requires that errno be set whenever 0 is returned by malloc()Mike Frysinger
2007-04-02Fix fallout from the e500 math integration.Joakim Tjernlund
from Steve Papacharalambous.
2007-03-31Bernd Schmidt writes:Joakim Tjernlund
Currently a static libdl.a doesn't run all the constructors or destructors of the libraries it loads. I can't see a good reason for that, and it does cause aborts in the destructors it does run for things like libgcc.so on the Blackfin. Fixed with the patch below - untested in mainline, but the equivalent has been in our Blackfin tree for a while now.
2007-03-31Update comment regarding passing dl_fini.Joakim Tjernlund
2007-03-31From Steve Papacharalambous:Joakim Tjernlund
Add math support for PowerPC e500.
2007-03-29Revert last change until we figure out the correct fix.Rob Landley
2007-03-28Make the code match the comments. (I narrowed down the bug, Khem Raj Rob Landley
pointed out the solution. This fixes a segfault for me on exit from a statically linked "hello world".)