Commit Graph

24 Commits

Author SHA1 Message Date
agc eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
thorpej e5538ceafb Fix signed/unsigned comparison warnings. 2002-11-11 20:05:53 +00:00
thorpej e23f3d9104 Fix -Wshadow warnings (gcc 3.1). 2001-12-30 19:26:28 +00:00
lukem 50f5afd52e fix WARNS=2 (-Wshadow) warnings 2001-11-04 13:57:29 +00:00
aymeric b39251c6b2 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
2001-09-30 21:12:00 +00:00
msaitoh f9b799b651 check LIBC_SCCS 2000-09-13 22:32:25 +00:00
christos 61238e7179 delint 1998-12-09 12:42:46 +00:00
thorpej e79648d085 Add some braces to make egcs happy. 1998-08-18 23:50:08 +00:00
kleink 23a9b2c5c9 Change the file mode argument to dbopen() and the db backends from int to
mode_t.
1998-05-07 19:24:20 +00:00
mycroft 4462053ab3 Fill in missing (default) mmap(2) flags. 1998-02-20 09:27:18 +00:00
jtc 43fa6fe319 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>.
1997-07-21 14:06:24 +00:00
christos 00ae392d92 Fix RCSID's
Fix gcc warnings.
1997-07-13 18:51:48 +00:00
cgd 738330da77 merge DB 1.85 changes 1996-05-03 21:38:43 +00:00
cgd 2c84ad3a41 add unintrusive Ids 1995-02-27 13:22:58 +00:00
cgd a6d14e368c clean up import 1994-08-18 00:38:04 +00:00
cgd a2f41483b7 repeat after me: realloc, THEN assign pointer... 1994-02-24 09:03:39 +00:00
cgd bc3e04db85 DTRT when recno db's are extended beyond current end of db 1994-02-21 08:39:53 +00:00
pk 53fa5af0d5 Remove potential spoilsport. 1994-02-17 21:13:26 +00:00
cgd 65aeeefb0a version 1.71 of new db code 1993-09-17 01:06:18 +00:00
cgd 45e27c8018 upgrade new DB code to version 1.7 1993-09-09 02:41:04 +00:00
jtc 9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd 9f0aa214be update db code to v1.6 from vangogh, and put it in "db" rather than "DB" 1993-06-14 23:52:39 +00:00