Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-08-09 | Add in changes from philipc@lineo: | David McCullough | |
Fix three bugs and bring into line with glibc: 1. The first character read using getc() was being ignored if it was EOF. Normally this is okay because the next getc() returns EOF as well, but for sscanf, this was causing us to skip the null terminator and start scanning whatever happened to be next in memory. 2. %s, %c, and %[ formats now return -1 if EOF is reached before any characters are read, instead of 0. This was causing an infinite loop in diald. 3. Default to base 10 for %i fields if not prefix modifier present. | |||
2001-07-28 | Oops... left in a debugging line. | Manuel Novoa III | |
2001-07-28 | Back out the changes to _uClibc_fread and loop in fread() if incomplete, to | Manuel Novoa III | |
avoid problems with fgets on tty streams. I actually did some testing this time. ;-) Note: there is a difference in behavior between glibc and uClibc here regarding fread() on a tty stream. glibc's fread() seems to return after reading all _available_ data even if not at end-of-file, while uClibc's fread() continues reading until all requested or eof or error. The latter behavior seems correct w.r.t. the standards. | |||
2001-07-26 | Yes... the previous "fix" was broken too... the result of careless cutting | Manuel Novoa III | |
and pasting while pressed for time. I haven't checked this one either. :-( | |||
2001-07-25 | Ok... the fix wasn't quite so straightforward. Hopefully this will do it. | Manuel Novoa III | |
2001-07-25 | Fix fread bug reported by Vodz. The fix is straightforward, but I haven't | Manuel Novoa III | |
tested it (lack of time). | |||
2001-06-13 | Fix printf so that %p outputs "(nil)" for (void *) 0, to match glibc behavior. | Manuel Novoa III | |
2001-06-13 | Fix printf handling of %p to prepend "0x" since output is in hex. | Manuel Novoa III | |
Note: glibc output for (void *)0 is "(nil)" while uClibc output is "0". Does anyone have a preference? | |||
2001-06-07 | Commit _uClibc_fread bug fix (with minor edit) posted by Johan Adolfsson ↵ | Manuel Novoa III | |
<johan.adolfsson@axis.com>. | |||
2001-05-31 | Cleanup some stupid warnings | Eric Andersen | |
2001-05-21 | Add comment about scanf pushback behavior and glibc difference. | Manuel Novoa III | |
2001-05-17 | Add in tempnam() | Eric Andersen | |
2001-05-12 | Ok, this should finish off my massive ro-organization. The source | Eric Andersen | |
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik | |||
2001-05-07 | Fix fwrite return value bug reported by Matthias Kilian ↵ | Manuel Novoa III | |
<kili@outback.escape.de>. | |||
2001-05-07 | A couple of printf fixes from Johan Adolfsson (johan.adolfsson@axis.com). | Manuel Novoa III | |
2001-04-25 | Be really sneaky and use GNU ld special stuff so that whenever folks | Eric Andersen | |
use the unsafe gets, they will get a warning from the linker. muahahaha. This method will soon be applied to fork() w/o an mmu etc... -Erik | |||
2001-04-18 | Update temp file handling and use a single function to do all | Eric Andersen | |
the heavy lifting (most of the heavy lifting stolen from glibc, but reduced a bit). | |||
2001-04-06 | Fix include/errno.h to not use kernel header, and instead use bits/errno.h. | Eric Andersen | |
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik | |||
2001-03-23 | Bug fix from Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>. | Manuel Novoa III | |
2001-03-19 | Since Erik apparently wants def/undef vs def 1/0... | Manuel Novoa III | |
2001-03-18 | Test for Config features using features.h. | Manuel Novoa III | |
2001-03-17 | Fix fdopen mode-compatibility test and errno setting. | Manuel Novoa III | |
2001-03-15 | Fix bug with %c... takes care of bug reported with busybox ps. | Manuel Novoa III | |
2001-03-13 | New version of scanf, with floating point support. | Manuel Novoa III | |
2001-03-13 | Delete a stray character that hopped into the file... | Manuel Novoa III | |
2001-03-12 | Hack long long support into scanf. For now, will fail for unsigned long longs | Manuel Novoa III | |
that are greater that long long max, but works well enough to support interface in busybox. Just a temporary measure until scanf.c is rewritten. | |||
2001-03-07 | Fix a bad assertion test. | Manuel Novoa III | |
2001-03-03 | Fix a couple of bugs: check mode is legal; open file and check success before | Manuel Novoa III | |
calling vfork. | |||
2001-03-01 | Stupid buglet fix. Don't trash FILE bufstart if buffer allocation fails. | Manuel Novoa III | |
2001-02-28 | Fix a buglet regarding floating point output for ?nprintf functions. | Manuel Novoa III | |
2001-02-27 | stdio mostly rewritten... passes lots of tests now. | Manuel Novoa III | |
printf now supports long double, plus some bug fixes. | |||
2001-02-19 | Fix a couple of bugs in _fopen and fclose, plus change a few internals. | Manuel Novoa III | |
2001-02-19 | Lots of stdio cleanups. Several bug fixes, addition of a number of functions | Manuel Novoa III | |
to supplement macros in stdio.h, change perror to use stdio package instead of "write". Also add back in weak stdio initialization for static lib case. | |||
2001-02-15 | Add vdprintf function. Note: will be rewritten to check if file descriptor ↵ | Manuel Novoa III | |
has an associated FILE to avoid bad interactions with buffered output, but needed for busybox right now and that implementation has the same bug. | |||
2001-02-15 | Fix stdin/stdout/stderr for now. | Manuel Novoa III | |
2001-02-09 | Remove now irrelevant comment. | Eric Andersen | |
2001-02-09 | Silence warnings -- add func declaration. | Eric Andersen | |
-Erik | |||
2001-02-09 | Revert stdio to initializing itself. Not quite a pretty but that ensures that | Eric Andersen | |
we don't blow up by using too much stack space, and simplifies the job of supporting new architectures, since they don't have to mess with calling foo init functions in crt0 and cleaning up the resulting damage. -Erik | |||
2001-01-30 | Fix a couple of bugs in printf. Add floating pt output for doubles. Yeah! | Manuel Novoa III | |
Modified stdio/Makefile to build printf.c according to Config values for HAS_FLOATS and HAS_LONG_LONG. | |||
2001-01-28 | Really fixed 0-pad bug this time. ;-) Code-size reductions if sizeof(int) and | Manuel Novoa III | |
sizeof(long) equal. printf # flag now works for b (binary) specifier. | |||
2001-01-27 | Fixed (hopefully) 0-pad bug in printf. Added asprintf function. Reworked | Manuel Novoa III | |
the *s*printf functions to no longer use a static fake file. | |||
2001-01-24 | Fixed stderr initialization bug (mine). | Manuel Novoa III | |
2001-01-17 | Fix static buffer used initialization for FIXED_BUFFERS > 2. | Manuel Novoa III | |
2001-01-12 | Cannot portably pass a short via va_args, since it will be | Eric Andersen | |
internally converted to an int on many platforms. So make it be an int explicitly and call that good enough. -Erik | |||
2001-01-11 | A large update from Manuel Novoa III <mnovoa3@bellsouth.net>. | Eric Andersen | |
2000-12-20 | A number of updates from Manuel Novoa III. Things look good... | Eric Andersen | |
2000-12-12 | A few cleanups. Fix fflush so it remembers to init stdio. | Eric Andersen | |
2000-11-30 | Several updates from W. Greathouse | Eric Andersen | |
2000-11-17 | Some cleanups from Manuel Novoa III <mnovoa3@bellsouth.net>, | Eric Andersen | |
and a bit of extra cleanup in the test makefiles. | |||
2000-11-15 | Add in tmpnam() support from David Whedon <dwhedon@gordian.com>, | Eric Andersen | |
rework include/stdio.h, and fix up the resultant damage. |