summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-04-25Don't overwrite modifiers in the buffer when making UTF-8 strings,Nicholas Marriott
append instead.
2016-04-24typos;Jason McIntyre
2016-04-21make argument == NULL tests more consistentDamien Miller
2016-04-20Remove pointless reenter variable.Martijn van Duren
OK millert@
2016-04-19Remove not implemented decliration of sscr_pty.Martijn van Duren
2016-04-19Remove some useless code.Martijn van Duren
Minor tweak and OK schwarze@ OK tb@
2016-04-17tweak previous;Jason McIntyre
2016-04-15Rename five static functions to make the classification of functionsIngo Schwarze
as parsers, page generators, and result generators more obvious. No functional change.
2016-04-15prefer warn[x](3) over fprintf(3) where appropriateIngo Schwarze
2016-04-15Fix parsing of PATH_INFO if both a section directory and anIngo Schwarze
architecture subdirectory are specified. Issue reported by tb@.
2016-04-15Make HTML tags lower case for better stylistic agreement with whatIngo Schwarze
html.c does.
2016-04-15In the architectures dropdown, move aviion, ia64, solbourne, and vaxIngo Schwarze
down to the currently unsupported entries.
2016-04-15If PATH_INFO contains a complete and correct path to a manual pageIngo Schwarze
file, for example "/OpenBSD-5.9/man2/pledge.2", no database query is needed and the file is delivered directly. But even in this case, let's parse the PATH_INFO and fill the query structure such that the search form at the top of the result page gets pre-filled with useful values.
2016-04-15Include directive for ssh_config(5); feedback & ok markus@Damien Miller
2016-04-15omit list of other results one there is only one matchIngo Schwarze
2016-04-14for .Xr links, use short PATH_INFO style URIsIngo Schwarze
2016-04-14Fix a process group race.Ingo Schwarze
It could occasionally happen that the child process spawned less(1) before the parent process passed the control of the terminal to the child, and in that case, less(1) sometimes complained "Stopped (tty output)". Issue reported by naddy@.
2016-04-14do not rewrite short URIsIngo Schwarze
2016-04-14Add 'sentence-end-double-space'.Mark Lumsden
If you prefer "lighter" punctuation and one space between sentences, for example: Mr and Mrs Jones are from the UK. They arrived today. over more liberal use of full stops and double spaces between sentences: Mr. and Mrs. Jones are from the U.K. They arrived today. then toggling 'sentence-end-double-space' will make mg's fill-paragraph function format text using one space instead of two (the default) between sentences. However, be careful, should you have a double spaced document and accidentally "format" it to have single spaces, then you may have a problem. mg won't be able to revert the formatting for you (unless you have a previous version of the text in the "undo" history, or are using mg's backup facility and haven't opened and saved multiple times!). Comments from schwarze@
2016-04-13Give manuals in purely numerical sections priority over manuals ofIngo Schwarze
the same name in sections with an alphabetical suffix; same logic as in main.c rev. 1.171.
2016-04-13Give manuals in purely numerical sections priority over manuals ofIngo Schwarze
the same name in sections with an alphabetical suffix (on OpenBSD, mostly 3p), restoring behaviour of the traditional BSD man(1) that got lost in the switch to the mandoc-based implementation. Issue reported by jsg@, using an idea by mikeb@ for the solution, and at least afresh1@ and jasper@ also seem in favour of the direction.
2016-04-13remove dumpfilter related code; it's a leftover from pftop-proper and not usedJasper Lievisse Adriaanse
in systat ok canacar@
2016-04-12Fix awk crash with empty assignment, e.g. 'BEGIN {i=$1}', whenTodd C. Miller
malloc does not return zero-filled data. OK tb@
2016-04-12Stop mg putting a space at the end of a paragraph when usingMark Lumsden
fill-paragraph. Reported by Harald Dunkel.
2016-04-11Howard Marks died yesterdayStuart Henderson
2016-04-10Enable UTF-8 support in rev.Martijn van Duren
Some minor cleanups while here. OK schwarze@
2016-04-09make private key loading functions consistently handle NULLDamien Miller
key pointer arguments; ok markus@
2016-04-08whitespace at EOLDamien Miller
2016-04-08We accidentally send an empty string and a zero uint32 with everyDamien Miller
direct-streamlocal@openssh.com channel open, in contravention of our own spec. Fixing this is too hard wrt existing versions that expect these fields to be present and fatal() if they aren't, so document them as "reserved" fields in the PROTOCOL spec as though we always intended this and let us never speak of it again. bz#2529, reported by Ron Frederick
2016-04-07hexidecimal->hexadecimal; from mmccJason McIntyre
ok beck
2016-04-06Lose the pointless third paramater to fcntl(F_GETFL). Using SOCK_NONBLOCKKenneth R Westerback
instead of fcntl() dance would significantly change designed semantics. ok djm@
2016-04-06don't record duplicate LocalForward and RemoteForward entries;Damien Miller
fixes failure with ExitOnForwardFailure+hostname canonicalisation where the same forwards are added on the second pass through the configuration file. bz#2562; ok dtucker@
2016-04-05Use SERVER_NAME for bgplg's hostname (displayed on the page), this is passedStuart Henderson
from the webserver so is more likely to be the correct name to expose, and is easier to adjust if needed. OK claudio@ florian@
2016-04-04Add sys/queue.h where it's needed. Unbreak userland following recentStuart Henderson
removal from mbuf.h. ok mpi@
2016-04-04fatalx() not fatal().Nicholas Marriott
2016-04-04Reverse search optimization makes no sense (and doesn't work) ifOtto Moerbeek
we are looking for all matches in a line; ok natano@ miilert@ tedu@
2016-04-02Another use for fcntl() and thus of the superfluous 3rd parameterKenneth R Westerback
is when sanitising standard fd's before calling daemon(). Use a tweaked version of the ssh(1) function in all three places found using fcntl() this way. ok jca@ beck@
2016-04-01update currency exchange rates;Jason McIntyre
2016-04-01whitespace at EOLDamien Miller
2016-03-31Remove fallback from moduli to "primes" file that was deprecated in 2001Darren Tucker
and fix log messages referring to primes file. Based on patch from xnox at ubuntu.com via bz#2559. "kill it" deraadt@
2016-03-30Avoid compiler warning about zero-length printf format strings.Todd C. Miller
Allow a NULL format in message() and switch the two calls to error() and message() with an empty format string to using NULL. OK deraadt@
2016-03-30In setnonblocking() rename "mode" variable to "flags".Todd C. Miller
2016-03-30The change to make mkstemp(3) require at least 6 trailing Xs brokeTodd C. Miller
rdistd for directories that do not exist on the destination. Calling mkstemp(3) twice with the same format (filled in by the first mkstemp(3) call) is bogus so call chkparent() *before* mkstemp(3) instead of only on error. This costs an extra lstat(2) in the case where the directory already exists but simplifies the code and doesn't rely on undefined behavior (namely, the state of the template when mkstemp fails). OK tim@
2016-03-30Bump the listen() backlog up, some people have scripts that run up a lotNicholas Marriott
of clients quickly.
2016-03-30Handle error return by SYS_getlogin_r and SYS___thrsleep correct, andPhilip Guenther
parse args of SYS_getlogin_r
2016-03-30some Xr adjustment to catch up with MLINKS removal;Jason McIntyre
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2016-03-28remove unused variableCharles Longeau
ok millert@
2016-03-28remove unused variableCharles Longeau
ok millert@
2016-03-28remove unused variableCharles Longeau
ok espie@