aboutsummaryrefslogtreecommitdiff
path: root/src/stdio
AgeCommit message (Expand)AuthorFilesLines
2018-10-18further optimize getc/putc when locking is neededRich Felker2-10/+10
2018-10-18fix build regression due to missing file for putc changesRich Felker1-0/+22
2018-10-18bypass indirection through pointer objects to access stdin/out/errRich Felker3-9/+15
2018-10-17optimize hot paths of putc with manual shrink-wrappingRich Felker3-13/+8
2018-10-17optimize hot paths of getc with manual shrink-wrappingRich Felker4-15/+30
2018-10-16move stdio locking MAYBE_WAITERS definition to stdio_impl.hRich Felker2-4/+0
2018-09-18fix race condition in file lockingKaarle Ritvanen1-6/+6
2018-09-16getdelim: only grow buffer when necessary, improve OOM behaviorRich Felker1-10/+17
2018-09-16fix null pointer subtraction and comparison in stdioRich Felker13-29/+39
2018-09-16fix failure of getdelim to set stream orientation on errorRich Felker1-0/+2
2018-09-12split internal lock API out of libc.h, creating lock.hRich Felker1-1/+1
2018-09-12remove spurious inclusion of libc.h for LFS64 ABI aliasesRich Felker7-14/+7
2018-09-12reduce spurious inclusion of libc.hRich Felker27-12/+19
2018-09-12hide purely dependency-triggering functions in stdio __toread & __towriteRich Felker2-2/+2
2018-09-12overhaul internally-public declarations using wrapper headersRich Felker4-8/+4
2018-09-12move __stdio_exit_needed to stdio_impl.hRich Felker2-4/+0
2018-09-12make internal declarations for flockfile tracking functions checkableRich Felker2-4/+0
2018-09-12fix issues from public functions defined without declaration visibleRich Felker2-0/+2
2018-08-30prevent perror from clobbering stderr's orientationRich Felker1-0/+8
2018-08-29make vfprintf set stream orientation even for zero-length outputRich Felker1-1/+2
2018-08-29re-fix vfprintf temporary buffer logicRich Felker1-2/+2
2018-08-29fix missing flush of stderr at exit if it was put in buffered modeRich Felker1-0/+1
2018-08-28vfwprintf: honor field width with 'c' format typeA. Wilcox1-1/+4
2018-08-28set stream orientations in open_[w]memstreamRich Felker2-0/+3
2018-08-28make fmemopen's w+ mode truncate the bufferRich Felker1-0/+1
2018-08-28set errno when fileno is called on a FILE with no underlying fdRich Felker1-4/+7
2018-08-23fix printf precision specifier for hex floats on non-ld80 archsRich Felker1-0/+1
2018-07-13fix writes outside buffer by ungetc after setvbufRich Felker1-1/+1
2018-04-19setvbuf: minor comment typo fixWill Dietz1-1/+1
2018-04-18add support for caller-provided buffers to setvbufRich Felker1-11/+14
2018-04-18clean up allocation/setup logic for open_[w]memstreamRich Felker2-38/+50
2018-04-18clean up allocation/setup logic for fmemopenRich Felker1-21/+31
2018-04-18minor cleanup in fopencookieRich Felker1-5/+2
2018-04-18refactor flockfile not to duplicate lock mechanism logicRich Felker2-12/+14
2018-04-18fix stdio lock dependency on read-after-free not faultingRich Felker3-20/+24
2018-02-24fix aliasing violations in fgetpos/fsetposRich Felker2-2/+2
2018-02-24in vswprintf, initialize the FILE rather than memset-and-assignRich Felker1-9/+8
2018-02-24remove unused MIN macro from getdelim source fileRich Felker1-2/+0
2018-02-24remove useless null check before call to free in fcloseRich Felker1-1/+1
2018-02-24remove useless and confusing parentheses in stdio __towrite functionRich Felker1-1/+1
2018-02-24avoid use of readv syscall in __stdio_read backend when not neededRich Felker1-1/+2
2018-02-24consistently return number of bytes read from stdio read backendRich Felker2-2/+2
2018-02-24remove obfuscated flags bit-twiddling logic in __stdio_readRich Felker1-1/+1
2018-02-11fix incorrect overflow check for allocation in fmemopenRich Felker1-1/+1
2018-01-10fix printf alt-form octal with value 0 and no explicit precisionRich Felker1-2/+2
2018-01-09revise the definition of multiple basic locks in the codeJens Gustedt1-1/+1
2017-12-06implement the fopencookie extension to stdioWilliam Pitcock1-0/+138
2017-11-20make fgetwc handling of encoding errors consistent with/without bufferRich Felker1-14/+14
2017-11-20fix treatment by fgetws of encoding errors as eofRich Felker1-1/+6
2017-11-18fix fgetwc when decoding a character that crosses buffer boundarySzabolcs Nagy1-0/+1