Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Sorry. Changed this while fixing the last bug and forgot to change it | Manuel Novoa III | 2003-05-23 | 1 | -1/+1 | |
| | | | | back. Unfortunately, none of my test cases caught it. | |||||
* | Fix (hopefully) scanf behavior for nul bytes in the stream when processing | Manuel Novoa III | 2003-05-15 | 2 | -7/+23 | |
| | | | | | | | %c, %s, and %[ specifiers. Note that scanf is undergoing rewrite so I didn't bother optimizing this. I did run all my regression tests though. Set EOF correctly for fmemopen on readonly streams. I really need to check what glibc behavior is for the various open modes though. | |||||
* | Sleep was returning the wrong value because: | David McCullough | 2003-05-14 | 1 | -2/+4 | |
| | | | | | | | | | * nanosleep returns the remaining time, not the time slept * nanosleep only fills out the remaining time if it returns -1 (ie., the sleep was interrupted) Fix from Paul Dale <pauli@snapgear.com> | |||||
* | (__libc_open): Fix wacky indentation. | Miles Bader | 2003-05-08 | 1 | -6/+6 | |
| | ||||||
* | setjmp was trashing r12 which is bad and can cause apps to crash if they are | David McCullough | 2003-05-01 | 1 | -3/+3 | |
| | | | | | using r12. r12 is supposed to be preserved across C function calls. r0-r7 are trashable :-) | |||||
* | Some small fixups for the h8 support and add the h8s platform support. | David McCullough | 2003-04-29 | 3 | -4/+18 | |
| | ||||||
* | Fixup __libc_open to use varargs and match the prototype. | David McCullough | 2003-04-29 | 1 | -2/+7 | |
| | | | | | On the H8 varargs are rather unusual and if you declare a function with varargs, it had better use them or it won't work. | |||||
* | uClibc 0.9.19 has a bug in globfree(). If the previous call to | Eric Andersen | 2003-04-29 | 1 | -2/+2 | |
| | | | | | | | | | | | glob(...,pglob) used the GLOB_DOOFFS flag to reserve the first pglob->gl_offs slots of pglob->gl_pathv, globfree(pglob) would attempt to free the objects pointed to by those slots. If those objects were not on the heap, the system would crash. The attached patch fixes this. Norm | |||||
* | Thierry De Corte notices that when UCLIBC_HAS_FLOAT is disabled, we must also | Eric Andersen | 2003-04-23 | 1 | -5/+4 | |
| | | | | disable drand48, drand48_r, erand48, and erand48_r since they use floats. | |||||
* | Fix SIGTRAP handling on arm. The defination of struct ucontext, | Eric Andersen | 2003-04-21 | 1 | -8/+7 | |
| | | | | | which was copied from glibc, is wrong. So fix it. -Erik | |||||
* | Patch from Marshall M. Midden: | Eric Andersen | 2003-04-19 | 1 | -33/+39 | |
| | | | | | | It turns out that uClibc's syslog.c does not close sockets when doing retries and when it exits due to errors. This patch fixes it. | |||||
* | Konrad Taro Eisele noticed the sparc struct stat was broken. | Eric Andersen | 2003-04-19 | 1 | -22/+18 | |
| | | | | Fix it. | |||||
* | Patch from Liam Girdwood to fix mips profiling when using | Eric Andersen | 2003-04-16 | 1 | -0/+5 | |
| | | | | newer gcc versions. | |||||
* | (free_to_heap): Unlock the heap before returning in the | Miles Bader | 2003-04-02 | 1 | -2/+5 | |
| | | | | __UCLIBC_UCLINUX_BROKEN_MUNMAP__ case. Fix from YYang1@Winbond.com.tw. | |||||
* | sjhill needs to buy donuts for everyone | Eric Andersen | 2003-03-11 | 1 | -1/+0 | |
| | ||||||
* | Compliance with MIPS ABI and MIPS kernel changes. | "Steven J. Hill" | 2003-03-11 | 2 | -17/+2 | |
| | ||||||
* | Patch from Stefan Allius: | Eric Andersen | 2003-03-07 | 2 | -3/+7 | |
| | | | | fix a couple of gcc 3.3 compiler warnings in gmon.c | |||||
* | For now, leave mmap on mips using mmap1, since mmap2 seems | Eric Andersen | 2003-03-06 | 1 | -0/+5 | |
| | | | | | to have 'issues' (i.e. it doesn't work 100% properly). -Erik | |||||
* | Finish off gmon based profiling for powerpc | Eric Andersen | 2003-03-06 | 3 | -4/+120 | |
| | ||||||
* | Make profiling on arm work | Eric Andersen | 2003-03-06 | 2 | -2/+15 | |
| | ||||||
* | Patch from Stefan Allius to finish off the last required bits | Eric Andersen | 2003-03-06 | 3 | -29/+90 | |
| | | | | for gmon profiling support for the SuperH target. | |||||
* | The vfork system call on powerpc seems to be completely | Eric Andersen | 2003-03-05 | 1 | -3/+9 | |
| | | | | broken. Use fork instead, per glibc behavior. | |||||
* | Default to using fork() for vfork() when no arch specific | Eric Andersen | 2003-03-05 | 2 | -1/+9 | |
| | | | | implementation of vfork is present. | |||||
* | Fix compile when profiling is disabled | Eric Andersen | 2003-03-04 | 1 | -1/+1 | |
| | ||||||
* | Initial effort at adding profiling support. | Eric Andersen | 2003-03-03 | 53 | -3/+2660 | |
| | ||||||
* | Remove bogus link_warning. It is meaningless and stupid. While the | Manuel Novoa III | 2003-03-03 | 1 | -2/+0 | |
| | | | | | | previous committed patch was well-meaning, the #warning it replaced was simply a reminder I accidently left in when implementing strcoll/wcscoll. Besides, strcmp is completely locale invariant. | |||||
* | Fix the double sub #48, should have been an add :-) | David McCullough | 2003-03-03 | 1 | -1/+1 | |
| | ||||||
* | cut-n-paste strikes again | Eric Andersen | 2003-03-02 | 1 | -1/+1 | |
| | ||||||
* | Add missing alias __modify_ldt | Eric Andersen | 2003-03-02 | 1 | -0/+1 | |
| | ||||||
* | Patch from Jeffrey Damick: | Eric Andersen | 2003-03-01 | 1 | -0/+2 | |
| | | | | | | | | With glibc if you do a res_init() that forces a reread of the nameservers file, but in uClibc the res_init will not force a reread if it has already read the file because then the nameservers value is greater than 0. So res_init must call close_nameservers() before calling open_nameservers(). | |||||
* | Major update for pthreads, based in large part on improvements | Eric Andersen | 2003-02-27 | 2 | -10/+9 | |
| | | | | | from glibc 2.3. This should make threads much more efficient. -Erik | |||||
* | Prefer mmap2 for mips when available. Fix the mmap test. | Eric Andersen | 2003-02-26 | 1 | -0/+5 | |
| | | | | -Erik | |||||
* | Fixup some small issues that show up when large file support is disabled | Eric Andersen | 2003-02-24 | 2 | -0/+6 | |
| | ||||||
* | Fix FP handling alignment problems on ARM platforms without an FPU, | David McCullough | 2003-02-23 | 2 | -0/+4 | |
| | | | | patch from Vadim Lebedev <vadim@7chips.com>. | |||||
* | Some stuff I forgot to check in about a month ago... | Eric Andersen | 2003-02-23 | 2 | -27/+39 | |
| | | | | -Erik | |||||
* | Reserve stack space for args we pass to __uClibc_main. | Miles Bader | 2003-02-21 | 1 | -2/+3 | |
| | ||||||
* | Add back in PTRACE_SINGLESTEP. | Miles Bader | 2003-02-20 | 1 | -3/+7 | |
| | | | | Use decimal instead of hex to agree with common/sys/ptrace.h. | |||||
* | Fixup ioctl so we can special case powerpc silliness | Eric Andersen | 2003-02-18 | 5 | -22/+95 | |
| | ||||||
* | Patch from Stefan Allius: | Eric Andersen | 2003-02-17 | 1 | -1/+2 | |
| | | | | | In libc/string/wstring I replaced a '#warning ..' statement by the link_warning macro. | |||||
* | Use a define for the path to /etc/TZ | David McCullough | 2003-02-17 | 1 | -1/+2 | |
| | ||||||
* | Using -g when doing the initfini compilation breaks the SH4 case pretty | David McCullough | 2003-02-17 | 1 | -0/+5 | |
| | | | | | badly. I have removed -g for all platforms as I suspect no one wants it for the initfini creation process. | |||||
* | If floating point was enabled, setjmp would write to memory well past the | David McCullough | 2003-02-17 | 1 | -2/+3 | |
| | | | | end of the buffer. | |||||
* | Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fix | Eric Andersen | 2003-02-16 | 1 | -5/+5 | |
| | | | | some other minor warnings. | |||||
* | Add missing ';'s so powerpc will compile | Eric Andersen | 2003-02-15 | 1 | -2/+2 | |
| | ||||||
* | Fix a _ton_ of system call user type/kernel type translation | Eric Andersen | 2003-02-15 | 3 | -109/+301 | |
| | | | | | problems, causing user space to get scrambled hosed up results. -Erik | |||||
* | Eliminate a needless extern | Eric Andersen | 2003-02-12 | 2 | -50/+41 | |
| | ||||||
* | We need to have the size of struct dirent equal to the size of struct dirent64 | Eric Andersen | 2003-02-10 | 3 | -18/+12 | |
| | | | | | | | so when _FILE_OFFSET_BITS=64 (such that we transparently change 32bit into 64 bit interfaces), we will not lose an unsigned char from d_name which silently becomes the d_type field instead. oops. -Erik | |||||
* | Pass CHILD_STACK argument to system call (it possibly worked before `by | Miles Bader | 2003-02-10 | 1 | -3/+5 | |
| | | | | accident', as the function argument is in the same register). | |||||
* | Fix a warning | Eric Andersen | 2003-02-09 | 1 | -52/+49 | |
| | ||||||
* | Fix a compile error | Eric Andersen | 2003-02-09 | 1 | -1/+0 | |
| |