Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/bsd/nvi

In article <>,
matthew green  <> wrote:
>> Module Name: src
>> Committed By:        christos
>> Date:                Fri Nov 29 22:56:19 UTC 2013
>> Modified Files:
>>      src/external/bsd/nvi/dist/common: dbinternal.h vi_db.c vi_db.h
>>      src/external/bsd/nvi/usr.bin/nvi: Makefile config.h port.h
>> Added Files:
>>      src/external/bsd/nvi/dist/common: db1.c
>> Log Message:
>> Bring back the compatibility db3->db1 code from the old vi.
>> This is selected with -DUSE_DB1 in the Makefile. By default
>> use use the db1 specific code from the current nvi which is
>> enabled using -DUSE_BUNDLED_DB. Unfortunately recovery seems
>> to be broken for both.
>*please* either convert to use our working libc db1 or fix
>the others db1.  mycroft spent a while fixing our long ago
>and i've been carrying around a hacked together to compile
>copy of our nvi with our db1 for linux binary for ages, i'd
>really like to recompile for use on linux...
>without these fixes, multi-view mode on one file (:E) is 
>completely broken and crashes.

Both are using our db1. The difference is:

-DUSE_DB1        use the emulation code the previous vi used
                 (this is not the default)
-DUSE_BUNDLED_DV use the new vi API that is db neutral (this is
                 the default)

There is no separate copy of the db code.

I can't get the crash you are describing to happen. Can you tell
me how to reproduce it?


Home | Main Index | Thread Index | Old Index