summaryrefslogtreecommitdiffstats
path: root/libc/stdio/scanf.c
Commit message (Collapse)AuthorAgeFilesLines
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-031-19/+19
| | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
* Adjust preprocessor logic to initialize QUAL_CHARS correctly for Erik's alphaManuel Novoa III2002-05-111-8/+8
| | | | | port. Also, explicitly use the macro versions of isdigit and isspace in the printf and scanf code.
* Protect against ctype macros.Manuel Novoa III2002-05-101-4/+6
|
* Forget to initialize thread locks for fake files. Thanks Erik.Manuel Novoa III2002-04-011-0/+4
|
* Modified because of the new str to int funcs.Manuel Novoa III2002-03-131-7/+8
|
* Swap in the new stdio code.Manuel Novoa III2002-03-121-23/+60
|
* Update to accomodate the header file changesEric Andersen2001-09-271-0/+1
|
* Add in changes from philipc@lineo:David McCullough2001-08-091-12/+15
| | | | | | | | | | | | | | | 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.
* Add comment about scanf pushback behavior and glibc difference.Manuel Novoa III2001-05-211-0/+11
|
* Bug fix from Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>.Manuel Novoa III2001-03-231-0/+7
|
* Since Erik apparently wants def/undef vs def 1/0...Manuel Novoa III2001-03-191-8/+8
|
* Test for Config features using features.h.Manuel Novoa III2001-03-181-20/+17
|
* Fix bug with %c... takes care of bug reported with busybox ps.Manuel Novoa III2001-03-151-3/+6
|
* New version of scanf, with floating point support.Manuel Novoa III2001-03-131-378/+545
|
* Hack long long support into scanf. For now, will fail for unsigned long longsManuel Novoa III2001-03-121-3/+20
| | | | | 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.
* stdio mostly rewritten... passes lots of tests now.Manuel Novoa III2001-02-271-6/+6
| | | | printf now supports long double, plus some bug fixes.
* Some cleanups from Manuel Novoa III <mnovoa3@bellsouth.net>,Eric Andersen2000-11-171-2/+3
| | | | and a bit of extra cleanup in the test makefiles.
* Add in tmpnam() support from David Whedon <dwhedon@gordian.com>,Eric Andersen2000-11-151-10/+3
| | | | rework include/stdio.h, and fix up the resultant damage.
* Bug ugly formatting updateEric Andersen2000-10-091-425/+402
|
* Lots and lots of cleanups.Eric Andersen2000-07-061-27/+27
| | | | -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+536