revert maintainer to ports@ from heko@, and plug a couple of off-by-ones
in environment parsing code
This commit is contained in:
parent
05b8a6f6d4
commit
47b26d3b14
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2002/10/30 00:35:33 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2003/06/17 00:35:32 avsm Exp $
|
||||
|
||||
COMMENT= "Berkeley DB package, revision 3"
|
||||
|
||||
@ -11,8 +11,6 @@ MASTER_SITES= ${HOMEPAGE}/update/snapshot/
|
||||
|
||||
TCL_VERSION= 8.3
|
||||
|
||||
MAINTAINER= Heikki Korpela <heko@openbsd.org>
|
||||
|
||||
# License: BSD+SleepyCat's additions.
|
||||
# Must purchase license to redistribute if not distributing the source.
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
21
databases/db/patches/patch-env_env_open_c
Normal file
21
databases/db/patches/patch-env_env_open_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-env_env_open_c,v 1.1 2003/06/17 00:35:32 avsm Exp $
|
||||
--- env/env_open.c.orig Tue Jun 17 01:25:53 2003
|
||||
+++ env/env_open.c Tue Jun 17 01:26:27 2003
|
||||
@@ -784,7 +784,7 @@ illegal: __db_err(dbenv, "mis-formatted
|
||||
return (dbenv->set_lg_dir(dbenv, value));
|
||||
|
||||
if (!strcasecmp(name, "set_lk_detect")) {
|
||||
- if (sscanf(value, "%40s %c", arg, &v4) != 1)
|
||||
+ if (sscanf(value, "%39s %c", arg, &v4) != 1)
|
||||
goto badarg;
|
||||
if (!strcasecmp(value, "db_lock_default"))
|
||||
flags = DB_LOCK_DEFAULT;
|
||||
@@ -840,7 +840,7 @@ illegal: __db_err(dbenv, "mis-formatted
|
||||
}
|
||||
|
||||
if (!strcasecmp(name, "set_verbose")) {
|
||||
- if (sscanf(value, "%40s %c", arg, &v4) != 1)
|
||||
+ if (sscanf(value, "%39s %c", arg, &v4) != 1)
|
||||
goto badarg;
|
||||
|
||||
if (!strcasecmp(value, "db_verb_chkpoint"))
|
Loading…
Reference in New Issue
Block a user