110 Commits (75fff40b9b536e0e6847d17ecc076894ca7b7068)

Author SHA1 Message Date
Rich Felker 920baab81f putw is supposed to return 0 (not the value written) on success 14 years ago
Rich Felker 98eddc6776 make sure getw/putw agree with prototypes by defining _GNU_SOURCE 14 years ago
Rich Felker 8e26a591d0 fix missing function declarations for __stdio_exit 14 years ago
Rich Felker cea106fb89 fix fwrite return value when full write does not succeed 14 years ago
Rich Felker 1af8c25504 avoid cancellation in pclose 14 years ago
Rich Felker 9799560f79 fix invalid memory access in pclose 14 years ago
Rich Felker 9c21f4342c make popen cancellation-safe 14 years ago
Rich Felker f305467aad popen: handle issues with fd0/1 being closed 14 years ago
Rich Felker 839bff64a1 fix another oob pointer arithmetic issue in printf floating point 14 years ago
Rich Felker 82a4499e67 minor perror behavior fix 14 years ago
Rich Felker 914949d321 fix pointer overflow bug in floating point printf 14 years ago
Rich Felker e15171b8d8 add new stdio extension functions to make gnulib happy 14 years ago
Rich Felker a71e0af255 stdio: handle file position correctly at program exit 14 years ago
Rich Felker ca8a4e7fbd minor cleanup in fflush 14 years ago
Rich Felker 2499cd9d9b remove flush hook cruft that was never used from stdio 14 years ago
Rich Felker deb90c79e5 change stdio_ext __freading/__fwriting semantics slightly 14 years ago
Rich Felker 3b43d10faf fdopen should set errno when it fails due to invalid mode string 14 years ago
Rich Felker 63d40196b9 fix %ls breakage in last printf fix 14 years ago
Rich Felker 6e9ff6a4cf fix printf %ls with precision limit over-read issue 14 years ago
Rich Felker 31eaad4796 fix scanf bug reading literals after width-limited field 14 years ago
Rich Felker 6a4b9472fb add some ugly aliases for LSB ABI compatibility 14 years ago
Rich Felker 3f25354e62 avoid using pthread cleanup push/pop in stdio when not needed 14 years ago
Rich Felker db4096c5f2 fix uninitialized var in vfwprintf printing 0-prec string 14 years ago
Rich Felker cb81b6947c fix really bad breakage in strtol, etc.: failure to accept leading spaces 14 years ago
Rich Felker bdeb184c3d fix wide scanf's handling of input failure on %c, and simplify %[ 14 years ago
Rich Felker a12aa29185 fix failure to distinguish input/match failure in wide %[ scanf 14 years ago
Rich Felker 2dd5dc78d4 fix over-read in %ls with non-wide scanf 14 years ago
Rich Felker 9ab180fa57 fix broken %s and %[ with no width specifier in wide scanf 14 years ago
Rich Felker 99fbf4cfdb make wide scanf %[ respect width 14 years ago
Rich Felker 0072251572 fix wide scanf to respect field width for strings 14 years ago
Rich Felker e0d9f780d1 fix some bugs in scanf %[ handling detected while writing the wide version 14 years ago
Rich Felker 73ec1d0495 introduce new wide scanf code and remove the last remnants of old scanf 14 years ago
Rich Felker 8b57a81577 avoid depending on POSIX symbol in code used from plain C functions 14 years ago
Rich Felker 03de77f521 avoid null pointer dereference on %*p fields in scanf 14 years ago
Rich Felker b7a2761780 also ensure that write buffer is bounded when __stdio_write returns 14 years ago
Rich Felker b5a8b28915 fix buffer overflow in vfprintf on long writes to unbuffered files 14 years ago
Rich Felker cc3a446660 fix %lf, etc. with printf 14 years ago
Rich Felker 18efeb320b new scanf implementation and corresponding integer parser/converter 14 years ago
Rich Felker 291f839a44 fix scanf handling of "0" (followed by immediate EOF) with "%x" 14 years ago
Rich Felker 5816592389 make stdio open, read, and write operations cancellation points 14 years ago
Rich Felker f753049a50 simplify atexit and fflush-on-exit handling 15 years ago
Rich Felker 5f814682b4 don't crash on null strings in printf 15 years ago
Rich Felker ca52e34767 avoid setting FILE lock count when not using flockfile 15 years ago
Rich Felker d2e061a2bd more fmemopen null termination fixes 15 years ago
Rich Felker e72ee5786b fix some fmemopen behaviors 15 years ago
Rich Felker 22e4542348 fmemopen: fix eof handling, hopefully right this time 15 years ago
Rich Felker f81279ff58 fmemopen fixes 15 years ago
Rich Felker 7ee3dcb3c6 memstreams: fix incorrect handling of file pos > current size 15 years ago
Rich Felker c88f36f556 optimize seek function for memory streams 15 years ago
Rich Felker 32d67e938e fix twos complement overflow bug in mem streams boundary check 15 years ago