summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2008-11-18Fix typo: missing )Carmelo Amoroso
2008-11-18Move _dl_iterate_phdr into libc.so.0 and libc.a (as glibc does).Carmelo Amoroso
Currently we have an implementation in ld.so and libdl.a. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-11-18libc_hidden_proto removal, a few more functionsDenis Vlasenko
2008-11-18libc_hidden_proto removal, just a few functionsDenis Vlasenko
2008-11-17resolver: use timeout of 5 (glibc uses that).Denis Vlasenko
delete some duplication in constants.
2008-11-17resolver: separate gethostent and gethostent_r into two .o files;Denis Vlasenko
delete two stray files which compile to nothing
2008-11-17resolver: move large code blocks to arrange related functions closer.Denis Vlasenko
almost no code changes
2008-11-17resolver: fix some previous TODOs, add new ones.Denis Vlasenko
2008-11-16- cleanup {,f}stat{,v}fs{,64} relocsBernhard Reutner-Fischer
2008-11-16resolver: improved support for overriding DNS server addressesDenis Vlasenko
in _res structure. Used by busybox's nslookup.
2008-11-16resolver: make getaddrinfo actually respect _res.nsaddr_list;Denis Vlasenko
add largish comment explaining what we are doing, and why; fixes to make IPv6-only resolver possible
2008-11-15resolver: more locking fixes.Denis Vlasenko
2008-11-15- Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer
2008-11-15- revert wrong r24049Bernhard Reutner-Fischer
2008-11-15- Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer
2008-11-14Current kernels support more than 8 bit major/minor. Pass dev_t through toRob Landley
the kernel unmolested.
2008-11-14fixing resolver part 3: fix completely bogus lockingDenis Vlasenko
in __dns_lookup.
2008-11-14fixing resolver part 2: make _res structure membersDenis Vlasenko
configurable. we don't use most of it anyway.
2008-11-14fixing resolver, part 1Denis Vlasenko
2008-11-13- silence shadow warningBernhard Reutner-Fischer
2008-11-09- for !UNIX98PTY_ONLY we have to fallback to old-style pty's.Bernhard Reutner-Fischer
Closes #6024
2008-11-07- less verbose make cleanBernhard Reutner-Fischer
2008-11-03Add extern reference to __libc_sigaction in sigaction.c for AVR32 archHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-03Sync clone() function declaration for AVR32 with sched.h declarationHans-Christian Egtvedt
This patch fixes the previous commit for clone on AVR32 arch, where the function parameters where not updated after adding #include <sched.h>. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-03Add hint for read ahead function in fcntl.h for AVR32 archHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-03Add include to silence compiler warning when compiling clone.c for AVR32Hans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-02- Fix __user_locking with stdio buffers (Carmelo AMOROSO)Bernhard Reutner-Fischer
Closes #5254
2008-11-02resolver: reinstate searching if search domains accidentally nukedDenis Vlasenko
in one of recent commits :)
2008-11-01__dns_lookup: document and optimize a bitDenis Vlasenko
text data bss dec hex filename - 1545 2 4 1551 60f libc/inet/dnslookup.o + 1528 2 4 1534 5fe libc/inet/dnslookup.o
2008-11-01resolver: partially fix bug 660 -Denis Vlasenko
do not treat negative response as error
2008-11-01resolver: fix part of bug 1468:Denis Vlasenko
"gethostbyname() fails if DNS server returns more than 23 addresses"
2008-11-01resolver: trivial code trasformations for readability.Denis Vlasenko
No logic changes. Code size is the same too.
2008-11-01trivial code shrink by making some strings staticDenis Vlasenko
text data bss dec hex filename - 259 0 0 259 103 libc/inet/herror.o + 243 0 0 243 f3 libc/inet/herror.o - 720 0 0 720 2d0 libc/inet/ns_name.o + 710 0 0 710 2c6 libc/inet/ns_name.o
2008-10-31- whitespace fixesBernhard Reutner-Fischer
2008-10-31- improve readability, no objcode changes.Bernhard Reutner-Fischer
Looks a bit like we wouldn't need to calculate the carry flag there?
2008-10-30File removed as it was not only redundant but also horribly out of date.Ricard Wanderlof
2008-10-29- fix another fallout from r23660Bernhard Reutner-Fischer
2008-10-28getaddrinfo.c: improve readabilityDenis Vlasenko
2008-10-28getaddrinfo.c: reformat. no code changesDenis Vlasenko
2008-10-28- trim superfluous ';'. No objcode changesBernhard Reutner-Fischer
2008-10-28- fix compilation if LFS is off and STUBs are requestedBernhard Reutner-Fischer
2008-10-28Remove all references to __no_netlink_support as after thurough scrutiny of Ricard Wanderlof
the code it was never used in any useful way.
2008-10-28Finally fix the MALLOC=y and MALLOC_SIMPLE=y breakage from svn 23660. (I ↵Rob Landley
found it, this is Bernhard's patch to fix it. Tested and it Works For Me (tm)).
2008-10-28make getaddrinfo to NOT query DNS for IPv6 address if host is inDenis Vlasenko
/etc/hosts and it has IPv4 address there. The most common example is "127.0.0.1 localhost". We don't want "ping localhost" to stall and time out on IPv6 queries to, say, inaccessible DNS server, right? - 655 0 0 655 28f libc/inet/gethostbyname2_r.o + 685 0 0 685 2ad libc/inet/gethostbyname2_r.o
2008-10-27- pull in prototype for memalign()Bernhard Reutner-Fischer
2008-10-27- fix typo in r23808Bernhard Reutner-Fischer
2008-10-27libc/inet/getaddrinfo.c: const'ify some data;Denis Vlasenko
avoid using zero-filled constants in bss: text data bss dec hex filename 3182 24 48 3254 cb6 getaddrinfo_old.o 3280 0 0 3280 cd0 getaddrinfo.o
2008-10-25Use C implementation of strncmp.Khem Raj
Add a new strncmp testcase.
2008-10-24- fix mips syscall (Atsushi Nemoto)Bernhard Reutner-Fischer
2008-10-24- tidy up inline:Bernhard Reutner-Fischer
ldso and syscalls are __always_inline (the latter would need more cleanup)