diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-15 05:11:26 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-15 05:11:26 +0000 |
commit | 3941e90b879e925d0fef8f0733e1d9c2e1861db5 (patch) | |
tree | 82b3c2fe01e0932c532b9e2a3f038a110315707d /lib/libc/db/recno | |
parent | 0584840a66631455c4c44387526ce706056faee0 (diff) |
o Minor changes from db.1.86 (sleepycat). Does not include the new hash
routines since they cannot read a hashed .db file from the old code.
Most of these files just have their RCS/SCCS tags standardized.
Note that mpool.3 has not been updated to reflect the new mpool interface.
o Add a real dbm(3) manpage
Diffstat (limited to 'lib/libc/db/recno')
-rw-r--r-- | lib/libc/db/recno/extern.h | 4 | ||||
-rw-r--r-- | lib/libc/db/recno/rec_close.c | 10 | ||||
-rw-r--r-- | lib/libc/db/recno/rec_delete.c | 8 | ||||
-rw-r--r-- | lib/libc/db/recno/rec_get.c | 8 | ||||
-rw-r--r-- | lib/libc/db/recno/rec_open.c | 8 | ||||
-rw-r--r-- | lib/libc/db/recno/rec_put.c | 8 | ||||
-rw-r--r-- | lib/libc/db/recno/rec_search.c | 8 | ||||
-rw-r--r-- | lib/libc/db/recno/rec_seq.c | 8 | ||||
-rw-r--r-- | lib/libc/db/recno/recno.h | 4 |
9 files changed, 56 insertions, 10 deletions
diff --git a/lib/libc/db/recno/extern.h b/lib/libc/db/recno/extern.h index 295308286df..8860878e2bd 100644 --- a/lib/libc/db/recno/extern.h +++ b/lib/libc/db/recno/extern.h @@ -1,3 +1,5 @@ +/* $OpenBSD: extern.h,v 1.4 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. @@ -30,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: extern.h,v 1.3 1996/08/19 08:20:56 tholo Exp $ + * @(#)extern.h 8.3 (Berkeley) 6/4/94 */ #include "../btree/extern.h" diff --git a/lib/libc/db/recno/rec_close.c b/lib/libc/db/recno/rec_close.c index 88aea2e7583..c621e038b50 100644 --- a/lib/libc/db/recno/rec_close.c +++ b/lib/libc/db/recno/rec_close.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rec_close.c,v 1.6 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -32,7 +34,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: rec_close.c,v 1.5 1998/03/19 00:29:58 millert Exp $"; +#if 0 +static char sccsid[] = "@(#)rec_close.c 8.6 (Berkeley) 8/18/94"; +#else +static char rcsid[] = "$OpenBSD: rec_close.c,v 1.6 1999/02/15 05:11:25 millert Exp $"; +#endif #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -155,7 +161,7 @@ __rec_sync(dbp, flags) status = (dbp->seq)(dbp, &key, &data, R_NEXT); } } else { - iov[1].iov_base = (char *) &t->bt_bval; + iov[1].iov_base = (void *) &t->bt_bval; iov[1].iov_len = 1; status = (dbp->seq)(dbp, &key, &data, R_FIRST); diff --git a/lib/libc/db/recno/rec_delete.c b/lib/libc/db/recno/rec_delete.c index f90c328ea11..a331b5e427f 100644 --- a/lib/libc/db/recno/rec_delete.c +++ b/lib/libc/db/recno/rec_delete.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rec_delete.c,v 1.4 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -35,7 +37,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: rec_delete.c,v 1.3 1996/08/19 08:21:00 tholo Exp $"; +#if 0 +static char sccsid[] = "@(#)rec_delete.c 8.7 (Berkeley) 7/14/94"; +#else +static char rcsid[] = "$OpenBSD: rec_delete.c,v 1.4 1999/02/15 05:11:25 millert Exp $"; +#endif #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> diff --git a/lib/libc/db/recno/rec_get.c b/lib/libc/db/recno/rec_get.c index d043174a174..a5c61de4b1d 100644 --- a/lib/libc/db/recno/rec_get.c +++ b/lib/libc/db/recno/rec_get.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rec_get.c,v 1.5 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -32,7 +34,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: rec_get.c,v 1.4 1998/08/14 21:39:20 deraadt Exp $"; +#if 0 +static char sccsid[] = "@(#)rec_get.c 8.9 (Berkeley) 8/18/94"; +#else +static char rcsid[] = "$OpenBSD: rec_get.c,v 1.5 1999/02/15 05:11:25 millert Exp $"; +#endif #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> diff --git a/lib/libc/db/recno/rec_open.c b/lib/libc/db/recno/rec_open.c index b29adb671e1..500e4b41003 100644 --- a/lib/libc/db/recno/rec_open.c +++ b/lib/libc/db/recno/rec_open.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rec_open.c,v 1.5 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -35,7 +37,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: rec_open.c,v 1.4 1997/07/23 21:00:29 kstailey Exp $"; +#if 0 +static char sccsid[] = "@(#)rec_open.c 8.10 (Berkeley) 9/1/94"; +#else +static char rcsid[] = "$OpenBSD: rec_open.c,v 1.5 1999/02/15 05:11:25 millert Exp $"; +#endif #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> diff --git a/lib/libc/db/recno/rec_put.c b/lib/libc/db/recno/rec_put.c index 1cb617b46cc..9db96f208fd 100644 --- a/lib/libc/db/recno/rec_put.c +++ b/lib/libc/db/recno/rec_put.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rec_put.c,v 1.5 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -32,7 +34,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: rec_put.c,v 1.4 1998/08/14 21:39:21 deraadt Exp $"; +#if 0 +static char sccsid[] = "@(#)rec_put.c 8.7 (Berkeley) 8/18/94"; +#else +static char rcsid[] = "$OpenBSD: rec_put.c,v 1.5 1999/02/15 05:11:25 millert Exp $"; +#endif #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> diff --git a/lib/libc/db/recno/rec_search.c b/lib/libc/db/recno/rec_search.c index d554bb673a6..aac2643209b 100644 --- a/lib/libc/db/recno/rec_search.c +++ b/lib/libc/db/recno/rec_search.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rec_search.c,v 1.5 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -32,7 +34,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: rec_search.c,v 1.4 1997/07/23 21:00:30 kstailey Exp $"; +#if 0 +static char sccsid[] = "@(#)rec_search.c 8.4 (Berkeley) 7/14/94"; +#else +static char rcsid[] = "$OpenBSD: rec_search.c,v 1.5 1999/02/15 05:11:25 millert Exp $"; +#endif #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> diff --git a/lib/libc/db/recno/rec_seq.c b/lib/libc/db/recno/rec_seq.c index 2caaafa67ee..b1d1ed73fb9 100644 --- a/lib/libc/db/recno/rec_seq.c +++ b/lib/libc/db/recno/rec_seq.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rec_seq.c,v 1.4 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1991, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -32,7 +34,11 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: rec_seq.c,v 1.3 1996/08/19 08:21:10 tholo Exp $"; +#if 0 +static char sccsid[] = "@(#)rec_utils.c 8.6 (Berkeley) 7/16/94"; +#else +static char rcsid[] = "$OpenBSD: rec_seq.c,v 1.4 1999/02/15 05:11:25 millert Exp $"; +#endif #endif /* not lint */ #include <sys/types.h> diff --git a/lib/libc/db/recno/recno.h b/lib/libc/db/recno/recno.h index e12c26ee39f..c656d7b3508 100644 --- a/lib/libc/db/recno/recno.h +++ b/lib/libc/db/recno/recno.h @@ -1,3 +1,5 @@ +/* $OpenBSD: recno.h,v 1.4 1999/02/15 05:11:25 millert Exp $ */ + /*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. @@ -30,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: recno.h,v 1.3 1996/08/19 08:21:13 tholo Exp $ + * @(#)recno.h 8.1 (Berkeley) 6/4/93 */ enum SRCHOP { SDELETE, SINSERT, SEARCH}; /* Rec_search operation. */ |