Age | Commit message (Collapse) | Author |
|
|
|
Ok lum@ jasper@
|
|
check. From max at max-fillinger.net.
Ok lum@ jasper@
|
|
them as ".".
Ok lum@ jasper@
|
|
can keep it portable.
also noticed by Michael Reed, discussed with deraadt@
|
|
Cut by display columns rather than by character positions because
the latter would be useless in the presence of combining zero-width
characters. Similarly, let tab advance to display columns rather
than to character positions.
For compatibility with nroff and man(1) output, let backspace back
up one character rather than on display column. But for compatibility
with POSIX fold(1), *if* two backspaces follow a double-width character,
ignore the second one.
Fix some bugs while here: Delete backspaces that immediately follow
deleted characters. Expand tabs intersecting deletions, such that
part of the blanks can be removed. Expand tabs following deletions,
or they would no longer align with adjacent lines without tabs.
OK jmc@ on a previous version of the manual.
No opposition when shown on tech@.
|
|
This is the first example of a program where doing the full char *
to wchar_t * to char * double conversion is actually simpler than
our usual approach of working with char * throughout. In part
inspired by the FreeBSD version which is in turn based on Bruno
Haible's work in util-linux, but not sharing any code and avoiding
the almost half a dozen bugs that FreeBSD has.
As a bonus reimplement overstrike() and iattr() almost from scratch,
getting rid of useless malloc(3)ed local buffers.
Add lots of missing information to the manual.
No opposition when shown on tech@.
|
|
be up to 60s without logging a warning.
|
|
the -d flag can be specified multiple times. Diff
from Michael Reed <m.reed at mykolab.com>. Many thanks.
|
|
ok deraadt@
|
|
OK schwarze@
|
|
1. peak and rate computations were using uint32 size which caused
the fields from working for states that transferred more than 4GB
also fix an unnecessary cast to double found while looking for the bug.
2. When creating new cache entries for existing states, start time from
0 rather than the current time to prevent a "spike" in rate and peak.
|
|
|
|
explained by and ok millert@
|
|
with Clang 3.7.
ok millert@
|
|
looping over it (which may skip entries), from Brad King.
|
|
|
|
From FreeBSD
ok millert@
|
|
|
|
of doing a manual check beforehand.
|
|
buffer. From Max Fillinger.
|
|
|
|
this is the work of craig skinner - many thanks, craig.
i've tweaked it a bit. craig has also fixed a currently
incorrect date and moved a couple entries to the uk file/
some outstanding issues (what to do with dups) but it'll be
eaiser to work on once in tree
|
|
|
|
disabled/gutted for years already, but this aspect was surprisingly
forgotten.
Thanks for report from Qualys
|
|
define names. Use the mksubr infrastructure for EVFILT_*,
EV_*, and (with some kludging) NOTE_* values. If EV_ERROR is set,
include the errno string for the data member.
Also, do MSG_* parsing on the msg_flags member of struct msghdr.
ok millert@
|
|
forwarding when the X server disables the SECURITY extension;
Reported by Thomas Hoger; ok deraadt@
|
|
aliases
ok nicm@
|
|
|
|
ok nicm@
|
|
condition.
ok nicm@
|
|
newsyslog: preposterous process number in pid file: /var/run/syslog.pid
in his log since syslogd ran as pid 2.
Nowadays only init runs with a reserved low pid, so decrease MIN_PID
from 4 to 2, as suggested by espie@.
ok kettenis@
|
|
|
|
|
|
bias at both ends of the given interval. Various clever workarounds are
documented in the manual.
This fixes the bias in some of the most common use cases, namely random
sequences of integers or real numbers rounded to a fixed number of
decimals. So, `jot -p 3 -r 10000 0 1' produces a uniformly distributed
sequence of 10,000 decimal numbers of the form 0.abc (or 1).
Internally, jot -r now uses arc4random_uniform() whenever this is
clearly possible. In particular `jot -r 1 10 20' yields an unbiased
random number between 10 and 20 (both ends inclusive) from the shell.
guidance and ok deraadt@, "i like it" benno@
|
|
ok nicm@
|
|
|
|
actual count is always positive). Found by David Coppa. Thanks.
|
|
error if it isn't. Fixes ugly/delayed error messages in this case.
|
|
|
|
|
|
|
|
From Lauri Tirkkonen, plus tweak to comment. ok jung@
|
|
most uses by one, a few by two pointer checks, and only one by a
tiny loop - not only making data smaller, but code shorter as well.
This gets rid of an implicit invariant that confused both static
analysis tools and human auditors. No functional change.
|
|
|
|
|
|
|
|
|
|
It is useful to see the program name.
Suggested by Christos Zoulas (NetBSD).
|
|
|