summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2003-01-23Rewrite powerpc crt0.S for proper ctor/dtor handlingEric Andersen
2003-01-23Kill the needless '#if 1'Eric Andersen
2003-01-23Update malloc behavior on malloc(0) to be consistant withEric Andersen
malloc-930716 behavior, i.e. return a NULL.
2003-01-22Fixed a bug related file position in append mode. _stdio_fwrite nowManuel Novoa III
seeks to the end of the stream when append mode is set and we are transitioning to write mode, so that subsequent ftell() return values are correct. Also fix _stdio_fopen to support fdopen() with append specified when the underlying file didn't have O_APPEND set. It now sets the O_APPEND flag as recommended by SUSv3 and is done by glibc.
2003-01-22Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen
implementation such that gdb can actually debug signal handlers. Gdb behaves much better now, for example, on multi-threaded apps. -Erik
2003-01-22Changed '__kernel_nlink_t' data type to match Linux/MIPS kernel type"Steven J. Hill"
definition and to be consistent with the ABI. Done per conversation with Ralf (Linux/MIPS) maintainer.
2003-01-22Add in arm specific sigaction implementation to fix sa_restorerEric Andersen
behavior so it works as expected
2003-01-22Missed an endifEric Andersen
2003-01-22Looks like sigaction on arm needs adjustment, so split this intoEric Andersen
a common header file and a default implementation.
2003-01-18Only include lockf64 when large file support is enabled, fixingEric Andersen
a problem noticed by Jeff Mock. Sorry about that. -Erik
2003-01-10Patch from Jay Kulpinski:Eric Andersen
__decode_dotted() does not count the null terminating byte of a hostname in the DNS response. This causes lookups to fail if the DNS response doesn't compress domain names in the message.
2003-01-10Fix warningsEric Andersen
2003-01-10Implement lockf64Eric Andersen
-Erik
2003-01-10Patch from Nick Fedchik to support ether_atonEric Andersen
2003-01-05Fix a silly bug in _wstdio_fwrite. wprintf %s should now work correctly.Manuel Novoa III
2003-01-02Rework sparc architecture support so it will compileEric Andersen
and run. Seems to be working... -Erik
2002-12-21Be sure we have a crt1.o file. Use the asm version by default.Eric Andersen
-Erik
2002-12-20The big thing is locale dependent collation support.Manuel Novoa III
Also added outdigit support and (legacy) YESSTR/NOSTR support.
2002-12-18Initial checkinMiles Bader
2002-12-18whitespaceMiles Bader
2002-12-18(SSRC): Rename longjmp.S to __longjmp.SMiles Bader
(CSRC): Add clone.c
2002-12-18Rename longjmp.S to __longjmp.SMiles Bader
Remove extra weak symbols defined by ../common/longjmp.c
2002-12-12Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen
build a crt0.o and a crt1.o. crt1.o will support ctors and dtors if such support is enabled. One more gratuitous toolchain support issue is thereby removed... -Erik
2002-12-11Remove trailing comma from enum list as a nicety for older compilers.Manuel Novoa III
2002-12-04Change some variable names so we are more consistant with whatEric Andersen
the linux kernel uses. -Erik
2002-12-04Implement the rest of the missing include/net/if.h interfacesEric Andersen
-Erik
2002-12-04Fix the other instance of getcwdEric Andersen
2002-12-04For now, always claim we have exactly one cpu. It shouldEric Andersen
generally be the truth...
2002-12-04Properly allocate memory when size is 0, but so is bufEric Andersen
2002-12-02Cut and paste error.Manuel Novoa III
2002-12-02Forgot one...Manuel Novoa III
2002-12-02Add hsearch and hsearch_r. Consolidate all functions prototyped inManuel Novoa III
search.h in one directory.
2002-12-01If the wait failed in pclose it would return a random status codeDavid McCullough
instead of -1 as expected.
2002-11-29I forgot to include features.hEric Andersen
2002-11-29Silly me, I forgot to include features.hEric Andersen
2002-11-27Make support for global constructors and global destructors beEric Andersen
configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
2002-11-27Fix an ifdef mismatch.Manuel Novoa III
2002-11-27Fix bug in setting daylight and timezone when no (valid) TZ.Manuel Novoa III
Bug reported by Arne Bernin <arne@alamut.de> in regards to freeswan.
2002-11-23Oops.. left in a bit of debugging code.Manuel Novoa III
2002-11-22Ok... here's the summary:Manuel Novoa III
Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
2002-11-21Oops. As Pavel Roskin notes, I forgot to conditionally includeEric Andersen
the __fsetlocking call in libc/unistd/usershell.c. It should be wrapped and only included if __UCLIBC_HAS_THREADS__ is defined.
2002-11-21Doh! As Stefan Allius points out, I forgot to properly reviewEric Andersen
this change.
2002-11-21Debugging tweaks.Miles Bader
2002-11-21Oops.Eric Andersen
2002-11-21Cleanup use of in6addr_loopback and in6addr_anyEric Andersen
2002-11-21Patch from Yoshinori Sato to update the h8300 architecture.Eric Andersen
2002-11-21Improve malloc debugging support.Miles Bader
2002-11-20Rework usershell.c, as the old one was packed full of unhandledEric Andersen
failures, returned stack allocated memory, and misbehaved itself in a number of other annoying ways, -Erik
2002-11-19Implement dynamic atexit handling. Adds a few bytes and a dependancyEric Andersen
on malloc (via realloc). -Erik
2002-11-15This draws from an old patch by David Blythe for the now-deadEric Andersen
unified syscall interface. I reworked his old patch considerably and cleaned up his version of bits/syscalls.h with some sneaky macro magic. And I implemented a powerpc correct version of pread/pwrite -Erik