Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-02-19 | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | Todd C. Miller | |
2002-02-19 | oops, left out ; | Eric Jackson | |
2002-02-18 | format string fixes | Eric Jackson | |
2002-02-17 | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | Todd C. Miller | |
outside the tree) | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2002-01-31 | Bugfix picked up from NetBSD, and checked by pval: | Hugh Graham | |
: date: 2001/10/20 10:04:50; author: aymeric : Fix a cut_line() caller not using the right value for (former) ENTIRE_LINE, : by defining the (newer) CUT_LINE_TO_EOL define in common/cut.h and using it : where due. : Bug reported on current-users by Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp> : diagnosed by Bang Jun-Young <bjy@mogua.org>, : quick-fixed by Robert Elz <kre@munnari.OZ.AU>. | |||
2001-11-19 | kill more registers | Mike Pechkin | |
millert@ ok | |||
2001-11-06 | change a stat() to lstat() | Todd C. Miller | |
2001-11-05 | Add more sanity checks of path data in the vi recovery file; potential ↵ | Todd C. Miller | |
problems pointed out by lumpy@the.whole.net | |||
2001-09-19 | Define ENTIRE_LINE to be -1 instead of 0 because we may want to copy 0 ↵ | Peter Valchev | |
characters, and use ENTIRE_LINE instead of hardcoding 0 in a few places. Fixes a bug when dw on an empty line would delete only the empty line, but copy the next line too. From NetBSD, ok millert | |||
2001-09-19 | Fix a bug where ^@ wouldn't behave as expected when reading an ex | Peter Valchev | |
command from vi. From NetBSD, ok millert | |||
2001-09-17 | make vi exit if it can't create a temp file. From NetBSD, ok millert | Peter Valchev | |
2001-09-15 | Obvious omissions. | Miod Vallat | |
2001-09-11 | locale ru_SU is obsolete, replace with ru_RU | Heikki Korpela | |
mickey@ ok | |||
2001-08-18 | Range check snprintf() return value | Todd C. Miller | |
2001-08-18 | Fix a pasto I made when adding snprintf() return val checks ages ago. | Todd C. Miller | |
2001-07-20 | make this work, after espie changed other mk behaviours | Theo de Raadt | |
2001-07-09 | correct type on last arg to execl(); nordin@cse.ogi.edu | Theo de Raadt | |
2001-06-18 | When creating temp files, use fchmod() to set the perms to be what we | Todd C. Miller | |
expect since the mode mkstemp() uses can be modified by the umask. This fixes a problem where vi would spin trying to create temp files, eating up inodes; reported by xyntrix@bitz.org This fix has the side effect of letting you create files with silly modes (like 0000), but that is probably OK. | |||
2001-05-28 | Behave correctly when displaying an empty screen line when the | Peter Valchev | |
corresponding file line is not empty itself. Avoids coredumps in the ':set list' mode (at least). NetBSD PR 4113; millert@ ok | |||
2001-05-28 | Print SYSERR instead of ERR when recdir does not exist. | Peter Valchev | |
Makes the message more useful for the user; from NetBSD, millert@ ok | |||
2001-01-29 | $OpenBSD$ | Niklas Hallqvist | |
2001-01-17 | Don't dump core when a ``bad address'' error occurs and there is neither | Paul Janzen | |
a file nor a command underlying it. This fixes NetBSD PR 11543; the fix is from Aymeric Vincent <aymeric@netbsd.org>. | |||
2001-01-11 | grep() returns a list of aliases to entries in the original list | Todd C. Miller | |
so modifying them directly results in a munged line in the resulting mail message that gets sent out. Similar to a patch from cazz@wezl.org; closes PR 1617 | |||
2000-11-17 | OpenBSD already has queue.h and this one gets in the way since OpenBSD | Todd C. Miller | |
includes expect macros in sys/queue.h that the vi queue.h didn't have. | |||
2000-11-17 | Userland programs should not include sys/select.h | Todd C. Miller | |
2000-10-22 | Fix noprint/print/octal options; from NetBSD. | Christian Weisgerber | |
reviewed by millert@ | |||
2000-10-12 | When checking mmap return, check for MAP_FAILED, not -1. | Artur Grabowski | |
2000-09-15 | check return value for setenv(3) for failure, and deal appropriately | Theo de Raadt | |
2000-08-02 | $HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zero | Todd C. Miller | |
2000-04-21 | Remove the races so that this is safe to run anytime. We open | Todd C. Miller | |
/var/tmp/vi.recover to get an fd and user O_NOFOLLOW to following a symlink. Once we have a file handle we can use it to safely chdir to the right place and form then on do operations relative to ".". Also restrict to root. | |||
2000-04-20 | If recover dir is not owned by root, chown it. If the mode is not | Todd C. Miller | |
01777, fix that too. This is safe because the script is run before user processes start. | |||
2000-03-09 | Pull in fnctl modeul so we are sure to get O_* for sysopen(). | Todd C. Miller | |
2000-01-22 | Some minor doc updates that should have gotten commited ages ago. | Todd C. Miller | |
2000-01-20 | Use sysopen() when opening recover files. This is purely paranoia | Todd C. Miller | |
since we check that the filename matches '^recover' and hence the first character cannot play games with perl's magic open(). | |||
1999-11-26 | o Update README files etc. from nvi-1.79 so they have the correct info | Todd C. Miller | |
o make port.h empty since we there is nothing we lack o include <sys/param.h>, not <sys/types.h> in files that use MIN/MAX macros o add perl api support since we have libperl (off by default) | |||
1999-10-11 | Rewrite in perl for safety and paranoia. It might have been possible | Todd C. Miller | |
to play tricks with filesnames that include spaces. | |||
1999-07-10 | Fix a SEGV after you HUP vi; dean@netbsd.org | Todd C. Miller | |
1999-06-05 | - remove trailing white space | Aaron Campbell | |
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/ | |||
1999-05-29 | MLINKS, not MLINK | Aaron Campbell | |
1999-05-24 | set the close-on-exec flag for newly opened files | David Leonard | |
Reason: vi uses flock to help you notice when you are already editing a file. But, when using :shell or :! the fdesc for the locked file is inherited by the subprocess. This means that if you (say) do a :!xterm& and then quit vi, the fdesc is kept open by the xterm and the lock is never released. future vi's on that file will then complain. I sent this off to bostic.com a long time ago but have as yet heard nothing. | |||
1999-03-10 | fix comma splices involving 'however' | Paul Janzen | |
1999-03-06 | back out changes that should not have escaped my local tree | Todd C. Miller | |
1999-03-06 | add missing reference to infocmp | Todd C. Miller | |
1999-03-03 | better grammar for err msg | Aaron Campbell | |
1999-02-08 | Don't call curses routines beep() or flash() if the screen has not been | Todd C. Miller | |
setup yet (as they will try to us SP which is NULL at this point). | |||
1998-07-24 | Man pages Xrefs. | Marc Espie | |
1998-07-24 | -D_USE_OLD_CURSE_ for -locurses and no more -ltermlib/termcap | Todd C. Miller | |
1998-06-23 | Fix snprintf return value usage. | Todd C. Miller | |
1998-04-25 | fix relative tags in vi; Frank Mayhar <frank@exit.com> | Todd C. Miller | |