Age | Commit message (Collapse) | Author |
|
do not rename to mandocdb(8): Even though there is some
additional functionality, the basic purpose remains the same.
Requested by espie@; "decide fast" deraadt@.
|
|
|
|
common channels and thus need to share their dynamic range. Fixes,
unnecessarily decreased volume in some theoretical cases.
|
|
|
|
device was already created (-f) before trying to use the
default one, otherwise all sub-devices end up attached
to the default device. Noticed by peters at schwertfisch.de,
thanks!
|
|
seems inaccessible by its main title.
This reduces the number of warnings in base to about 140,
which is already low enough to find a couple of actual problems
among the noise.
|
|
such that makewhatis(8) called from pkg_delete(1)
does not fail trying to open old-style whatis.db files as btree(3).
Suggested by espie@ deraadt@ millert@
|
|
|
|
|
|
following one reindex certain files in a local tree:
makewhatis -d mytree mytree/*/foo*.*
|
|
|
|
and add an 'rtableid' keyword to ps.
Add rtable id, thread id, and socket splice info to struct kinfo_file2
and make fstat display socket splice information.
Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major
Socket splice info and corrections from bluhm@ "Lovely" deraadt@
|
|
Unlink the old apropos(1), whatis(1), and makewhatis(8) from the build.
Call the new tools from pkg_create(1) and pkg_add(1).
"Please enable it now." deraadt@
|
|
because that would break apropos(1) during the build, and if the build
fails, you would be left without any database at all.
Instead, build the database in temporary files in the same directory
and rename(2) them into place when they are ready.
Suggested by deraadt@.
There is still a tiny race between the two rename(2)s;
if that's a problem, we can solve it later using locking.
Put this in now such that we can move on.
|
|
|
|
Update usage() as well; reminded by jmc@.
Mention the manwhere(1) predecessor in 1BSD; suggested by kristaps@.
OK jmc@.
|
|
get a pointer to the next element before freeing the previous one,
do not access free'd pointers. Problem found the hard way
by fgsch@ running "man -a x" with malloc.conf -> S on amd64.
ok deraadt@
|
|
form with {} + suffix; make this clear in the manual. Text suggested by jmc@
|
|
|
|
|
|
even though .It macros in general are parsed.
Fixing a bug reported by deraadt@,
based on an incomplete fix by kristaps@,
and update the test suite to catch this issue.
|
|
From Ulrich Spoerlein, tweaked by kristaps@.
Werner Lemberg added the same .St argument to groff today.
|
|
- reformat the list of primaries such that the two -exec items are
listed without vertical whitespace seperating them
|
|
From the manpage:
If terminated by a plus sign (``+''), the pathnames for which the
primary is evaluated are aggregated into sets, and utility will
be invoked once per set, similar to xargs(1). If any invocation
exits with non-zero exit status, then find will eventually do so
as well, but this does not cause find to exit early. The string
``{}'' must appear, and must appear last. Each set is limited to
no more than 5,000 pathnames, and is also limited such that the
invocation of utility does not exceed ARG_MAX.
Code comes from NetBSD, written by John Hawkinson. Tested by eivinde at
terraplane dot org and myself for quite some time.
ok miod@
|
|
|
|
regarding HISTORY and AUTHORS.
ok jmc@
|
|
information found on the CSRG archive CDs, 1bsd directory and SCCS files;
feedback and ok sobrado@, ok jmc@.
|
|
Rosencrantz.
|
|
new windows in the current working directory at the time tmux was started,
it's not obvious. naddy@ agrees this is a useful inclusion.
|
|
|
|
actually, the number of programs is quite small, about ten all told.
feedback mckusick@, feedback and ok sobrado@, ok jmc@
|
|
overflow when using encryption as the recent FreeBSD advisory.
Use the same approach taken in FreeBSD to protect against malicious servers.
ok miod@
|
|
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".
|
|
* Accept multiple lines in cat page NAME parsing.
* Do not trim the description to 70 characters in the database.
* Instead, limit the length of the description during output.
* In man(7), accept \-\- as a Nm-Nd separator; occurs in 3p.
|
|
on different machines regardless of where the user's home directory is.
ok nicm
|
|
|
|
Bombardieri.
|
|
SHRT_MIN. From Chris Johnsen.
|
|
Johnsen.
|
|
in the MANPATH; and the new whatis.index file.
Include some synching to apropos(1) and to the usage() string.
Use some feedback from jmc@.
|
|
|
|
Since the code is moving from src/usr.bin/whatis/whatis.c
to src/usr.bin/mandoc/apropos.c, the manual will move with it.
The old copy will be removed after switching over.
ok jmc@
|
|
While here, reference apropos(1) from the description,
inspired by the makewhatis(8) manual.
|
|
from kristaps@, ok jmc@.
|
|
|
|
|
|
Requested by deraadt@, ok kristaps@.
CAUTION:
If you run "sudo mandocdb" after this, the old apropos(1) and whatis(1)
will not work any longer. To get temporary copies of the new ones, run:
cd /usr/bin; rm -f apropos whatis; ln -s mandoc apropos; ln -s mandoc whatis
|
|
use pointers to arrays, not pointers to structs. It is now possible
to create databases on sparc64 and use them on i386 and vice versa.
Kristaps@ can't think of anything else that might be required, either.
Put this in now such that we can move on.
|
|
Always do all consistency checks; when any one fails, decide whether
to print a message, or skip the file, or both, or none.
While here, do some cleanup as well:
* Bail out on conflicting options.
* Do not crash with -a if there are plain files in the root dir.
* Collect some related variables into structs.
Feedback and OK kristaps@.
|
|
to prepend, append or insert the man.conf(5) default path;
compatible with GNU manpath(1), implementation by kristaps@,
heavily tweaked by me.
|