8eb269448b
regen patches for v3 while here
22 lines
802 B
Plaintext
22 lines
802 B
Plaintext
$OpenBSD: patch-env_env_open_c,v 1.2 2010/10/28 10:33:16 steven Exp $
|
|
--- env/env_open.c.orig Fri Jun 30 15:34:54 2000
|
|
+++ env/env_open.c Thu Oct 28 12:28:52 2010
|
|
@@ -784,7 +784,7 @@ illegal: __db_err(dbenv, "mis-formatted name-value pai
|
|
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 name-value pai
|
|
}
|
|
|
|
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"))
|