Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-07-03 | Enable WCHAR support for C/POSIX stub locales. | Manuel Novoa III | |
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support. | |||
2002-06-18 | Fix perror() and printf("%m") to not call strerror(), as required by the | Manuel Novoa III | |
standards. Temporarily added a utility function to wrap Erik's strerror_r so that "Unknown error xxx" strings can be generated for errno's which cause strerror_r to fail. That utility function will eventually be merged in with the strerror/strerror_r functions when I change over to optionallly mmap'ing the system error strings to provide for lower mem comsumption on non-MMU platforms, as well as locale-specific system error messages. | |||
2002-06-11 | Revert Erik's patch to vasprintf and fix the real issue. | Manuel Novoa III | |
The writer for the stream returned by open_memstream was supposed to keep the buffer nul-terminated. I apparently left out a statement. | |||
2002-04-09 | Fix the read/write auto-transition bugs. Note that if we can't | Manuel Novoa III | |
auto-transition, we fail the operation. This is different than glibc's apparent behavior for writing of clearing the read buffer and still failing the write without setting the stream's error flag. Also, change a number of "errno = xxx" assignments to use __set_errno(). Also, change setvbuf(file, NULL, _IO{LF}BF, 0) behavior to more closely match glibc's by keeping the current buffer and only changing the buffering mode. Update setlinebuf() in the process to match the man page behavior. | |||
2002-03-21 | Compile in flockfile and friends by default | Eric Andersen | |
-Erik | |||
2002-03-16 | Fix a pointer bug in setvbuf reported by Bart Visscher <magick@Linux-Fan.com>. | Manuel Novoa III | |
2002-03-14 | I vow to rerun _all_ the tests before making commits. :-( | Manuel Novoa III | |
I successfully managed to blow away all the modeflags for the file _except_ the one dealing with buffering... | |||
2002-03-13 | Fix stdin/stdout initialization of buffering type. I had changed the | Manuel Novoa III | |
default static initiailization and forgotten to update _stdio_init(). | |||
2002-03-12 | Fix another O_LARGEFILE bug. Also, I forget to make floating point optional | Manuel Novoa III | |
in the new printf code. | |||
2002-03-12 | So much for fcntl flags being resonably consistent across archs... (hopefully) | Manuel Novoa III | |
fix O_APPEND and O_LARGEFILE handling in _stdio_fopen(). Someone else will have to check of course... | |||
2002-03-12 | Fix fflush(NULL) and tweak _stdio_term() for the unbuffered stdio option. | Manuel Novoa III | |
2002-03-12 | Deal with cvs "feature"... or is that cvs _user_... | Manuel Novoa III | |
2002-03-12 | Swap in the new stdio code. | Manuel Novoa III | |
2002-02-26 | Be consistant and use an unsigned char * throughout | Eric Andersen | |
2002-02-25 | I shouldn't try to program when sleepy, since I totally botched | Eric Andersen | |
the fcntl interface... -Erik | |||
2002-02-25 | When messing with fd NONBLOCK status, put things back the way we found | Eric Andersen | |
them afterwards. As was, this hosed things up for fds shared with a parent process. Very bad for shells... Oops. -Erik | |||
2002-02-23 | IEEE Std 1003.1-2001 says that the "fclose() function shall fail [with] | Eric Andersen | |
EINTR [when] the fclose() function was interrupted by a signal". But looking in the current uClibc stdio.c for some bizarre reason we had a special case where when errno was EINTR, we would keep on trying instead. Doh! Fix that, -Erik | |||
2002-02-23 | Per discussion with Manuel, when we call __stdio_flush_buffers | Eric Andersen | |
from abort() and from _exit(), we need to ensure that flushing will not cause us to block. So use fcntl to set the fd's to non-block mode... | |||
2002-02-18 | Rename __stdio_close_all to __stdio_flush_buffers. Eliminate an | Eric Andersen | |
unnecessary variable | |||
2001-11-21 | Add missing ctermid. Also add putc and getc (in case they get | Eric Andersen | |
undefined which is a valid thing to do) -Erik | |||
2001-10-17 | This commit makes large file support actually work (when enabled in | Eric Andersen | |
the config file). I've tested this and it works for me. -Erik | |||
2001-09-25 | Fix fseek behavior. | Manuel Novoa III | |
2001-08-24 | Use "stdin", "stdout", and "stderr", not "_stdin", "_stdout", and | Eric Andersen | |
"_stderr", since this is what gcc and libgcc expect... -Erik | |||
2001-08-24 | Add the __fopen prototype, since I pulled it from stdio.h | Eric Andersen | |
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-07 | Commit _uClibc_fread bug fix (with minor edit) posted by Johan Adolfsson ↵ | Manuel Novoa III | |
<johan.adolfsson@axis.com>. | |||
2001-05-07 | Fix fwrite return value bug reported by Matthias Kilian ↵ | Manuel Novoa III | |
<kili@outback.escape.de>. | |||
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-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-17 | Fix fdopen mode-compatibility test and errno setting. | Manuel Novoa III | |
2001-03-07 | Fix a bad assertion test. | Manuel Novoa III | |
2001-03-01 | Stupid buglet fix. Don't trash FILE bufstart if buffer allocation fails. | 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 | 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-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-11 | A large update from Manuel Novoa III <mnovoa3@bellsouth.net>. | 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. |