summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-2220-886/+423
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Doc fix.Miles Bader2002-07-195-5/+5
|
* Rename mutex stuff to use heap-specific names.Miles Bader2002-07-195-24/+26
| | | | Doc fix.
* Miles Bader implemented a new mmap based malloc which is muchEric Andersen2002-07-1816-1392/+740
| | | | | | | smarter than the old "malloc-simple", and actually works, unlike the old "malloc". So kill the old "malloc-simple" and the old "malloc" and replace them with Miles' new malloc implementation. Update Config files to match. Thanks Miles!
* Fix from "Gerhard Uttenthaler" <uttenthaler@ems-wuensche.com> soEric Andersen2002-07-161-1/+1
| | | | that cfsetspeed would actually be compiled in.
* We don't need the debug versionsEric Andersen2002-07-161-2/+2
|
* __morecore need not be a function pointerEric Andersen2002-07-161-9/+8
|
* Disable debug stuff by defaultEric Andersen2002-07-161-1/+1
|
* Odd. Got a copy of junk in here.Eric Andersen2002-07-161-9/+0
|
* Do not assume NULL termination on the ut_id field. ThanksEric Andersen2002-07-161-1/+1
| | | | to mac12@po.cwru.edu for spotting this one.
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-157-165/+49
| | | | | | arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
* stupid cut-n-paste bugEric Andersen2002-07-151-5/+5
| | | | -Erik
* Patch for a silly bug from David BlytheEric Andersen2002-07-151-1/+1
|
* Silence a couple of silly warningsEric Andersen2002-07-152-0/+2
| | | | -Erik
* Rework pread and pwrite support so it should actually work.Eric Andersen2002-07-153-33/+219
| | | | | Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
* Kill this stale fileEric Andersen2002-07-112-32/+1
|
* Tobias Anderberg <tobias.anderberg@axis.com> noticed thatEric Andersen2002-07-101-1/+1
| | | | | we were opening the socket() as SOCK_STREAM instead of using SOCK_DGRAM like we should have done.
* Per bug report from Ronald Wahl <rwa@peppercon.com>:Eric Andersen2002-07-101-19/+16
| | | | | | | | | | | ...inet_pton breaks since tolower is implemented as a macro and its argument is evaluated more than once: while ((ch = tolower (*src++)) != '\0') { So I fixed it by just undefining tolower() so we use the function version, not the macro. -Erik
* Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leakEric Andersen2002-07-101-1/+1
|
* Remove obsolete code.Manuel Novoa III2002-07-081-179/+0
|
* Fix a preprocessor buglet. Redo sys_siglist/strsignal/psignal.Manuel Novoa III2002-07-082-22/+195
|
* Finer grained locking in __connect_dns() so we don't hold theEric Andersen2002-07-081-6/+19
| | | | | lock while sending packets out onto the wire. -Erik
* Obligatory forgotten file.Manuel Novoa III2002-07-071-3/+4
|
* Attempt to clean up the strerror_r situation.Manuel Novoa III2002-07-077-329/+379
|
* Doh! search-n-replace strikes againEric Andersen2002-07-072-5/+5
| | | | -Erik
* Fix namespace pollution by hiding statfix and statfix64 byEric Andersen2002-07-075-11/+11
| | | | | prepending an __ to the name. Not perfect but better. -Erik
* Cleanup namespace leaks by prepending __ to global stuff toEric Andersen2002-07-075-150/+143
| | | | | indicate it is (alledgedly) private. -Erik
* Kill namespace pollution in getrpcent.c. Silence other rpc warningsEric Andersen2002-07-074-24/+17
| | | | | | by fixing prototypes. Fix global stuff so it should behave itself properly now, -Erik
* Patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to cleanupEric Andersen2002-07-071-44/+46
| | | | | connect_dns() and simplify IPV6 support by reducing the number of ifdefs sprinkled about.
* Stupid filesystems like cramfs fail to guarantee that st_ino and st_devEric Andersen2002-07-061-2/+11
| | | | | | | uniquely identify a file, contrary to SuSv3, so we cannot be quite so precise as to require an exact match. Settle for something less... Grumble... -Erik
* Add copyright message and remove dead code.Manuel Novoa III2002-07-051-157/+28
|
* Add two missing glibc wide string funcs as well as OpenBSD string funcsManuel Novoa III2002-07-052-9/+97
| | | | strlcat and strlcpy.
* Only define __uwchar_t if wide char support is enabled.Manuel Novoa III2002-07-051-1/+1
|
* Add a weak to make apache happyEric Andersen2002-07-031-1/+1
| | | | -Erik
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-0317-243/+1150
| | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
* Make clone work, part 2.Eric Andersen2002-07-032-1/+30
| | | | -Erik
* Fix clone so it compilesEric Andersen2002-07-032-8/+20
| | | | -Erik
* Oops. missed a spotEric Andersen2002-07-021-0/+1
| | | | -Erik
* openlog could deadlock when called from vsyslog, soEric Andersen2002-07-021-1/+1
| | | | | allow recursive locking, -Erik
* This patch, from Ronald Wahl <rwa@peppercon.com>, fixes theEric Andersen2002-07-011-5/+5
| | | | | spots where I screwed up and forgot to fix realloc to use free_unlocked() instead of free(). Thanks Ronald!
* Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>Eric Andersen2002-06-263-1/+3
|
* Fix support for 2.0.x linux kernels. Oops.Eric Andersen2002-06-211-2/+2
| | | | -Erik
* Cleanup the function pointer comparisionsEric Andersen2002-06-201-7/+7
| | | | -Erik
* Fix DNS resolution so that it once again works. I'd broken itEric Andersen2002-06-201-5/+22
| | | | | when adding some locking code. -Erik
* Oops. Looks like I broke ttyname. Fix it.Eric Andersen2002-06-191-5/+5
| | | | -Erik
* Cleanup the getcwd implementation (again) since I broke itEric Andersen2002-06-184-11/+46
| | | | | | | last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik
* Make sure the sccsid tags never get compiled in.Eric Andersen2002-06-1826-30/+30
| | | | -Erik
* Eliminate all the pointless globals from getcwd(). DefaultEric Andersen2002-06-182-70/+72
| | | | | to using the getcwd syscall instead, when it is present. -Erik
* Add in thread locking for tzset() and associated data. Also, fix a bug soManuel Novoa III2002-06-181-5/+42
| | | | that localtime_r() calls tzset() to initialize/update timezone data.
* Kill kernel_version.c, which is completely meaningless crapEric Andersen2002-06-182-54/+1
| | | | | and didn't even work. -Erik