summaryrefslogtreecommitdiff
path: root/libc/stdio/scanf.c
AgeCommit message (Collapse)Author
2002-09-06Patch from Tero_Lyytik�inen <tero@paravant.fi> to fix bug in matchcharManuel Novoa III
case.
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
2002-08-13__fsetlocking() and FILE field user_locking were completely broken. :-(Manuel Novoa III
I think they're fixed now (I've run a few tests). Note: __fsetlocking() is not threadsafe... but glibc's doesn't appear to be either.
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-05-11Adjust preprocessor logic to initialize QUAL_CHARS correctly for Erik's alphaManuel Novoa III
port. Also, explicitly use the macro versions of isdigit and isspace in the printf and scanf code.
2002-05-10Protect against ctype macros.Manuel Novoa III
2002-04-01Forget to initialize thread locks for fake files. Thanks Erik.Manuel Novoa III
2002-03-13Modified because of the new str to int funcs.Manuel Novoa III
2002-03-12Swap in the new stdio code.Manuel Novoa III
2001-09-27Update to accomodate the header file changesEric Andersen
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