Home | History | Annotate | Download | only in recno
History log of /src/lib/libc/db/recno/rec_get.c
RevisionDateAuthorComments
 1.18  25-Dec-2013  christos fix bug in previous change (sz should be the size of the newly allocated
buffer).
 1.17  14-Dec-2013  christos It's been many years since realloc(NULL, size) == malloc(size). Also don't
destroy pointers on allocation errors so someone can free them later.
 1.16  11-Sep-2008  joerg branches: 1.16.2; 1.16.6; 1.16.26;
Consistently include "nbtool_config.h" when cross-compiling.
 1.15  10-Sep-2008  joerg In preparation for providing a db fallback in libnbcompat, remove
sccsid and conditionals around __RCSID. lint understands __RCSID enough
to ignore it, undefining LIBC_SCCS is superseded by MKSTRIPIDENT.
No functional changes.
 1.14  26-Aug-2008  joerg Convert db from UCB types to POSIX types. Prefer uint8_t for u_char as
it is mostly about the wire format.

Patched libc.so is bit-identical.

OK matt@
 1.13  03-Feb-2007  christos branches: 1.13.12;
cleanup:
- remove __P
- remove unneeded casts
- add _DIAGASSERT
- add more diagnostics for integer overflow
- fix size_t/int confusion
- make debugging and statistics code compile
 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  30-Sep-2001  aymeric indx_t can be a 16 bit type, and is thus not suited to hold a difference
between two pointers in the general case. Replace it by ptrdiff_t.

-> recno databases can now handle records of more than 64KB
-> nvi can now handle files with lines bigger than 64KB

Problem and fix suggested by FreeBSD PR#9350
 1.10  21-Jul-1997  jtc branches: 1.10.12; 1.10.14;
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.9  13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.8  03-May-1996  cgd branches: 1.8.2;
merge DB 1.85 changes
 1.7  27-Feb-1995  cgd add unintrusive Ids
 1.6  18-Aug-1994  cgd branches: 1.6.2;
clean up import
 1.5  24-Feb-1994  cgd repeat after me: realloc, THEN assign pointer...
 1.4  09-Sep-1993  cgd upgrade new DB code to version 1.7
 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  14-Jun-1993  cgd branches: 1.1.1;
update db code to v1.6 from vangogh, and put it in "db" rather than "DB"
 1.1.1.2  03-May-1996  cgd Import of Berkeley DB version 1.85
 1.1.1.1  17-Aug-1994  cgd update to db 1.79
 1.6.2.2  18-Aug-1994  cgd clean up import
 1.6.2.1  18-Aug-1994  cgd file rec_get.c was added on branch netbsd-1-0 on 1994-08-18 00:42:08 +0000
 1.8.2.1  16-Sep-1996  jtc snapshot namespace cleanup
 1.10.14.1  08-Oct-2001  nathanw Catch up to -current.
 1.10.12.1  27-Oct-2001  he Pull up revision 1.11 (requested by aymeric):
Use a ptrdiff_t instead of an indx_t to hold a difference between
a pair of pointers, since the latter can be a 16 bit data type.
The effects are that recno databases can now handle records larger
than 64KB, and nvi can now handle files with lines longer than
64KB.
 1.13.12.2  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.13.12.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.16.26.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.6.2  11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.16.6.1  11-Sep-2008  joerg file rec_get.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000
 1.16.2.1  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")

RSS XML Feed