History log of /src/lib/libc/stdio/fseeko.c |
Revision | | Date | Author | Comments |
1.14 |
| 10-Jan-2017 |
christos | add linted comment
|
1.13 |
| 19-Oct-2014 |
justin | branches: 1.13.2; Add negative offset checks to fseeko
These were not strictly needed before, as lseek would error on negative arguments, but having added open_memstream we have a virtual file pointer that assumes that it gets sane values, so we get an assertion triggered on a negative value. Best to check in one place rather than at all the relevant points.
|
1.12 |
| 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.11 |
| 15-Mar-2012 |
christos | - ansify, knf. - no functional changes
|
1.10 |
| 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.9 |
| 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.8 |
| 31-Jan-2009 |
lukem | branches: 1.8.8; sign-compare fix
|
1.7 |
| 13-Mar-2008 |
christos | Since _file is a short, check that the fd fits in it, otherwise bail with EMFILE. We treat _file as an unsigned short to double our range, with a special case for -1 (closed). Make a note of what we should do about stdio if we ever bump libc. We could change _file in the future compatibly to an int by putting it in the extension space but for now we don't bother.
|
1.6 |
| 18-Dec-2006 |
christos | branches: 1.6.4; 1.6.8; remove bogus (void)&var; From Anon Ymous
|
1.5 |
| 04-Mar-2005 |
dsl | de __P
|
1.4 |
| 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.3 |
| 18-Jan-2003 |
thorpej | Merge the nathanw_sa branch.
|
1.2 |
| 26-Jul-2000 |
kleink | branches: 1.2.2; Oops, forgot to define weak aliases for public names. Fixes PR {pkg,lib}/10655.
|
1.1 |
| 08-Jul-2000 |
kleink | XCU5: Add fseeko() and ftello() functions which provide the functionality of fseek() and ftell(), respectively, but operate on file offsets of type off_t.
|
1.2.2.1 |
| 06-Feb-2002 |
nathanw | #include "reentrant.h" before "local.h" so that the thread types used in fileext.h are avaliable.
|
1.6.8.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.6.4.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.8.8.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.13.2.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|