Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-08-12 | Revert commit by davidm to printf.c that initialized conv_num | Manuel Novoa III | |
needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken. | |||
2002-08-09 | Fix a number of compile time warnings so that uClibc will build with -Werror ↵ | David McCullough | |
using a 3.0.4 version of the sh-linux-gcc compiler. | |||
2002-08-06 | Changed fflush() behavior to no-op for r/w streams in read-mode. | Manuel Novoa III | |
This falls under undefined behavior wrt ANSI/ISO C99, but SUSv3 seems to treat it as a no-op and it occurs in some apps. Fixed a problem with _stdio_fwrite() not checking for underlying write() failures. Fixed both _stdio_fwrite() and _stdio_fread() to make sure that the putc and getc macros were disabled if the stream was in and error state. The above changes should take care of a problem initially reported by "Steven J. Hill" <sjhill@realitydiluted.com>. | |||
2002-08-03 | A couple of little cleanups I forgot to check in. | Manuel Novoa III | |
2002-07-31 | Per discussion on the mailing list, simply vfork -> fork mapping to only apply | Eric Andersen | |
iff we do not have vfork available, which is simpler and more reasonable. -Erik | |||
2002-07-07 | Attempt to clean up the strerror_r situation. | Manuel Novoa III | |
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-06-11 | This patch from Rik Faith <faith@alephnull.com> fixes a potentially | Eric Andersen | |
non-NULL terminated string problem that could result from the use of open_memstream(). Manuel may have a better solution, but this one works for me, since with this plus the popen fix I can now run things like gdb properly. Thanks Rik! | |||
2002-06-11 | A patch from Ted Phelps to fix popen(). Ted writes: | Eric Andersen | |
There is a minor bug in the implementation of popen(). In the case where the file descriptor returned from its call to pipe() is the same as the file descriptor that it is meant to be (where the dup2() branch is not taken), the end of the pipe is still closed by close(reading) even though it shouldn't be. Thanks Ted! | |||
2002-05-12 | Several bugfixes for problems that showed up on alpha | Eric Andersen | |
-Erik | |||
2002-05-11 | Adjust preprocessor logic to initialize QUAL_CHARS correctly for Erik's alpha | Manuel Novoa III | |
port. Also, explicitly use the macro versions of isdigit and isspace in the printf and scanf code. | |||
2002-05-10 | Protect against ctype macros. | Manuel Novoa III | |
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-04-02 | Fix an arg promotion handling bug in _do_one_spec for %c reported | Manuel Novoa III | |
by Ilguiz Latypov <ilatypov@superbt.com>. | |||
2002-04-01 | Forget to initialize thread locks for fake files. Thanks Erik. | Manuel Novoa III | |
2002-04-01 | Remove function declartions from include/features.h, create | Eric Andersen | |
a separate header file for those, and fixup references. -Erik | |||
2002-03-31 | Rework __gen_tempname() to better match glibc, and add mkstemp64(), | Eric Andersen | |
which is needed for busybox ash when using largefile support. -Erik | |||
2002-03-22 | Add in a knob to disable %m support | Eric Andersen | |
-Erik | |||
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 | Modified because of the new str to int funcs. | Manuel Novoa III | |
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-13 | Apply Miles Bader's missing __va_copy() fix. | Manuel Novoa III | |
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-21 | When vfork is not available and we have an MMU, then use fork() | Eric Andersen | |
-Erik | |||
2002-02-18 | Rename __stdio_close_all to __stdio_flush_buffers. Eliminate an | Eric Andersen | |
unnecessary variable | |||
2002-02-02 | Several little additions and cleanups. Add getw() and putw(). | Eric Andersen | |
Add in some missing header files (netipx/ipx.h include/lastlog.h include/sgtty.h include/sys/perm.h) -Erik | |||
2002-01-17 | Don't waste space warning about tempnam() | Eric Andersen | |
2002-01-06 | Support tmpfile64 (just a weak for tmpfile) | Eric Andersen | |
-Erik | |||
2001-12-19 | Update my email address. I am no longer andersen@lineo.com | Eric Andersen | |
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-30 | Fix nasty behavior difference from glibc -- also fixes getline() | Eric Andersen | |
-Erik | |||
2001-09-27 | Update to accomodate the header file changes | Eric Andersen | |
2001-09-25 | Fix fseek behavior. | Manuel Novoa III | |
2001-08-28 | Fix goofy formatting | Eric Andersen | |
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 | |