Age | Commit message (Collapse) | Author |
|
a file to edit. Based on a diff from Patrick Keshishian.
|
|
ok guenther@
|
|
ok deraadt@ guenther@ miod@ millert@
|
|
|
|
window resizes, which was leaking massive amounts of memory.
Try observing vi in top(1) and while resizing the window a few times
before and aftering applying this diff..
Also some more comment cleanup and another memory leak..
From github.com/lichray/nvi2
879d2ad6dd4a4343eb0a588ebfe637e1c9845bc4
a8c38480adb030a05bbb2aafec6067dd65d8c2eb
ok millert@
|
|
unifdef. It seems clear that no one was using these (SA_INTERRUPT didn't
even build the other way). Tweak comments as appropriate.
ok brynet@
|
|
the other #defined in common/key.h. There is no reason to have both. For
consistency use the isblank function from <ctype.h>, remove the #define in
common/key.h, and add #include <ctype.h> to the files that were missing the
header.
ok brynet@
|
|
enabled in our tree, also removes some stragglers from a global struct
referencing nonexistent Tcl/TK and "IP support". And finally.. deletes
an empty file missed by earlier cleanup by bentley@.
Inspired by and ok bcallah@
|
|
From Theo Buehler.
|
|
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;
|
|
From Zhihao Yuan.
ok millert@ miod@
|
|
Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.
No output changes, except for two instances where the incorrect escape
was used in the first place.
tweaks + ok schwarze@
|
|
OK miod@
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
There have been various build errors for coming on two years now.
It doesn't work and nobody has expressed any interest in saving it.
From natano; ok millert@
|
|
It is undocumented and triggers the same conditional inclusions as
PURIFY does.
From Martin Natano.
|
|
_PATH_BSHELL, _PATH_SENDMAIL, _PATH_TMP and _PATH_TTY are defined in
<paths.h> and _PATH_SYSV_TTY is unused. All of them can be removed from
pathnames.h. The other defines can be made unconditionally.
|
|
The 'tcl' command in vi does nothing, except to print the message
"Vi was not loaded with a Tcl interpreter". Printing the standard
message for unknown commands would be equally descriptive with the
benefit of reducing code size.
|
|
The vi editor contains code for two different file locking methods -
one using flock(), the other using fcntl(). The fcntl method is unused
and has severe limitations (as described in a code comment). Let's
remove it for sake of readibility.
|
|
|
|
ok bcallah@ millert@
|
|
|
|
|
|
|
|
From Martin Natano.
ok nicm@
|
|
ok nicm@ millert@ plus a comment tweak from nicm@
|
|
protection for free
ok guenther
|
|
ok deraadt@
|
|
respectively now that the former is natively supported. OK jsg@
|
|
|
|
vi is now CIRCLEQ free!
ok zhuk@
|
|
ok zhuk@
|
|
Fixes & ok zhuk@
|
|
ok zhuk@
|
|
ok pelikan@ zhuk@
|
|
CIRCLEQ removal.
okay krw@
|
|
While there, initialize some variables on unusual paths.
Found by clang static analyzer, ok krw.
|
|
ok pelikan@
|
|
|
|
found by clang static analyzer, ok jca, otto
|
|
Read, tested, fixed and ok'd zhuk@ pelikan@ millert@
|
|
suggestions and ok millert@
|
|
|
|
buffer is accessed out of bounds. If 'max' == 0 and 'tp->cno' == 1
the 'tp->cno' value is first reduced by one and then 'tp->lb' is
accessed at 'tp->cno' - 1. Also remove dead (and incorrect) code
in the TXT_ALTWERASE case. From Arto Jonsson; OK martynas@
|
|
proper permissions of "local" .exrc or .nexrc files.
With some hints and fixes from deraadt@ and tobias@.
ok millert@ tobias@
(more tweaks suggested by millert@ and some cleanup will be done
in separate diffs)
|
|
ok otto
|
|
|
|
|
|
diff from Alexis Fouilhe; help/ok sobrado
|
|
All facts from the CSRG archive CD 1, also available from minnie.tuhs.org.
Feedback and OK sobrado@, ok jmc@.
Kirk McKusick writes:
"Bill usually used "Bill Joy" when listing author information. Only
occationally did he choose to use William Joy. So, I would recommend
using Bill Joy."
So i'm using that here even though some of the original files
related to this commit do contain the form "William Joy".
|