NetBSD/usr.bin/less
dholland 10a5ee8495 Don't attempt to read or write ~/.lesshst if it's not a regular file
or a symlink to a regular file. Previously, symlinking to /dev/null
would cause less to trash /dev/null if run with sufficient privileges,
as seen in PR misc/42237.

While the official way to disable .lesshst is to set an environment
variable, that is problematic in some cases, such as single-user mode.
A safer way to prevent even an unpatched less from writing anything
out is to mkdir ~/.lesshst.
2009-12-14 03:58:27 +00:00
..
less Don't attempt to read or write ~/.lesshst if it's not a regular file 2009-12-14 03:58:27 +00:00
lessecho
lesskey
Makefile
Makefile.inc Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
less2netbsd