Debian Patches

Status for elvis-tiny/1.4-24.2

Patch Description Author Forwarded Bugs Origin Last update
makefile.patch no
argsize.patch diff '--exclude=debian' -ruN x/elvis-tiny-1.4.orig/main.c elvis-tiny-1.4/main.c no
failsleep.patch diff '--exclude=debian' -ruN x/elvis-tiny-1.4.orig/tmp.c elvis-tiny-1.4/tmp.c no
filesize.patch diff '--exclude=debian' -ruN x/elvis-tiny-1.4.orig/cmd2.c elvis-tiny-1.4/cmd2.c no
redraw.patch diff '--exclude=debian' -ruN x/elvis-tiny-1.4.orig/redraw.c elvis-tiny-1.4/redraw.c no
termios.patch diff '--exclude=debian' -ruN x/elvis-tiny-1.4.orig/curses.c elvis-tiny-1.4/curses.c no
patch-tempfile.diff Bug#74976: elvis-tiny: temporary file problems

Elvis-tiny (probably full elvis also) has serious problems with temporary
file use. Those files are created with a predictable pattern and O_EXCL
flag is not used when opening. This makes elvis users vulnerable to race
conditions and/or data lossage.

=======================================================================

Topi included a patch to fix these problems, but the patch itself
was broken in 2 ways:

1. Recovery of lost files didn't work anymore
2. :w to an existing file broke.

The patch below by Miquel van Smoorenburg, based on Topi's bugreport
and patch, should fix the bug without any side effects.
Topi Miettinen <Topi.Miettinen@nic.fi> no 2000-10-17
warnings.patch diff -ruN elvis-tiny-1.4.orig/main.c elvis-tiny-1.4.test2/main.c no
patch-substitute-fails.diff elvis-tiny
I have a few fixes for elvis-tiny, one for bug #55407 (vi segfaults)
and one for bug #73059 (substitute & fails on third substitution).

I've included them in the text below. They're two separate patches;
so cut them out into two files.

I don't know if I qualify as "maintainer" but I'll see if I can keep
fixing and learning as time goes on.
"David Douthitt" <ssrat@mailbag.com> no 2000-12-13
patch-range-segfault.diff elvis-tiny
I have a few fixes for elvis-tiny, one for bug #55407 (vi segfaults)
and one for bug #73059 (substitute & fails on third substitution).

I've included them in the text below. They're two separate patches;
so cut them out into two files.

I don't know if I qualify as "maintainer" but I'll see if I can keep
fixing and learning as time goes on.
"David Douthitt" <ssrat@mailbag.com> no 2000-12-13
patch-bug-258640.diff no
patch-siglongjmp.diff setjmp/longjmp are used to jump out of signal handlers. That
causes weirdness. Use sigsetjmp/siglongjmp.

diff -ruN t/elvis-tiny-1.4/main.c elvis-tiny-1.4/main.c
no
patch-fix-resize.diff * Use sigaction() instead of signal() for SIGWINCH, and do not set SA_RESTART.
This way read() will return -1/EINTR and elvis will resize the screen.
* Include <sys/ioctl.h> for TIOCGWINSZ

diff -ruN t/elvis-tiny-1.4/curses.c elvis-tiny-1.4/curses.c
no
strip-build-date-to-enable-reproducible-.patch Strip build date to enable reproducible building
(Closes: #829755)

If DATE is not defined, the C file doesn't embed it, so no change is
required there.
Reiner Herrmann <reiner@reiner-h.de> no 2016-07-05

All known versions for source package 'elvis-tiny'

Links