Age | Commit message (Collapse) | Author |
|
subscripts to avoid buf[-1] problems.
Also add a missing include of unistd.h. OK'd by Theo
|
|
|
|
|
|
|
|
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).
|
|
|
|
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
|
|
it's not supposed to be a hyphen/dash
|
|
Out of the approximately 1450 man pages, only about 90 of them were wrong.
Thanks to kwesterback@home.com for coming up with a script and patch to repair
this. The patch also inserted a .Os macro in the few man pages that were
missing one.
|
|
is used instead; kwesterback@home.com
|
|
- Sort xrefs by section, and then alphabetically.
- Add missing commas between xref items.
- Remove commas from the last xref entry.
- Remove duplicate entries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
never tested. Closed NetBSD PR#4012 from David Holland
<dholland@bordeaux.eecs.harvard.edu>.
|
|
|
|
|
|
* Portability fixes:
__const -> const
BADSIG -> SIG_ERR
int flags -> u_int flags
#if __STDC__ -> #ifdef __STDC__
* Don't allow CSWTCH to interfere with CSUSP on __SVR4 systems.
* Return -1 if the terminal set operation resulted in dumb terminal settings.
* Handle properly the case where the last line in the sourced file does
not have a trailing '\n'. From Jeffrey C Honig.
* editrc -> editline in editline(3)
|
|
|
|
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.
|
|
|
|
Some strcpy() -> strncpy (from NetBSD)
Some KNF
Add current NetBSD tags
|
|
|
|
|
|
strncpy() usage in their code. NetBSD change log was:
* add a man page for the editline routines
* add a man page describing editrc
* fix bugs in el_parse():
* didn't execute command when program name matched (test reversed)
* was checking against empty string instead of program name
* after checks, command to run also pointed to empty string
* document ^char and \ escape sequences
* when parsing ^char control chars, check the correct char when determining
validity (previously, ^char was a NOP interpreted as the literal string
because of this bug)
* Implement CC_REDISPLAY, which (unlike CC_REFRESH) redraws the entire input
* line (a la ^R). This is useful if the binding outputs information and
* mucks up the input line. To be used in ``list-choices'' bindings (refer
* to the ^D binding in csh when filec is set)
|
|
|
|
|
|
|
|
|
|
|
|
|