summaryrefslogtreecommitdiff
path: root/libc/stdio/scanf.c
AgeCommit message (Collapse)Author
2001-08-09Add in changes from philipc@lineo:David McCullough
Fix three bugs and bring into line with glibc: 1. The first character read using getc() was being ignored if it was EOF. Normally this is okay because the next getc() returns EOF as well, but for sscanf, this was causing us to skip the null terminator and start scanning whatever happened to be next in memory. 2. %s, %c, and %[ formats now return -1 if EOF is reached before any characters are read, instead of 0. This was causing an infinite loop in diald. 3. Default to base 10 for %i fields if not prefix modifier present.
2001-05-21Add comment about scanf pushback behavior and glibc difference.Manuel Novoa III
2001-03-23Bug fix from Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>.Manuel Novoa III
2001-03-19Since Erik apparently wants def/undef vs def 1/0...Manuel Novoa III
2001-03-18Test for Config features using features.h.Manuel Novoa III
2001-03-15Fix bug with %c... takes care of bug reported with busybox ps.Manuel Novoa III
2001-03-13New version of scanf, with floating point support.Manuel Novoa III
2001-03-12Hack long long support into scanf. For now, will fail for unsigned long longsManuel Novoa III
that are greater that long long max, but works well enough to support interface in busybox. Just a temporary measure until scanf.c is rewritten.
2001-02-27stdio mostly rewritten... passes lots of tests now.Manuel Novoa III
printf now supports long double, plus some bug fixes.
2000-11-17Some cleanups from Manuel Novoa III <mnovoa3@bellsouth.net>,Eric Andersen
and a bit of extra cleanup in the test makefiles.
2000-11-15Add in tmpnam() support from David Whedon <dwhedon@gordian.com>,Eric Andersen
rework include/stdio.h, and fix up the resultant damage.
2000-10-09Bug ugly formatting updateEric Andersen
2000-07-06Lots and lots of cleanups.Eric Andersen
-Erik
2000-05-14Initial revisionErik Andersen