Package: nvi / 1.81.6-15

Metadata

Package Version Patches format
nvi 1.81.6-15 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01additional_upstream_data.patch | (download)

nvi-1.79/FAQ | 160 160 + 0 - 0 !
nvi-1.79/docs/changelog | 1102 1102 + 0 - 0 !
nvi-1.79/docs/tutorial/vi.advanced | 1458 1458 + 0 - 0 !
nvi-1.79/docs/tutorial/vi.beginner | 741 741 + 0 - 0 !
4 files changed, 3461 insertions(+)

 a few documentation files cherry-picked from the last stable
 release tarball, because they are missing in later development
 branch releases.

03db4.patch | (download)

common/msg.c | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

 libdb4 compatibility adjustments.


04confdefs.patch | (download)

build/confdefs.h | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 help configure by decreeing that some headers are present.

06default_value_escapetime.patch | (download)

common/options.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 increase the default 'escapetime' setting to accommodate slow lines.

07flush_cache.patch | (download)

common/db1.c | 12 4 + 8 - 0 !
1 file changed, 4 insertions(+), 8 deletions(-)

 no description.

08lfs.patch | (download)

common/exf.c | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 insert a safety check to save large files from being overwritten.

08safe_printf.patch | (download)

common/exf.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 no description.

08tempfile_umask.patch | (download)

common/exf.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 no description.

09casting.patch | (download)

vi/v_ch.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 no description.

10no_one_line_visual.patch | (download)

vi/vi.c | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 catch segfaults when the screen is only one line high.

11backward_sentence_moving.patch | (download)

vi/v_sentence.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 no description.

12horiz_scroll_count.patch | (download)

vi/vs_refresh.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 no description.

13widechar_horrors.patch | (download)

vi/v_increment.c | 14 11 + 3 - 0 !
vi/vs_msg.c | 4 2 + 2 - 0 !
2 files changed, 13 insertions(+), 5 deletions(-)

 this patch tries to cope with the fact that widechar support
in nvi is at best rudimentary.
Hunk 1)
* Due to "ch = *t", this code is not wide-char aware, so
cast the value to a proper type so the KEY_ macros make
the right choice.
Hunk 2)
* Printing of the in-/decreased number back into the screen
buffer is not widechar-aware, either. Add a dirty fix.
Cf. #497349.


14private_regex_fixes.patch | (download)

regex/regcomp.c | 3 2 + 1 - 0 !
regex/regexec.c | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 fixes to the private regex library; includes fix for #523934.

15search_word.patch | (download)

vi/v_search.c | 7 4 + 3 - 0 !
1 file changed, 4 insertions(+), 3 deletions(-)

 fix {^a} command. (end-of-word was not included in search
regexp leading to false positives.)


16manpage_errors.patch | (download)

docs/vi.man/vi.1 | 236 123 + 113 - 0 !
1 file changed, 123 insertions(+), 113 deletions(-)

 fix a truckload of roff markup glitches.

17tutorial_typos.patch | (download)

nvi-1.79/docs/tutorial/vi.advanced | 6 3 + 3 - 0 !
nvi-1.79/docs/tutorial/vi.beginner | 10 5 + 5 - 0 !
2 files changed, 8 insertions(+), 8 deletions(-)

 fix typos in the nvi tutorial.


18dbpagesize_binpower.patch | (download)

common/exf.c | 9 4 + 5 - 0 !
1 file changed, 4 insertions(+), 5 deletions(-)

 make sure that the pagesize passed to db__set_pagesize() is
a power of two.


19include_term_h.patch | (download)

cl/cl_funcs.c | 1 1 + 0 - 0 !
cl/cl_screen.c | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 add <term.h> to the include list to suppress a few warnings.

20glibc_has_grantpt.patch | (download)

ex/ex_script.c | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 glibc has grantpt(), so only hceck for have_sys5_pty
 on non-glibc installations.

21exrc_writability_check.patch | (download)

ex/ex_init.c | 28 27 + 1 - 0 !
1 file changed, 27 insertions(+), 1 deletion(-)

 no description.

23debian_alternatives.patch | (download)

common/gs.c | 18 18 + 0 - 0 !
1 file changed, 18 insertions(+)

 adapt the internal program name if nvi was called via one of
 the Debian alternative symlinks.

24fallback_to_dumb_term.patch | (download)

cl/cl_main.c | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 if there's no $term around, just fall back to "dumb".

25manpage_note_dropped_F.patch | (download)

docs/vi.man/vi.1 | 14 6 + 8 - 0 !
1 file changed, 6 insertions(+), 8 deletions(-)

 replace the manpage paragraph about the '-f' commandline option
 with a notice that is has been dropped.


26trailing_tab_segv.patch | (download)

vi/vs_relative.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 prevent a segfault if a trailing tab is pushed to a new line by inserting
characters before it if 'set number' is in effect.


27support_C_locale.patch | (download)

common/conv.c | 15 10 + 5 - 0 !
1 file changed, 10 insertions(+), 5 deletions(-)

 allow users to edit 8-bit files even under lc_ctype=c.


29file_backup.patch | (download)

common/exf.c | 11 8 + 3 - 0 !
1 file changed, 8 insertions(+), 3 deletions(-)

 save the intermediate char2int conversion pointer because
 that pointer is reused by later conversions in calls below.


30make_recover_script_init_ready.patch | (download)

dist/recover.in | 35 29 + 6 - 0 !
1 file changed, 29 insertions(+), 6 deletions(-)

 changes recover script so it can be run by init
This was mostly just merging code from the previous init script
31regex_heap_overflow.patch | (download)

regex/regcomp.c | 17 17 + 0 - 0 !
1 file changed, 17 insertions(+)

 disallow an excessively large pattern space
 Apply heap overflow vulnerability patch to bundled regex library.
 Unfortunately nvi uses the BSD-specific REG_NOSPEC flag, so we can't easily
 switch to the system library.