145 Commits (97789d3e5d3f8f0f62177ea77c810a784dca986c)

Author SHA1 Message Date
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
Rich Felker d4fa6f0e08 implement fmemopen 15 years ago
Rich Felker 1e69376435 fix some length calculations in memory streams 15 years ago
Rich Felker 1461e02757 implement open_wmemstream 15 years ago
Rich Felker b158b32a44 implement open_memstream 15 years ago
Rich Felker e95b0a9d10 fix crash in dns code with new stdio locking code 15 years ago
Rich Felker dba68bf98f add proper fuxed-based locking for stdio 15 years ago
Rich Felker 7683fceede eliminate dependence of perror on printf 15 years ago
Rich Felker 94a0171d80 fix logic error in fread 15 years ago
Rich Felker a9e6d01114 printf: "if a precision is specified, the '0' flag shall be ignored." 15 years ago
Rich Felker cc44d9f201 zero precision with zero value should not inhibit prefix/width printing 15 years ago
Rich Felker 3d54adbe47 printf("%#x",0) should print 0 not 0x0 15 years ago
Rich Felker e5cb55fedd fix logic in __fwriting 15 years ago
Rich Felker a0b56b947a add and consolidate nasty stdio_ext junk 15 years ago
Rich Felker 7640497f5f implement the nonstandard GNU function fpurge 15 years ago
Rich Felker 0e1762539c avoid 64bit warnings when using pointers as entropy for temp names 15 years ago