summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fgets.c
AgeCommit message (Expand)Author
2012-03-15- ansify, knf.christos
2009-10-25revert some of dsl's changes to make things build on i386; he can undo whatchristos
2009-10-25Lint is differentially far too picky...dsl
2009-10-24Remove a load of pointless casts - one that even lint doesn't bleat about.dsl
2009-10-24Check for EOF before erroring fgets() with length <= 0.dsl
2009-10-14Change a while () {} into a do {} while() so that fgets(buf, 1, file)dsl
2009-02-05sign-compare fixlukem
2007-06-03Make these work with _FORTIFY_SOURCE, by overriding the fortified definitionschristos
2003-12-14remove superfluous assignmentlukem
2003-10-10Remove another unneeded cast to size_t.simonb
2003-10-09No need to cast "len" to a size_t now that "len" is a size_t.simonb
2003-10-08avoid signed->unsigned assignment. openbsd PR 1709itojun
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-01-18Merge the nathanw_sa branch.thorpej
2001-12-07- make FILE structure extensible without breaking binary-compatibility.yamt
1999-11-14missing ;explorer
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
1998-11-15change len from size_t to int so that len = fp->_r does not get promotedchristos
1998-09-07Sloppy stdio stream lock tracking.kleink
1998-02-03remove obsolete register declarationsperry
1998-01-19Use FLOCKFILE() and FUNLOCKFILE() macros from reentrant.h so that stdiojtc
1997-07-13Fix RCSID'schristos
1995-03-25change second arg of fgets() from size_t to intjtc
1995-02-02Merged with 4.4lite.jtc
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd