Age | Commit message (Collapse) | Author |
|
issue found and patch written by kristaps@
|
|
The asr library no longer supports gethostent(3), and there is no
reasonable way to implement it. Consequently, as suggested
by guenther@, error out when hosts enumeration is requested.
OK deraadt@ guenther@ florian@
Also remove the now useless calls to sethostent(3) and endhostend(3)
as suggested by florian@.
|
|
that start at the beginning of an input line
but end before the end of an input line
|
|
at the beginning and at the end of input lines;
issue reported by kristaps@
|
|
|
|
ok dlg@
|
|
|
|
|
|
|
|
from Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
ok beck@, deraadt@
|
|
in particular line and column numbers and flags;
but hide the uninteresting EQN_ROOT box
|
|
tutorial, next to the C-l (recenter) command description. This also
removes confusion if you read the tutorial on a screen larger than 24
lines. Input jmc@ ok florian@
|
|
ok ingo
|
|
|
|
|
|
hinted at by Steffen Nurpmeso <sdaoden at yandex dot com>.
|
|
Other systems now have it, xenocara is using it.
talked over with kettenis@ who checked release still works.
I did a full bulk build with this and did not notice any issue.
|
|
this patch only changes two bits, note that '\011' != '9' == '\071'.
Bug introduced by the original author, Michael Rendell, and
committed by Keith Bostic on May 22, 1990 (CSRG SCCS rev. 5.1).
The following operating systems are affected: 4.3BSD Reno, BSD Net/2,
4.4BSD, 4.4BSD Lite1, 4.4BSD Lite2, and all versions of 386BSD,
NetBSD, OpenBSD, FreeBSD, DragonFly, Debian GNU/Linux (package
bsdmainutils) and probably many others.
"that's a fun one" millert@, "nice find" deraadt@
|
|
The half line feed escape codes are decimal 8 and 9 (octal 010 and 011).
While here, make it clear that the numbers are ASCII, and consistently
use lower cases character names in the first column and decimal numbers
in the parentheses at the end of the second column.
OK millert@
|
|
storing them in struct person since they are only used for output.
Uses reallocarray() for overflow detection. OK deraadt@
|
|
|
|
DragonFly, NetBSD and GNU coreutils, even though it's not POSIX.
Actually, this simplifies the code rather than complicating it.
Because -a and -d need not be mutually exclusive (as observed by
millert@) and -s is identical to -d 0, -a and -s are no longer
mutually exclusive, but -as and -sa are now the same as -s.
That is explicitly allowed by POSIX.
Based on a patch from William Orr <will at worrbase dot com>,
but extensively massaged and HISTORY added by me.
feedback and ok millert@
|
|
oddly if it reaches the end of buffer before completing all
iterations. This diff makes the kill-paragraph and forward-paragraph
commands stop once they can go no further. ok florian@
|
|
ok deraadt@
|
|
in the region, but my time is limited...
|
|
backspace characters beyond column MAX_SHRT, overflowing c_column.
2) Fix imcomplete initialization of the final element of the *count
array by adding a missing pair of parentheses.
3) For code clarity and extra safety, change all variables dealing
with column numbers from int to size_t such that they cannot overflow.
Found while reviewing the patch from deraadt@'s reallocarray() rampage.
Feedback and OK millert@.
|
|
|
|
ok deraadt@ djm@
|
|
|
|
Put the steering into the roff parser rather than into the mdoc
parser such that it works for all macro languages and on both text
and macro lines.
Line breaks and blank characters generated before and after in-line
equations are not perfect yet, but let's do one thing at a time.
|
|
|
|
protection for free
ok guenther
|
|
bug reported by bentley@
|
|
|
|
ok djm@
|
|
to equalize, maximize, and ignore the width of columns.
Does not yet take vertical rulers into account,
and does not do line breaks within table cells.
Considerably improves the lftp(1) manual; issue noticed by sthen@.
|
|
|
|
this doesn't change anything for ASCII and UTF-8.
Problem reported by bentley@.
|
|
ok schwarze@
|
|
buffer. ok florian@
|
|
Require exactly 4, 5 or 6 hex digits and allow nothing else.
This avoids mishandling stuff like \[ua] and \C'uA' as Unicode
and also fixes underlining in eqn(7) -Thtml output which uses \[ul].
Problem found and semantics suggested by kristaps@.
|
|
getting rid of a false positive noticed by bentley@.
|
|
ok millert@
|
|
use C99 array initialization syntax for strict C compilers.
from kinichiro, found building with HP/UX compiler
ok deraadt@, guenther@
|
|
Prefer this because it is the POSIX standard and has consistent behavior
across platforms.
Use BIO_socket_nbio consistently across the tree.
from Jonas 'Sortie' Termansen, ok deraadt@
|
|
|
|
|
|
patch from Martin <Natano at natano dot net>, thanks
|
|
|
|
Get rid of the first fatal error, MANDOCERR_EQNSYNT.
In eqn(7), there is no need to be bug-compatible with groff, so there
is no need to abondon the whole equation in case of a syntax error.
In particular:
* Skip "back", "delim", "down", "fwd", "gfont", "gsize", "left",
"right", "size", and "up" without arguments.
* Skip "gsize" and "size" with a non-numeric argument.
* Skip closing delimiters that are not open.
* Skip "above" outside piles.
* For diacritic marks and binary operators without a left operand,
default to an empty box.
* Let piles and matrices take one argument rather than insisting
on a braced list. Let HTML output handle that, too.
* When rewinding, if the root box is guaranteed to match
the termination condition, no error handling is needed.
|