Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-01-02 | rohde at soap dot adsl dot dk writes: | Eric Andersen | |
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. | |||
2004-01-02 | Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh) | Manuel Novoa III | |
Fix (hopefully) a potential problem with failed freopen() calls. The fix isn't tested since I've been working on the replacement stdio core code which will go in after the next release. | |||
2004-01-02 | Oops... temporarily support the old stdio code. | Manuel Novoa III | |
2004-01-02 | The checking Erik added seems to be unnecessary. Without it, I am not | Manuel Novoa III | |
seeing any LTP failures. | |||
2004-01-02 | Redo the exec functions to comply with SUSv3. | Manuel Novoa III | |
2004-01-02 | Rewrite popen for SUSv3 compliance. | Manuel Novoa III | |
Added a list of popen()'d to store pids and use waitpid() in pclose(). Loop on waitpid() failure due to EINTR as required. Close parent's popen()'d FILEs in the {v}fork()'d child. Fix failure exit code for failed execve(). | |||
2004-01-02 | Minor fix from upstream glibc. | Manuel Novoa III | |
2004-01-02 | Kept the same approach, but rewrote the code for the most part. | Manuel Novoa III | |
Fixed some minor issues plus (as I recall) one SUSv3 errno case. | |||
2003-12-31 | Fir errno return when the file/path is NULL or points to an empty string. | Eric Andersen | |
-Erik | |||
2003-12-31 | Add extra checks for sigprocmask and rt_sigprocmask syscalls. | Eric Andersen | |
The rt_sigprocmask syscall has broken error handling in 2.4.x kernels, while the sigprocmask syscall appears to get things right. Regardless we should be extra careful, and add these checks. | |||
2003-12-30 | Fix the manditory typo in my last minute untested fix. | Eric Andersen | |
-Erik | |||
2003-12-30 | Make sleep behave itself properly inthe presence of SIGCHLD | Eric Andersen | |
2003-12-30 | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | |
Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik | |||
2003-12-30 | Update and restore malloc-simple. Slow as molasses, but trivially | Eric Andersen | |
simple and releases memory immediately when asked to do so. -Erik | |||
2003-12-28 | Fix a really dumb bug introduced in version 1.4 of this file (a patch for ipv6 | Eric Andersen | |
support) which could cause things like EOF and read errors while reading /etc/services to always return a TRY_AGAIN. The perl test suite would alloc a larger buffer and try again until all memory was exhausted. When we get a read error, or EOF, it means we didn't get what we wanted, and so we should return an error. Doing so fixes the failing perl 5.8.2 test. -Erik | |||
2003-12-28 | Fix whitespace | Eric Andersen | |
2003-12-27 | Handle the app_fini stuff in exit without requiring atexit(). | Manuel Novoa III | |
This avoids pulling in all the malloc/free code for a simple true/false app. | |||
2003-12-27 | Fix a long-standing bug with pthreads. A couple of linuxthreads files | Manuel Novoa III | |
were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests. | |||
2003-12-22 | oops | Eric Andersen | |
2003-12-22 | implement the worthless cuserid() function we claim to support. | Eric Andersen | |
This isn't in SuSv3, but is expected by at least some apps such as emacs... | |||
2003-12-22 | In unistd.h, getpgrp() is redirected to __getpgid(), but | Eric Andersen | |
we did not have a __getpgid(). Fix that. | |||
2003-12-17 | Patch from Paul Mundt <lethal@linux-sh.org>: | Eric Andersen | |
The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's glibc tree. | |||
2003-12-14 | Fix some dst issues in _time_mktime(). | Manuel Novoa III | |
Normalize the tm_isdst value to -1, 0, or 1. If no dst for this timezone, then reset tm_isdst to 0. | |||
2003-12-14 | Fix a couple of 'declaration after statement' errors. | Manuel Novoa III | |
2003-12-05 | Paul Mundt <lethal@linux-sh.org> writes: | Eric Andersen | |
This patch adds the libpthread backend bits for sh64. As noted previously, we can't inline things like the testandset() in pt-machine.h as we need to use a completely different ISA / CFLAGS in order for this to work. As a result, this patch is somewhat of a RFC as well to see what people think of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach I've taken currently has been to provide a sysdeps/Makefile with a note that TARGET_ARCHs that want build rules can simply add themselves into the list of matching architectures to add to the subdir rule for. This probably isn't the cleanest solution, but it's quite transparent and works quite well. | |||
2003-12-04 | Fix infinite loop in putgrent (forgotten increment). | Manuel Novoa III | |
2003-12-04 | Fix arm profiling support, which was accidentally removed | Eric Andersen | |
2003-12-04 | Building of iconv.o was accidently always disabled. | Manuel Novoa III | |
Also, build the iconv app in utils. | |||
2003-12-03 | Lethal noticed that the generated file gmon-start.S was not | Eric Andersen | |
being cleaned up. | |||
2003-12-03 | Patch from lethal, adding syscall() to the sh64 port | Eric Andersen | |
2003-12-03 | remove some garbage | Eric Andersen | |
2003-12-02 | Add a syscall() implementation using a hacked version of the syscall6 macro. | Manuel Novoa III | |
Untested, but syscall() is needed by busybox for pivot_root at least. | |||
2003-12-02 | Add function versions of ntohl and friends | Eric Andersen | |
2003-12-02 | Avoid a potentially undefined operation with a veriable++ in a macro | Eric Andersen | |
2003-12-02 | Put in a dummy reference to main so busybox will link. | Manuel Novoa III | |
2003-11-29 | Patch by "Bradley D. LaRonde" <brad@ltc.com> for boehm garbage collector. | Manuel Novoa III | |
2003-11-28 | Another missing mips function, needed by the boehm garbage collector. | Manuel Novoa III | |
2003-11-28 | Add sysmips(), based on a patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | Manuel Novoa III | |
2003-11-22 | Remove SAFECFLAGS. It was a workaround for failures in old awk script | Eric Andersen | |
used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well. | |||
2003-11-20 | Add missing weak alias for bcmp | Eric Andersen | |
2003-11-20 | Always include locale.h, which was included by libintl.h only when | Manuel Novoa III | |
optimizing. | |||
2003-11-20 | Don't depend on BSD naming | Eric Andersen | |
2003-11-20 | Add an initial set of arm optimized string functions. These | Eric Andersen | |
do seem to make noticable speed improvement... -Erik | |||
2003-11-20 | Lets try that one again... | Eric Andersen | |
2003-11-20 | Make certain that the arch specific stuff is always compiled last | Eric Andersen | |
2003-11-20 | Fixup dependancies to ensure arch specific string functions | Eric Andersen | |
will always win | |||
2003-11-19 | Fix the return value for fputs when passed an empty string. | Manuel Novoa III | |
Indirectly detected by gmp-4.1.2 self-tests and reported by "Peter S. Mazinger" <ps.m@gmx.net>. | |||
2003-11-17 | If __NR_ftruncate64 isn't defined, do the best we can. | Manuel Novoa III | |
2003-11-16 | I forgot to update the thread locking in the last dst fix. | Manuel Novoa III | |
2003-11-16 | Fix a build problem when using 2.2.x kernel headers. | Manuel Novoa III | |