summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Tiago Marques <tmarques@viaconnect.inf.br> -- fall back toEric Andersen2002-09-101-3/+12
| | | | | using SOCK_STREAM if SOCK_DGRAM fails. -Erik
* As noted by Bill Huang <billhuang@redsonic.com>, the gid and uidEric Andersen2002-09-101-1/+2
| | | | | were reversed in putpwent(). Oops. -Erik
* Remove malloc_simple from subdir list.Manuel Novoa III2002-09-091-1/+1
|
* Fixed compile bugs having to do with 64-bit filesystem operations that"Steven J. Hill"2002-09-092-0/+13
| | | | need to be disabled when 'DOLFS' is disabled.
* (realloc): Record the correct size in the malloc header in the caseMiles Bader2002-09-091-1/+1
| | | | | where we extended the existing allocation, and got back more than we asked for from the heap.
* Patch from Tero_Lyytik�inen <tero@paravant.fi> to fix bug in matchcharManuel Novoa III2002-09-061-0/+4
| | | | case.
* Add #include <malloc.h> to silence warning.Manuel Novoa III2002-09-061-0/+1
|
* Initial checkin.Miles Bader2002-09-061-0/+86
|
* Update debugging hooks.Miles Bader2002-09-063-30/+20
|
* split-out memalign and reallocEric Andersen2002-09-055-192/+261
| | | | -Erik
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-0532-59/+59
|
* 'syscall' now properly works for MIPS."Steven J. Hill"2002-09-043-46/+56
|
* Make sjhill happy, and revive memalignEric Andersen2002-09-044-39/+69
| | | | -Erik
* Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux"Steven J. Hill"2002-09-042-3/+3
| | | | | | Test Project to compile as well as be consistent with the architecture specific files. Maybe eventually the architecture specific files could be removed all together.
* Per discussions with Erik, 'valloc.c' should be built on top of whichever"Steven J. Hill"2002-09-043-2/+3
| | | | | | | memory allocator you choose. Unfortunately, the 'malloc-930716' needs a fair amount of work before it is functional. For now, changes have been made to add the 'valloc' call and it works properly with the plain 'malloc' allocator.
* Added 'valloc' back in. Ok, Erik can smack me now."Steven J. Hill"2002-09-042-1/+62
|
* Add syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid"Steven J. Hill"2002-09-041-0/+50
|
* Added function 'mkdtemp' for Linux Test Project."Steven J. Hill"2002-09-042-1/+37
|
* Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"2002-09-042-1/+46
| | | | works identically to function in glibc.
* (free):Miles Bader2002-09-041-5/+5
| | | | | Update debug statement. Update to use __heap_delete and __heap_is_empty.
* (__heap_delete): Renamed from `__heap_unlink_free_area'.Miles Bader2002-09-041-3/+6
| | | | | (__heap_free_area_alloc): Use __heap_delete. (__heap_is_empty): New macro.
* Support fstatvfs64 and statvfs64Eric Andersen2002-09-033-1/+120
| | | | -Erik
* Oops. Turns out I broke statvfs() and fstatvfs() back in February,Eric Andersen2002-09-032-26/+0
| | | | | | when I accidentally changed them unconditionally into the 64 bit versions... Oops. -Erik
* Redo stat structures (kernel changed too).Miles Bader2002-08-301-77/+66
|
* Add __kernel_ino64_t.Miles Bader2002-08-301-4/+2
| | | | Make __kernel_loff_t unconditional.
* Doc fix.Miles Bader2002-08-301-1/+1
|
* (__heap_free): Tighten up the inner loop, and make the code more readable.Miles Bader2002-08-301-29/+24
|
* Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.Miles Bader2002-08-302-5/+5
|
* (likely, unlikely): New macros.Miles Bader2002-08-301-0/+12
|
* (likely, unlikely): New macros.Miles Bader2002-08-301-6/+8
| | | | (__malloc_likely, __malloc_unlikely): Macros removed.
* Fix a silly bug notices by Ronald Wahl <rwa@peppercon.com>Eric Andersen2002-08-287-7/+0
|
* If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough2002-08-281-1/+1
|
* Fix broken getpriority syscall, per email from Marshall M. MiddenEric Andersen2002-08-281-2/+15
| | | | -Erik
* Somehow the bit of code that add the offset of envp to argv got lostDavid McCullough2002-08-271-0/+1
| | | | | and envp was a very small number and not an address. I think this fixes most of the SH platform.
* Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen2002-08-277-0/+35
| | | | -Erik
* Reimplement sys_errlist[] so that it works on sparc, alpha, and mips.Manuel Novoa III2002-08-272-1/+161
| | | | | | | | In my opinion, this is a complete waste of good memory and is only done to avoid the anticipated whining by people who think this libary is named uCglibc. At some point this may become a configurable option. And even then, it may not be available in all configs... for instance when system error messages become locale-dependent.
* Fix a delay slot problem, this gets some apps working on SH, a good numberDavid McCullough2002-08-271-1/+3
| | | | are still seg-faulting.
* Added __kernel_fsid_t to satisfy some apps that need it.David McCullough2002-08-279-0/+60
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.
* Implement missing readdir64_r.cEric Andersen2002-08-262-1/+81
| | | | -Erik
* sparc, alpha, and mips have different errno values than the otherManuel Novoa III2002-08-262-141/+178
| | | | | | | supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
* Oops. I got the include guard wrong. Fix it per currentEric Andersen2002-08-261-3/+3
| | | | | value in include/asm-v850/posix_types.h on cvs.uclinux.org -Erik
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-2610-25/+85
| | | | | | | guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
* Initial checkin.Miles Bader2002-08-262-0/+150
|
* Changed fclose behavior when custom streams were enabled. Previously,Manuel Novoa III2002-08-251-2/+21
| | | | | | | | | | | the cookie pointer was set to NULL as a debugging aid. However, some of the perl 5.8 test rely on being able to close stderr and still try writing to it. So now, the cookie pointer and handler function pointers are set to that it is a "normal" file with a file descriptor of -1. Note: The cookie pointer is reset to NULL if the FILE struct is free'd by fclose.
* Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen2002-08-254-65/+1
| | | | | | sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
* Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen2002-08-251-16/+14
| | | | | do any of that silly translating... -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-258-2/+304
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Make shm stuff work properly.Eric Andersen2002-08-253-34/+30
| | | | -Erik
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-242-7/+27
| | | | i386. This is for Erik to look at wrt the other archs.
* Avoid `ECANCELED' redefined on mipsEric Andersen2002-08-241-3/+4
| | | | -Erik