another ovdb patch for 2.3
Heath Kehoe
heath.kehoe at intermec.com
Thu Apr 13 19:20:14 UTC 2000
Whoops.. *blush*
I wonder why that didn't blow up on my system.... oh well. Of
course, if it had, I'd have caught it.
-h
>Kenichi Okada <okada at opaopa.org> writes:
>
>> I use inn-BETA-20000413. ovdb_recover don't work correctly.
>
>> % ovdb_recover
>> Segmentation fault
>
>> 52 if(!strcmp(argv[1], "-f")) -----------------***
>> 53 ret = DB_RUNRECOVERY;
>> 54 else
>> 55 ret = ovdb_open_berkeleydb(OV_WRITE, 0);
>> 56
>
>Thanks, I've committed this patch:
>
>--- ovdb_recover.c 2000/04/12 03:31:47 1.2
>+++ ovdb_recover.c 2000/04/13 19:06:59
>@@ -49,7 +49,7 @@
> if(ret)
> exit(1);
> } else {
>- if(!strcmp(argv[1], "-f"))
>+ if(argc > 1 && !strcmp(argv[1], "-f"))
> ret = DB_RUNRECOVERY;
> else
> ret = ovdb_open_berkeleydb(OV_WRITE, 0);
>
>--
>Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
>
>
>
More information about the inn-workers
mailing list