Home | History | Annotate | Download | only in stdio
History log of /src/lib/libc/stdio/vsscanf.c
RevisionDateAuthorComments
 1.21  17-May-2013  joerg Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.
 1.20  19-Apr-2013  joerg Add scanf_l and wscanf_l families.
 1.19  27-Mar-2012  christos branches: 1.19.2;
- widen the internal read and write calls to match the syscalls
- add funopen2() which provides access to flush() and the wider calls.
- make use of the new flush call in fmemopen()
 1.18  15-Mar-2012  christos - ansify, knf.
- no functional changes
 1.17  13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.16  17-Jul-2011  joerg branches: 1.16.2;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.15  11-Jan-2010  joerg Use a proper char */size_t pair in __sfileext to keep track of the line
buffer for fgetln and fgetwln. Simplifies code by dropping the INT_MAX
related logic. Drop conditionals around FREELB, free(NULL) is valid.
 1.14  29-Nov-2005  christos WARNS=4
 1.13  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.11  07-Dec-2001  yamt - make FILE structure extensible without breaking binary-compatibility.
- add fputwc, fgetwc, fwide and related functions.
- add hooks needed to maintain the orientation of file stream.
 1.10  20-Sep-1999  lukem branches: 1.10.10;
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.9  16-Sep-1999  lukem * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
 1.8  15-Nov-1998  christos delint
 1.7  13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
Add prototypes for functions that were declared in more than one place
to local.h or extern.h and use that instead.
 1.6  29-Mar-1996  jtc Add explict function return types
 1.5  02-Feb-1995  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.4  22-May-1994  cgd _VA_LIST_ -> _BSD_VA_LIST_
 1.3  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  02-Feb-1995  jtc imported from 44lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.10.5  02-May-2002  nathanw Call the _unlocked versions of vfprintf() and __svfscanf(); there's no point
in locking and unlocking a FILE object that only exists in the local scope.
This also has the nice side effect of making sprintf() usable for debugging
threaded code.
 1.10.10.4  07-Feb-2002  nathanw Revert previous; this will be done a different way.
 1.10.10.3  07-Feb-2002  nathanw sscanf() and vsscanf() construct private FILE structures; be sure to
initialize the flockfile() locks there, too.
 1.10.10.2  06-Feb-2002  nathanw #include "reentrant.h" before "local.h" so that the thread types used
in fileext.h are avaliable.
 1.10.10.1  28-Jan-2002  nathanw Catch up to -current.
 1.16.2.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.16.2.1  17-Apr-2012  yamt sync with head
 1.19.2.1  23-Jun-2013  tls resync from head

RSS XML Feed