276 Commits (2f2348c9588d61680123bbe438db38acf5dfea4c)

Author SHA1 Message Date
Rich Felker a01f1fe66f remove wrap_write helper from vdprintf 6 years ago
Rich Felker c9ebff4736 fix remaining direct use of stat syscalls outside fstatat.c 6 years ago
Rich Felker f6ecd0c296 fix return value of ungetc when argument is outside unsigned char range 7 years ago
Brion Vibber f7e464bff4 fix %lf in wprintf 7 years ago
Rich Felker 03919b26ed use namespace-safe __lseek for __stdio_seek instead of direct syscall 7 years ago
Rich Felker 95dfa3dd12 allow fmemopen with zero size 7 years ago
Rich Felker 511d70738b make fgetwc set error indicator for stream on encoding errors 7 years ago
Drew DeVault 54316a52b2 support archs with no renameat syscall, only renameat2 7 years ago
A. Wilcox 00d3d577ca setvbuf: return failure if mode is invalid 7 years ago
Rich Felker b2020571f0 fix behavior of gets when input line contains a null byte 7 years ago
Rich Felker 79f653c6bc fix failure to flush stderr when fflush(0) is called 8 years ago
Rich Felker 4a08603026 fix deadlock and buffered data loss race in fclose 8 years ago
Rich Felker 9dd1912256 further optimize getc/putc when locking is needed 8 years ago
Rich Felker ab5e1e3408 fix build regression due to missing file for putc changes 8 years ago
Rich Felker d8f2efa708 bypass indirection through pointer objects to access stdin/out/err 8 years ago
Rich Felker d664061adb optimize hot paths of putc with manual shrink-wrapping 8 years ago
Rich Felker dd8f02b7dc optimize hot paths of getc with manual shrink-wrapping 8 years ago
Rich Felker 2085378a4f move stdio locking MAYBE_WAITERS definition to stdio_impl.h 8 years ago
Kaarle Ritvanen 0db393d3a7 fix race condition in file locking 8 years ago
Rich Felker 1f6cbdb434 getdelim: only grow buffer when necessary, improve OOM behavior 8 years ago
Rich Felker 849e7603e9 fix null pointer subtraction and comparison in stdio 8 years ago
Rich Felker 5cd309f0cc fix failure of getdelim to set stream orientation on error 8 years ago
Rich Felker 5f12ffe123 split internal lock API out of libc.h, creating lock.h 8 years ago
Rich Felker 63a4c9adf2 remove spurious inclusion of libc.h for LFS64 ABI aliases 8 years ago
Rich Felker 5ce3737931 reduce spurious inclusion of libc.h 8 years ago
Rich Felker 6d47488e86 hide purely dependency-triggering functions in stdio __toread & __towrite 8 years ago
Rich Felker 13d1afa46f overhaul internally-public declarations using wrapper headers 8 years ago
Rich Felker 50a298ea3b move __stdio_exit_needed to stdio_impl.h 8 years ago
Rich Felker 3b028c2831 make internal declarations for flockfile tracking functions checkable 8 years ago
Rich Felker c221d3e586 fix issues from public functions defined without declaration visible 8 years ago
Rich Felker cff4b910ab prevent perror from clobbering stderr's orientation 8 years ago
Rich Felker a43a7b215c make vfprintf set stream orientation even for zero-length output 8 years ago
Rich Felker f1791f42ef re-fix vfprintf temporary buffer logic 8 years ago
Rich Felker ddc947eda3 fix missing flush of stderr at exit if it was put in buffered mode 8 years ago
A. Wilcox 9cdaf1a86b vfwprintf: honor field width with 'c' format type 8 years ago
Rich Felker b152d575fd set stream orientations in open_[w]memstream 8 years ago
Rich Felker f66022dda8 make fmemopen's w+ mode truncate the buffer 8 years ago
Rich Felker b39b47bac8 set errno when fileno is called on a FILE with no underlying fd 8 years ago
Rich Felker cfa0a54c08 fix printf precision specifier for hex floats on non-ld80 archs 8 years ago
Rich Felker 9cad27a3dc fix writes outside buffer by ungetc after setvbuf 8 years ago
Will Dietz 3f3cc3e995 setvbuf: minor comment typo fix 8 years ago
Rich Felker 0b80a7b040 add support for caller-provided buffers to setvbuf 8 years ago
Rich Felker 6019459251 clean up allocation/setup logic for open_[w]memstream 8 years ago
Rich Felker 0b043c7b70 clean up allocation/setup logic for fmemopen 8 years ago
Rich Felker 4245a233c1 minor cleanup in fopencookie 8 years ago
Rich Felker c1014a812c refactor flockfile not to duplicate lock mechanism logic 8 years ago
Rich Felker c21f750727 fix stdio lock dependency on read-after-free not faulting 8 years ago
Rich Felker 2fae10f887 fix aliasing violations in fgetpos/fsetpos 8 years ago
Rich Felker 7c59d09863 in vswprintf, initialize the FILE rather than memset-and-assign 8 years ago
Rich Felker aaa29c26ee remove unused MIN macro from getdelim source file 8 years ago