History log of /src/lib/libc/stdio/findfp.c |
Revision | | Date | Author | Comments |
1.28 |
| 27-Mar-2012 |
christos | - 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.27 |
| 15-Mar-2012 |
christos | - ansify, knf. - no functional changes
|
1.26 |
| 22-Jan-2012 |
christos | From tnozaki@: make fpos_t a complex object that keeps track of the parse state of the stream. Change argument of the seek function to funopen() from fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing backwards compatible entry points. Approved by releng@
|
1.25 |
| 06-Sep-2010 |
christos | branches: 1.25.6; add dprintf and vdprintf
|
1.24 |
| 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.23 |
| 07-Oct-2006 |
thorpej | Grr, adjust last so that it works with our busted lint(1).
|
1.22 |
| 07-Oct-2006 |
thorpej | Use explicit initializers in STDEXT
|
1.21 |
| 04-Oct-2006 |
tnozaki | fix gcc -Werror -Wmissing-braces problem mbstate_t(this is opaque object)'s initializer should be ``{ 0 }'', so changed 1st field of union from character array to integer.
|
1.20 |
| 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.19 |
| 18-Jul-2003 |
nathanw | Add fields to struct __sfileext to track how many times the lock has been taken by internal stdio functions, and what the cancellation state was when the first such lock was taken.
|
1.18 |
| 01-Feb-2003 |
nathanw | Revert the conversion to libpthread's recursive mutexes. Too much trouble is caused by the memory allocation in the mutex initialization, and uncontested mutexes and condition variables have become faster in the meantime.
|
1.17 |
| 21-Jan-2003 |
nathanw | Use recursive mutexes from libpthread rather than implementing our own with normal mutexes and condition variables.
|
1.16 |
| 18-Jan-2003 |
thorpej | Merge the nathanw_sa branch.
|
1.15 |
| 12-Mar-2002 |
christos | fully initialize the structure to avoid gcc complaints.
|
1.14 |
| 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.13 |
| 21-Jan-2000 |
mycroft | branches: 1.13.6; Just call fflush() from _cleanup(), since it does the right locking.
|
1.12 |
| 15-Nov-1998 |
christos | delint
|
1.11 |
| 18-Oct-1998 |
kleink | Replace use of getdtablesize() with (the non-deprecated) sysconf(), hence no need for an internal name for the former any more; suggested by Matthew Green.
|
1.10 |
| 16-Oct-1998 |
kleink | Need "namespace.h" for getdtablesize().
|
1.9 |
| 03-Feb-1998 |
perry | remove obsolete register declarations
|
1.8 |
| 22-Jan-1998 |
jtc | Use rwlocks as appropriate.
|
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 |
| 02-Feb-1995 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
1.5 |
| 08-Dec-1994 |
cgd | fix pr 594, pointed out by Chuck Silvers. fix taken from 4.4-Lite, rather than his patch. (functionally identical, though...)
|
1.4 |
| 31-Dec-1993 |
jtc | Add explicit return types to function definitions.
|
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.13.6.7 |
| 22-Mar-2002 |
nathanw | Catch up to -current.
|
1.13.6.6 |
| 13-Mar-2002 |
nathanw | Add a non-_REENTRANT case for __sFext.
|
1.13.6.5 |
| 12-Mar-2002 |
nathanw | "More braces make things better". Fix the initialization of the struct wchar_io_data in struct __sfileext in the declaration of __sFext[3] to not emit warnings.
Problem noted by Gregory McGarry and Nick Hudson, and ignored by me for far too long because I accidentally had warnings turned off in my libc tree.
|
1.13.6.4 |
| 07-Feb-2002 |
nathanw | Remove lock initialization; this is done differently now.
|
1.13.6.3 |
| 06-Feb-2002 |
nathanw | Initialize the struct __sfileext's (both the 3 statically created ones, and the ones initialized in __sfp()).
|
1.13.6.2 |
| 28-Jan-2002 |
nathanw | Catch up to -current.
|
1.13.6.1 |
| 08-Aug-2001 |
nathanw | _REENT -> _REENTRANT
|
1.25.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|