SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
databases/db/v3/patches/patch-env_env_open_c
Normal file
20
databases/db/v3/patches/patch-env_env_open_c
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- 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"))
|
Loading…
Add table
Add a link
Reference in a new issue