Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-12 | remove superfluous "usage:" from v_estr(). | Igor Sobrado | |
ok millert@ | |||
2008-03-28 | - minor ansification | Jasper Lievisse Adriaanse | |
from Gleydson Soares ok otto@ | |||
2008-03-08 | avoid inifite recursion on certain error conditions; from netbsd; | Otto Moerbeek | |
ok millert@ | |||
2008-03-08 | fix vs_columns() for the "set nu" case. avoids segfaults for very long | Otto Moerbeek | |
lines containing tabs; from Nathan Houghton; ok millert@ | |||
2008-03-04 | fix ifdef DEBUG code; ok krw@ deraadt@ | Otto Moerbeek | |
2007-11-24 | some spelling fixes from Martynas Venckus | Jason McIntyre | |
2007-10-17 | remove "unused variable" warnings | Charles Longeau | |
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@ | |||
2007-09-14 | remove some warnings: | Charles Longeau | |
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@ | |||
2007-09-11 | use strcspn to properly overwrite '\n' in fgets returned buffer | Gilles Chehade | |
ok pyr@, ray@, millert@, moritz@, chl@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-07-26 | Add the correct file descriptor to rdfd when cycling through | Todd C. Miller | |
the list of scripting windows. Appears to be a cut and paste error. OK deraadt@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-30 | - use a consistent text for STANDARDS | Jason McIntyre | |
- note which options are extensions to POSIX | |||
2007-05-14 | use sys/queue macros instead of accessing fields directly. | Pierre-Yves Ritschard | |
no binary change. ok krw@ | |||
2007-03-27 | Catch OOB access for tag searches mathching lines ending with \ | Otto Moerbeek | |
From patrick keshishian with a twist by me. ok thib@ | |||
2007-03-20 | remove some bogus *p tests from charles longeau | Ted Unangst | |
ok deraadt millert | |||
2006-12-21 | Fix !command piping by Alexander Bluhm in PR 5325. Tested by quite a | Otto Moerbeek | |
few on tech@. | |||
2006-12-11 | rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from ↵ | Theo de Raadt | |
Tamas TEVESZ; ok millert | |||
2006-07-07 | Don't add space for line numbers twice. | Ray Lai | |
OK otto@ | |||
2006-06-18 | Fix memleak; From Coverity Scan, CID 3135. | Jasper Lievisse Adriaanse | |
From simonb NetBSD ok naddy@, otto@ | |||
2006-05-30 | avoid double fclose(), from coverity/NetBSD; ok otto | Peter Valchev | |
2006-05-21 | Backport fix from nvi 1.81.5: do not go into loop if :set number and | Otto Moerbeek | |
:set leftright and the cursor moves to an empty line; PR 3154; ok beck@ | |||
2006-04-28 | ensure NUL termination after read(); ok ray | Jared Yanovich | |
2006-04-22 | Removes unused variables and rename variables shadowing external | Ray Lai | |
variables. No binary change. Found by lint. OK otto@ and jaredy@ | |||
2006-03-20 | if we're in visual mode reading a command, check the termination value | Peter Valchev | |
of v_tcmd() and bail if it's not TERM_OK as opposed to in a more specific case. this is based on the NetBSD ^C fix but after discussion with otto@. while it did not affect the specific crash it is more correct. | |||
2006-03-15 | Handle ^C correctly, morph it to escape key so the input | Peter Valchev | |
is correctly finished for a potential replay; if not, simply bail out and notify that something wrong occurs. Callers will cope. Consistent with what vim and Solaris vi do. Fixes a crash described in NetBSD PR11544, fixed by aymeric ok otto ray | |||
2006-03-11 | Fixes the `optindx' might be used uninitialized in this function | Ray Lai | |
warning, fixes a spacing nit in a macro, and cleans up a very bad preprocessor abuse (``if LF_ISSET(OS_DEF)''!) optindx turns out to be the index number of the gigantic option list at the beginning of the file. All we need to do is set it before every ``goto err''. The first four are global options, which you can just set optindx to the second argument of o_set(). The last one is in a loop that uses cnt as the index. Since that is cnt's only use, I just removed cnt and used optindx instead. optindx is always updated and we use one less variable. ok miod, otto | |||
2006-03-11 | Silence 2 warnings. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Silence 39 warnings. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Silence uninitialized variable warning. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Make FLUSH macro more function-like, so there are no hidden surprises. | Ray Lai | |
No binary change. ok miod, otto | |||
2006-03-11 | Initialize p to NULL to prevent gcc warning. | Ray Lai | |
Clarify a for statement. ok miod, otto | |||
2006-03-04 | the the | Miod Vallat | |
2006-02-17 | Fix use after free. Problem hunted down by wilfried@; ok fgsch@ | Otto Moerbeek | |
millert@ | |||
2006-01-08 | Remove unused NADD_USLONG macro, and remove unused sp argument from NADD_SLONG; | Miod Vallat | |
no functional change. From Ray Lai. | |||
2006-01-08 | Fix one more uninitialized variable scenario; from Ray Lai. | Miod Vallat | |
2006-01-08 | Make sure we can exit from a loop in v_key_init() regardless of the locale | Miod Vallat | |
we're in; from Ray Lai. | |||
2006-01-08 | Appease gcc 3 and the C gods by fixing a couple of undefined statements; | Miod Vallat | |
from Ray Lai. | |||
2006-01-08 | Explicit braces around macro fields and logical operations, gets rid of 148 | Miod Vallat | |
warnings, no functional change. From Ray Lai. | |||
2005-10-17 | Use queue macros instead of directly accessing fields. ok pat@ "put it | Otto Moerbeek | |
in" deraadt@ | |||
2005-04-21 | spelling typo in comment; | Jason McIntyre | |
from ray; | |||
2005-04-21 | Avoid the "tcsetattr: Interrupted system call" fatal error when | Otto Moerbeek | |
resizing using a window manager that continously sends resize events. ok camield@ miod@ | |||
2005-03-10 | -v description comes before -w; | Jason McIntyre | |
also a sentence tweak; | |||
2005-01-09 | tidy up FAST STARTUP; | Jason McIntyre | |
2005-01-09 | better example; | Jason McIntyre | |
2005-01-09 | better section reference; | Jason McIntyre | |
2005-01-08 | Fix for FreeBSD PR#12801 from Sven Verdoolaege (nvi maintainer) via FreeBSD | Peter Valchev | |
(an infinite loop at certain case when options "comment" and "leftright" are used) | |||
2005-01-08 | Move a line of code which was "obviously" misplaced. | Peter Valchev | |
This fixes a core dump when auto-completing filenames and at least one of the file names is larger than the screen width. from NetBSD PR and fix by Peter Bex in PR#28382 | |||
2005-01-08 | When an error occurs in v_txt(), leave input mode too. | Peter Valchev | |
Otherwise, (among other things) db_get() thinks it can re-use the TEXT buffers when it's not true, leading to a crash because that TEXT buffer will be released just before it is actually used to create a new one. From NetBSD, fixes NetBSD PR#21797. | |||
2005-01-08 | move the license into the body of the man page; | Jason McIntyre | |
ok millert@ |