Commit Graph

14 Commits

Author SHA1 Message Date
kleink 9eb0e33ef6 Change the file mode argument to dbm_open() from int to mode_t. 1998-05-07 19:11:14 +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
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
jtc 135c9d2460 Rename the errno field in struct htab to err, as the former name
conflicts with a macro implementation of errno.h's errno.
1996-11-07 06:48:01 +00:00
cgd e4cf519e27 fix a bug that shows up only on alphas: ndbm "datum" variables can't be
cast to DBTs, because the 'size' fields are int and size_t,
respectively, and that means that the DBT size field would be
partially filled with garbage on the Alpha.  Bug fix sent to bostic.
1996-05-04 00:38:58 +00:00
cgd 738330da77 merge DB 1.85 changes 1996-05-03 21:38:43 +00:00
cgd 402f19d1dd add unintrusive Ids 1995-02-27 13:21:44 +00:00
cgd a6d14e368c clean up import 1994-08-18 00:38:04 +00:00
cgd 65aeeefb0a version 1.71 of new db code 1993-09-17 01:06:18 +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
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
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00