145 Commits (97789d3e5d3f8f0f62177ea77c810a784dca986c)

Author SHA1 Message Date
Rich Felker 8628eff912 fix the last known rounding bug in floating point printing 15 years ago
Rich Felker 77f15d108e reduce some ridiculously large spin counts 15 years ago
Rich Felker 78c808b126 fix fclose return status logic, again 15 years ago
Rich Felker bd67467325 fix undefined call order in fclose, possible lost output depending on compiler 15 years ago
Rich Felker d02c50d6a3 minor optimization in puts: use inline putc_unlocked macro for newline 15 years ago
Rich Felker 5efc6af4eb fix 2 eof-related bugs in scanf 15 years ago
Rich Felker 9080cc153c clean up handling of thread/nothread mode, locking 15 years ago
Rich Felker eb0e8fa0b1 debloat: use __syscall instead of syscall where possible 15 years ago
Rich Felker 69cf09c821 avoid setting errno when checking for tty 15 years ago
Rich Felker b172dc8b58 make tmpfile slightly more efficient (use unlink syscall instead of remove) 15 years ago
Rich Felker e514228043 fix printf("%.9g", 1.1) and similar not dropping trailing zeros 15 years ago
Rich Felker 52458cfa8c fix fputwc return value 15 years ago
Rich Felker 2cff36a84f work around a nasty bug in linux readv syscall 15 years ago
Rich Felker e72180083e add more legacy functions: setlinebuf and setbuffer 15 years ago
Rich Felker 2f3d02cd83 fix overflow in printf %N$ argument handling 15 years ago
Rich Felker f9569662c0 fix various floating point rounding and formatting errors in *printf 15 years ago
Rich Felker 98c5583ad5 simplify vdprintf implementation greatly based on recent vfprintf changes 15 years ago
Rich Felker bd57e2b43a use a local temp buffer for unbuffered streams in vfprintf 15 years ago
Rich Felker 8de03e1a90 don't disable seeking after first seek failure 15 years ago
Rich Felker 9a909fcd91 apparently fseek should not set the error flag on failed seek 15 years ago
Rich Felker 8250742b90 fix tempnam name generation, and a small bug in tmpnam on retry limit 15 years ago
Rich Felker a88edbec15 make tmpfile fail after exceeding max tries. 15 years ago
Rich Felker 507a9fa6ff fix tmpnam to generate better names, not depend on non-ISO-C symbols 15 years ago
Rich Felker 9646e4d024 fix messed-up errno if remove fails for a non-EISDIR reason 15 years ago
Rich Felker 0b240ccf52 learned something new - remove is supposed to support directories on POSIX 15 years ago
Rich Felker 4106cdcd2d revert some more spin optimizations that turned out to be pessimizations 15 years ago
Rich Felker 05b694028e fix getc - the classic error of trying to store EOF+0-255 in a char type.. 15 years ago
Rich Felker e3cd6c5c26 major stdio overhaul, using readv/writev, plus other changes 15 years ago
Rich Felker 9ae8d5fc71 fix all implicit conversion between signed/unsigned pointers 15 years ago
Rich Felker a37452430f simplify and optimize FILE lock handling 15 years ago
Rich Felker 8ae2fa6563 fix non-atomicity of puts 15 years ago
Rich Felker aa398f56fa global cleanup to use the new syscall interface 15 years ago
Rich Felker e18b563821 implement [v]swprintf 15 years ago
Rich Felker c35bb6645f implement wprintf family of functions 15 years ago
Rich Felker 4d9cc0b399 optimize file locking: avoid cache-polluting writes to global storage 15 years ago
Rich Felker 9dd7d7e3f6 partially-written draft of fmemopen, still in #if 0 15 years ago
Rich Felker 5eb0d33ec0 implement flockfile api, rework stdio locking 15 years ago
Rich Felker a6238c30d1 rewind must clear the error indicator in addition to seeking 15 years ago
Rich Felker 4ee039f354 avoid referencing address of extern function from vdprintf 15 years ago
Rich Felker 3075f7e847 cleanup asprintf stuff 15 years ago
Rich Felker bdc9ed1565 fix %n specifier, again. this time it was storing the wrong value. 15 years ago
Rich Felker 5cbd76c6b0 fix printf %n specifier - missing breaks had it clobbering memory 15 years ago
Rich Felker a8c17e6587 fix some pointer signedness issues (this was invalid C) 15 years ago
Rich Felker 2cdfb7ca26 cleaning up syscalls in preparation for x86_64 port 15 years ago
Rich Felker 0b44a0315b initial check-in, version 0.5.0 15 years ago