Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/gen/getmntinfo.c
RevisionDateAuthorComments
 1.17  20-Mar-2012  matt Use C89 definitions.
Remove use of __P
 1.16  13-Sep-2005  christos branches: 1.16.44;
compat core reorg.
 1.15  12-Apr-2005  drochner getmntinfo() if a compatibility function, so there is no point in hiding
references to the compatibility getfsstat()
The real problem behind PR lib/29919 was a stale weak_alias, so back out
the workaround.
 1.14  07-Apr-2005  christos PR/29919: Evaldo Gardenali: getmntinfo() calling deprecated function getfsstat()
Fixed by defining an _getfsstat() internal function and calling that instead.
 1.13  21-Apr-2004  christos branches: 1.13.2;
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
 1.12  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.11  22-Jan-2000  mycroft Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
 1.10  20-Sep-1999  lukem 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  26-Feb-1998  perry trivial changes to reduce lint complaints
 1.7  21-Jul-1997  jtc If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
 1.6  13-Jul-1997  christos Fix RCSID's
 1.5  27-Feb-1995  cgd branches: 1.5.4;
update from Lite, with local changes. fix Ids, etc.
 1.4  12-Jun-1994  cgd fix up includes for new FS code
 1.3  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2  30-Jul-1993  mycroft Add even more RCS frobs.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  25-Feb-1995  cgd from lite, with minor name rearrangement to fit.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.4.1  19-Sep-1996  jtc snapshot namespace cleanup: gen
 1.13.2.2  01-Mar-2006  riz Pull up following revision(s) (requested by drochner in ticket #1187):
lib/libc/sys/statfs.c: revision 1.4
lib/libc/gen/getmntinfo.c: revision 1.15
getmntinfo() if a compatibility function, so there is no point in hiding
references to the compatibility getfsstat()
The real problem behind PR lib/29919 was a stale weak_alias, so back out
the workaround.
 1.13.2.1  08-Apr-2005  tron Pull up revision 1.14 (requested by bouyer in ticket #125):
PR/29919: Evaldo Gardenali: getmntinfo() calling deprecated function getfsstat()
Fixed by defining an _getfsstat() internal function and calling that instead.
 1.16.44.1  17-Apr-2012  yamt sync with head

RSS XML Feed