141 Commits (a97a050eca5167404667f38ad3b5bbc86f987e69)

Author SHA1 Message Date
Rich Felker 1d92cddb1e fix uninitialized/stale use of alloc (%m modifier) flag in scanf 13 years ago
Rich Felker ef5507867b fix scanf %c conversion wrongly storing a terminating null byte 13 years ago
Rich Felker e039db27c2 implement 'm' modifier for wide scanf variants 13 years ago
Rich Felker 16a1e0365d implement the 'm' (malloc) modifier for scanf 13 years ago
Rich Felker de80ea9f1c refactor wide-char scanf string handling 13 years ago
Rich Felker 1ab59de81e simplify some logic in scanf and remove redundant invalid-format check 13 years ago
Rich Felker f18846dd3a refactor scanf core to use common code path for all string formats 13 years ago
Rich Felker 5c5ac810c3 fix argument omission in ABI-compat weak_alias for fscanf 13 years ago
Isaac Dunham 14f0272ea1 Add ABI compatability aliases. 13 years ago
Rich Felker 9cb6e6ea12 rewrite popen to use posix_spawn instead of fragile vfork hacks 13 years ago
Rich Felker f1c1a5ea82 document self-synchronized destruction issue for stdio locking 14 years ago
Rich Felker dc059f03e8 always add memory streams to stdio open file list 14 years ago
Rich Felker efd4d87aa4 clean up sloppy nested inclusion from pthread_impl.h 14 years ago
Rich Felker 835f9f950e clean up stdio_impl.h 14 years ago
Rich Felker a617a8e2ad fix more unused variable warnings 14 years ago
Rich Felker 8fc7b5965a separate getc/putc from fgetc/fputc 14 years ago
Rich Felker c8cb6bcdf0 correct locking in stdio functions that tried to be lock-free 14 years ago
Rich Felker 892cafff66 greatly improve freopen behavior 14 years ago
Rich Felker 708c91f4e9 remove useless failure-check from freopen (can't happen) 14 years ago
Rich Felker f1b23d41cf fix copy/paste error in popen changes that broke signals 14 years ago
Rich Felker 599f973603 fix usage of locks with vfork 14 years ago
Rich Felker 776251867d avoid raising spurious division-by-zero exception in printf 14 years ago
Rich Felker 44eb4d8b9b overhaul system() and popen() to use vfork; fix various related bugs 14 years ago
Rich Felker 8582a6e9f2 add 'e' modifier (close-on-exec) to fopen and fdopen 14 years ago
Rich Felker f2d08cf755 fix some more O_CLOEXEC/SOCK_CLOEXEC issues 14 years ago
Rich Felker 453059571c fix invalid implicit pointer conversion in gnulib-compat functions 14 years ago
Rich Felker 400c5e5c83 use restrict everywhere it's required by c99 and/or posix 2008 14 years ago
Rich Felker 9bff7c133e implement "low hanging fruit" from C11 14 years ago
Rich Felker 617182734c add bsd fgetln function 14 years ago
Rich Felker 2b964b010e minor but worthwhile optimization in printf: avoid expensive strspn 14 years ago
Rich Felker 4c346919a9 trivial optimization to printf: avoid wasted call frame 14 years ago
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