Go to file
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
bin Document "stty insane" properly. Closes PR bin/25024. 2009-12-14 02:34:52 +00:00
common Merge from matt-nb5-mips64 2009-12-14 00:38:59 +00:00
compat Fix a few typos. 2009-12-13 17:58:27 +00:00
crypto From Paul Wernau: vmbuf.h was defined twice in the headers. Remove the 2009-12-11 09:04:04 +00:00
dist Merge ntp 4.2.4p8 2009-12-08 21:52:05 +00:00
distrib merge in my (uncommited) changes from matt-nb5-mips64 branch. 2009-12-14 02:19:58 +00:00
doc note release of ntp 4.2.6 2009-12-13 16:48:56 +00:00
etc Merge from matt-nb5-mips64 2009-12-14 01:11:02 +00:00
external default netbsd*mips64 to n32. from matt-nb5-mips64. 2009-12-14 02:52:08 +00:00
extsrc Top level reach-over directory for extsrc. 2009-12-01 01:53:46 +00:00
games was disappointed that someone wrote disappointed with one 'p', so I fixed it. 2009-12-08 10:13:39 +00:00
gnu regenerate these with -current mknative-gcc. 2009-12-14 03:44:27 +00:00
include add some prototypes for checked string functions 2009-11-17 20:47:59 +00:00
lib Merge from matt-nb5-mips64 2009-12-14 03:04:33 +00:00
libexec Merge from matt-nb5-mips64: 2009-12-14 00:41:18 +00:00
regress Handle undefined USE_SSP. XXX *_SSP variables needs clean-up. 2009-11-25 09:30:04 +00:00
rescue Remove the portalfs kernel file system driver. Replace mount_portal(8) 2009-12-05 20:11:01 +00:00
sbin System utilities, boot programs and kernel modules are machine 2009-12-13 05:01:32 +00:00
share Merge from matt-nb5-mips64 2009-12-14 01:00:46 +00:00
sys forward declare struct exec_package 2009-12-14 03:20:27 +00:00
tests CPPFLAGS.* is per *.c, not per ${PROG} or ${LIB}. 2009-12-08 15:20:20 +00:00
tools Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
usr.bin Don't attempt to read or write ~/.lesshst if it's not a regular file 2009-12-14 03:58:27 +00:00
usr.sbin Call ukfs_part_release(). For completeness and educational value. 2009-12-13 21:16:54 +00:00
x11 add -n to gzip invocation 2009-03-31 21:12:51 +00:00
build.sh Merge from matt-nb5-mips64 2009-12-14 01:11:02 +00:00
BUILDING Support "extsrc", externally added programs and libraries. Users can write 2009-11-30 16:13:22 +00:00
Makefile adjust the do-compat-* rules now that src/compat/lib and friends no longer exist 2009-12-13 09:29:27 +00:00
Makefile.inc
UPDATING Note briefly that new amd64 kernels don't build with old binutils. 2009-11-16 07:45:50 +00:00