Home | History | Annotate | Download | only in stdio
History log of /src/lib/libc/stdio/fseek.c
RevisionDateAuthorComments
 1.24  16-Nov-2014  christos Don't try to extend the offset range on 32 bit machines by treating negative
offsets as positive. It is just confusing.
 1.23  29-Apr-2008  martin branches: 1.23.8;
Convert to new 2 clause license
 1.22  26-Jan-2006  kleink branches: 1.22.18;
Must include "namespace.h" for fseeko()'s internal name.
 1.21  04-Mar-2005  dsl branches: 1.21.2;
Re-implement in terms of fseek0()
 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-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.18  20-Sep-1999  lukem branches: 1.18.10;
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.17  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.16  15-Nov-1998  christos delint
 1.15  06-Sep-1998  kleink Sloppy stdio stream lock tracking.
 1.14  03-Feb-1998  perry remove obsolete register declarations
 1.13  03-Feb-1998  mycroft Deal with GCC warning.
 1.12  19-Jan-1998  jtc Use FLOCKFILE() and FUNLOCKFILE() macros from reentrant.h so that stdio
can be made thread-safe.
 1.11  19-Dec-1997  kleink Change several functions to return -1 instead of EOF, which was semantically
wrong.
 1.10  19-Oct-1997  mycroft Use S_IS*(), not S_IF*.
 1.9  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.8  05-Mar-1995  jtc flush so that the offset will be correct on streams opened in
append mode (from chris torek).
 1.7  02-Feb-1995  jtc branches: 1.7.2;
Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.6  04-Jan-1994  cgd rename fgetline()
 1.5  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.4  02-Aug-1993  mycroft Nuke remaining patchkit headers.
 1.3  01-Aug-1993  mycroft Add RCS identifiers.
 1.2  21-Mar-1993  cgd after 0.2.2 "stable" patches applied
 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.7.2.1  02-Mar-1995  jtc #include "namespace.h"
 1.18.10.1  06-Feb-2002  nathanw #include "reentrant.h" before "local.h" so that the thread types used
in fileext.h are avaliable.
 1.21.2.1  28-Jan-2006  tron Pull up following revision(s) (requested by kleink in ticket #1140):
lib/libc/stdio/fseek.c: revision 1.22
Must include "namespace.h" for fseeko()'s internal name.
 1.22.18.1  18-May-2008  yamt sync with head.
 1.23.8.2  29-Apr-2008  martin Convert to new 2 clause license
 1.23.8.1  29-Apr-2008  martin file fseek.c was added on branch christos-time_t on 2008-04-29 06:53:02 +0000

RSS XML Feed