summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-01-24Better stat testsEric Andersen
2003-01-24I thought it would be smaller to inline since these funcs are small.Eric Andersen
Well, not inlining saves 300 bytes, so do that instead. -Erik
2003-01-24Ok, people are probably going to hate me for this... This commit changes theEric Andersen
type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
2003-01-24Add FAQ entry for "sh: can't access tty; job control turned off"Eric Andersen
-Erik
2003-01-24Doh! Fix potential stack corruption caused by dynamic atexitEric Andersen
allocating size incorrectly.... -Erik
2003-01-23Update architecture specific support to consistantlyEric Andersen
generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
2003-01-23Hopefully this is correctEric Andersen
2003-01-23Hopefully this will work as expected. I have no way toEric Andersen
test but this should be correct.
2003-01-23Update crt0 for arm to provide the main referenceEric Andersen
a bit more nicely, and make _init and _fini be weak for people with broken compilers -Erik
2003-01-23Shuffle OPTIMIZATION setting a bitEric Andersen
2003-01-23Wasn't thinking... we don't need to seek to end when appending if stdioManuel Novoa III
is built without buffer support.
2003-01-23Update tests to be somewhat consistant with the rest of the worldEric Andersen
2003-01-23Update ignore listEric Andersen
2003-01-23Update a tiny bitEric Andersen
2003-01-23Cleanup makefiles and make clean a bitEric Andersen
2003-01-23Making atexit weak does nothing for dynamicly linked apps. And forEric Andersen
staticly linked apps it entirely prevents destructors from running unless atexit is called for some other reason. So if they enabled ctor/dtor support we need to have a call to the real atexit for dtors to work properly. If people don't want the extra 4k or so of junk in their static apps, they should leave ctor/dtor support disabled. -Erik
2003-01-23simpler method for getting a 'main' reference. Make _init and _finiEric Andersen
be weak so people won't need to fix their compilers
2003-01-23Shuffle two lines so the comment applies to the correct line.Eric Andersen
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-23Just be a bit less different from latest glibc version in commentsEric Andersen
and in the files where variables live.
2003-01-23Per patch from Nathan Field at ghs.com, fix the mips __compare_and_swap inlineEric Andersen
function. Without this fix, pthread_mutex_lock/pthread_mutex_unlock don't work on mips.
2003-01-23Per patch from Nathan Field at ghs.com, fix __pthread_initialize_manager so itEric Andersen
locks before calling clone when under a debugger, and unlocks on success or failure of clone when under a debugger.
2003-01-23Per patch from Nathan Field at ghs.com, add a couple of variablesEric Andersen
needed to make gdb happy when debugging threadded apps.
2003-01-23Fix indenting. Per patch from Nathan Field at ghs.com, changeEric Andersen
LINUXTHREADS_PTHREAD_THREADS_MAX to properly point to "__pthread_threads_max".
2003-01-23Patch from Brett Hunt at micron.com to fixup potential segfaultsEric Andersen
during 'make menuconfig'
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-17Remember to also export LC_ALL in addition to setting it.Eric Andersen
-Erik
2003-01-16Update build rules a bit. fix quoting problems. Update defaultEric Andersen
x86 compiler optimization to not force building i386 opcodes.
2003-01-14Strip off unwanted quotes from ARCH_CFLAGS. Attempt toEric Andersen
enforce consistent sort order, 'gcc -print-search-dirs' behavior, etc by forcing the build into the C locale. -Erik
2003-01-11Patch from Robert Schwebel -- support ncurses installed in /usr/localEric Andersen
2003-01-10Update website dev image blurbEric Andersen
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-09mention the uClibc root_fs now available on uclibc.orgEric Andersen
2003-01-09Hide unimplemented and legacy ecvt and friends from configure.Eric Andersen
-Erik
2003-01-08Disable the __USE_EXTERN_INLINES versions of these headers, whichEric Andersen
use non-existant glibc internals.
2003-01-08For now, "#if 0" out the inlining of (currently unsupported) glibc-specificManuel Novoa III
string->numeric conversion functions.
2003-01-08Lineo has ceased to exist and is no longer a sponsorEric Andersen
2003-01-05Fix a silly bug in _wstdio_fwrite. wprintf %s should now work correctly.Manuel Novoa III
2003-01-03If they call dlopen with anything other than RTLD_LAZYEric Andersen
or RTLD_NOW then we need to error out.