Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | It's still safe to assumed 'signed' exists | 2014-03-19 | 1 | -3/+3 | |
| | |||||
* | add some prototypes, casts, includes, parenthesis, and whatnot to | 2013-04-17 | 1 | -1/+2 | |
| | | | | silence some warnings. | ||||
* | Add support for C99 %ls, %lc, and %l[ format directives to scanf(3). | 2012-01-18 | 1 | -1/+169 | |
| | | | | | | Based on code from FreeBSD. Tested by myself (full release/install cycle on i386 and sparc64) and ajacoutot. Man page help from jmc. | ||||
* | Make __svfscanf() the unlocked, core of vfscanf() and use it in | 2011-11-08 | 1 | -13/+15 | |
| | | | | | | sscanf()/vsscanf() where locking is unnecessary. ok millert@ | ||||
* | Recognize %a, %A format specifiers, per C99. | 2011-07-03 | 1 | -7/+5 | |
| | |||||
* | Properly implement the long double (%Lf) scanf without the precision | 2011-07-03 | 1 | -8/+10 | |
| | | | | loss. | ||||
* | Fix the handle locking in stdio to use flockfile/funlockfile | 2009-11-09 | 1 | -3/+9 | |
| | | | | | | | | | | | | | internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is threaded to obtain the necessary locking. A private mutex is added to protect __sglue, the internal list of FILE handles, and another to protect the one-time initialization. Some routines in libc that use getc() change to use getc_unlocked() as they're either protected by their own lock or aren't thread-safe routines anyway. committing on behalf of and okay guenther@ now that we have install media space available. | ||||
* | Back out previous commit, as it caused too much growth for the install | 2009-10-22 | 1 | -9/+3 | |
| | | | | media to fit | ||||
* | Fix the handle locking in stdio to use flockfile/funlockfile | 2009-10-21 | 1 | -3/+9 | |
| | | | | | | | | | | | | internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is threaded to obtain the necessary locking. A private mutex is added to protect __sglue, the internal list of FILE handles, and another to protect the one-time initialization. Some routines in libc that use getc() change to use getc_unlocked() as they're either protected by their own lock or aren't thread-safe routines anyway. ok kurt@, earlier version tested by sthen@ and jj@ | ||||
* | accept %F, which actually behaves the same as %f. per C99 | 2009-04-05 | 1 | -1/+2 | |
| | | | | ok millert@ | ||||
* | Pull in inttypes.h, not stdint.h so we get the prototypes for | 2006-01-13 | 1 | -4/+4 | |
| | | | | strtoimax/strtoumax. | ||||
* | Use long long and intmax_t instead of quad_t throughout. Adapted in | 2006-01-13 | 1 | -40/+57 | |
| | | | | part from FreeBSD. | ||||
* | Fix the handling of negative hexadecimal numbers in integer formats. | 2006-01-08 | 1 | -10/+16 | |
| | | | | From NetBSD. | ||||
* | Adapt things to use __type_t instead of _BSD_TYPE_T_ | 2006-01-06 | 1 | -2/+2 | |
| | | | | | Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable | ||||
* | Do not overlap flags; problem introduced when new escapes were added. | 2006-01-03 | 1 | -7/+7 | |
| | |||||
* | Add %hhd to *printf and *scanf as well as %z to *scanf. This was | 2005-12-19 | 1 | -10/+30 | |
| | | | | | sent out and approved about 6 months ago and has been rotting in my tree ever since. | ||||
* | zap remaining rcsid. | 2005-08-08 | 1 | -4/+1 | |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | next citrus step. | 2005-06-17 | 1 | -1/+3 | |
| | | | | | reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump | ||||
* | Use '\0' not 0 when storing as a char, part from Andrey Matveev. | 2005-05-28 | 1 | -5/+5 | |
| | |||||
* | let vfscanf be a real function. Use a weak_alias on systems where this | 2005-05-11 | 1 | -2/+6 | |
| | | | | | | | | is feasible. Okay millert@ There's a major libc bump coming that is going to cover this as well... | ||||
* | make sure the implementation matches the prototype.. | 2005-03-31 | 1 | -2/+2 | |
| | | | | | | char const * -> const char * ok otto@ deraadt@ | ||||
* | deregister + ansify, no change in object code. ok deraadt@ millert@ | 2004-09-28 | 1 | -17/+12 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 2002-02-19 | 1 | -5/+1 | |
| | |||||
* | a first pass at -Wall | 2001-07-09 | 1 | -1/+2 | |
| | |||||
* | Better fix for %n and whitespace. Chris Torek <torek@bsdi.com> | 1998-01-20 | 1 | -12/+3 | |
| | |||||
* | Ignore whitespace separating a conversion and %n. There may be | 1998-01-19 | 1 | -2/+7 | |
| | | | | a cleaner way to do this. | ||||
* | #if __STDC__ --> #ifdef __STDC__ | 1997-07-25 | 1 | -2/+2 | |
| | |||||
* | Remove dead code | 1996-09-15 | 1 | -3/+3 | |
| | | | | | | Remove unused variables Silence some warnings lint(1) is your friend | ||||
* | Fix RCS ids | 1996-08-19 | 1 | -6/+1 | |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+766 | |