summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2003-09-23Quick fix to make sure vfprintf always checks stream orientation whenManuel Novoa III
wchar support is enabled.
2003-09-22More fiddling with static free-areas: make sure both their size _and_Miles Bader
their alignment are correct.
2003-09-22Modify _stdio_READ to conform with C99, as stdio input behavior uponManuel Novoa III
encountering EOF changed with Defect Report #141. In the current standard, the stream's EOF indicator is "sticky". Once it is set, all further input from the stream should fail until the application explicitly clears the EOF indicator (clearerr(), file positioning), even if more data becomes available. Fixed a bug in fgets. Wasn't checking for read errors. Minor thread locking optimizations to avoid some unnecessary locking. Remove the explicit calls to __builtin_* funcs, as we really need to implement a more general solution.
2003-09-22Ugh... EOF handling by scanf was completely broken. :-( Regretably,Manuel Novoa III
I got my mind fixed in one mode and didn't comply with the standards. Things should be fixed now, but comparision testing is difficult when glibc's scanf is broken and they stubbornly refuse to even acknowledge that it is... even when confronted by specific examples from the C99 standards and from an official C standard defect report.
2003-09-21Fix "subst -g,," problem for SAFECFLAGS.Manuel Novoa III
2003-09-19Added assembler version of startup code. Fix Makefile so it uses the newTobias Anderberg
code.
2003-09-19Make sure we don't allocate too little space for static free-areasMiles Bader
because of our fiddling with alignment (because doing so is VERY BAD).
2003-09-19Add dependencies on header files.Miles Bader
2003-09-17Make sure static heaps are aligned correctly.Miles Bader
2003-09-17Fix fcntl64 when UCLIBC_HAS_LFS is enabled, but __NR_fcntl64Eric Andersen
is not defined.
2003-09-16This should enabled building of uClibc locale support when using uClibc itself.Manuel Novoa III
Sorry I didn't test this before the release. Please remember that the locale data generation tools are not very robust, so doing something like disabling 8-bit codeset support is likely to break things. As it stands, UTF-8 support is required, but I'm not sure I test for that. Also, you will notice a difference in the locale data generated by uClibc verses glibc. That's because the bg_BG locale specifies use of grouping in LC_NUMERIC, but supplies no grouping char. The uClibc locale code tests for and works around this (at the moment) by disabling grouping. But the result is slightly different data which ripples throughout the rest of the tables.
2003-09-13Fix a problem reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>Manuel Novoa III
for environments where long and long long are the same size.
2003-09-11Patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp> to do arch-requiredManuel Novoa III
mapping of signal strings (alpha, mips, hppa, sparc).
2003-09-11Peter Kjellerstedt writes:Eric Andersen
The attached patch allows $(CC) to contain spaces (something which we use).
2003-09-09Make sure that __syscall_fcntl is extern when LFSEric Andersen
is disabled
2003-09-09Fix wctype.c so that wchar can be enabled without ctype table-based functions.Manuel Novoa III
2003-09-08Oops! I broke pread on mips with my last update. ThisEric Andersen
fixes it again so it both compiles and works, -Erik
2003-09-08Fix a trivial compile problemEric Andersen
2003-09-08Signifcantly speed out integer to string conversion for printf.Manuel Novoa III
Printf still needs some performance work done though. Also some bufferless stdio cleanups.
2003-09-08Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III
static build sizes and not needing wchar support. Add in a SUSv3 getopt as an option for those not needing gnu getopt. Again, mainly for the static linking crowd.
2003-09-08Use __libc_fork for the uClinux fork stubEric Andersen
2003-09-08mjn3 pointed out that my brain was not in gear....Eric Andersen
2003-09-07A few minor syscall cleanupsEric Andersen
2003-09-07Some updates from glibc. mjn3 reports this fixes profilingEric Andersen
on i386, at least, so seems like a good thing.
2003-09-07i386/mcount.S expects to call __mcount_internal with the 2 args passedManuel Novoa III
in registers. NOTE: i386/mcount.S really needs to be rewritten. It currently won't work for non-PIC builds.
2003-09-07Remove profil.c, since it is constained within gmon.c.Manuel Novoa III
2003-09-07Fix some more problems found by the ltpEric Andersen
2003-09-06'extern inline' doesn't work... Use 'static inline'Eric Andersen
2003-09-06add missing prototypeEric Andersen
2003-09-06Add an implementation of profil(), based on the version fromEric Andersen
glibc, with several changes for use in uClibc.
2003-09-06Fix numerous problems with both getcwd implementations.Eric Andersen
-Erik
2003-09-06Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,Eric Andersen
which was reversed. Provide more consistancy between implementations. Handle it when people do stupid things like malloc(-1);
2003-09-06Running ltp 20030905 showed that tcsendbreak was broken.Eric Andersen
This fixes it.
2003-09-06Implement vsnprintf (old_vfprintf only) and vsnscanf when uClibc isManuel Novoa III
configured with non-buffered stdio and non-wchar mode. Fix a couple of bugs that showed up in minimalist configurations. Update old_vfprintf to handle size qualifiers on the integer and %n conversions. It now passed the glibc printf tests with the exception of a floating point rounding difference.
2003-09-06Small fix for when threading (I think) was disabled.Manuel Novoa III
2003-09-06oops. ftw would blow chunks if UCLIBC_HAS_LFS was disabled.Eric Andersen
2003-09-06fixup ftw and ftw64. Unfortunately, adding ftw64 doubles theEric Andersen
size... :-(
2003-09-06Fix the bugs I stupidly addedEric Andersen
2003-09-06Let people enable ftw, make glob an option, add a new "Big and Tall"Eric Andersen
top level config menu.
2003-09-05Add support for ftw and nftwEric Andersen
2003-09-05mjn3 noticed we were missing seed48, which was odd since we hadEric Andersen
all the other *48 random functions.
2003-09-05Always build _store_inttype since it is used by the new scanf.Manuel Novoa III
2003-09-05Oops... Forgot to convert this to the new floating point conversion func.Manuel Novoa III
2003-09-03Some more buildroot-motivated fixes. Avoid installing some headers, asManuel Novoa III
well as stub libintl, depending on configuration.
2003-09-01Hack around bg_BG bug; grouping specified but no thousands separator.Manuel Novoa III
Also, disable the locale link_warnings for now, as they generate a lot of noise when using libstd++.
2003-09-0115 retries is really rather excessive...Eric Andersen
2003-09-01Greg Nutt writes:Eric Andersen
Attached is a patch for a bug I found in libc/termios/ttyname.c. Essentially the length of the buffer is calculated incorrectly in a strncpy call and then the null terminator is placed on the byte after the buffer. This probably cause some very strange behavior on my system (it ended up setting malloc's heapsize to zero) but may be innocuous on other systems.
2003-09-01Rework a few things.Manuel Novoa III
2003-09-01Fix precision bug for %g conversion specifier when using %f style.Manuel Novoa III
2003-08-28Create a typedef for the ctype bitmask table entries.Manuel Novoa III
Hack a fix for ctype support of 8-bit codeset locales. Note: toupper/tolower mappings do not handle the special cases for the tr_TR and az_AZ locales, since the wide versions currently handle them either. That will be addressed when I rewrite the data generation tools and the libc locale code.