summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-01-29Therefor -> Therefore (where appropriate)tb
from ray@, ok jmc@
2016-01-29Support for RGB colour, using the extended cell mechanism to avoidNicholas Marriott
wasting unnecessary space. The 'Tc' flag must be set in the external TERM entry (using terminal-overrides or a custom terminfo entry), if not tmux will map to the closest of the 256 or 16 colour palettes. Mostly from Suraj N Kurapati, based on a diff originally by someone else.
2016-01-29We're not allowed to change audio parameters while the device isAlexandre Ratchov
in use by another program. Explain that and remove wrong example.
2016-01-29Display play and record parameters that are not independentAlexandre Ratchov
as a single variable (this corresponds to the way the audio driver handles them). As we're at it, drop unused/duplicate parameters. ok mpi
2016-01-29include packet type of non-data packets in debug3 output;Damien Miller
ok markus dtucker
2016-01-29remove superfluous macrommcc
ok nicm
2016-01-29Revert "account for packets buffered but not yet processed" change as itDarren Tucker
breaks for very small RekeyLimit values due to continuous rekeying. ok djm@
2016-01-29Allow RekeyLimits in excess of 4G up to 2**63 bits (limited by the returnDarren Tucker
type of scan_scaled). Part of bz#2521, ok djm.
2016-01-29Account for packets buffered but not yet processed when computing whether orDarren Tucker
not it is time to perform rekeying. bz#2521, based loosely on a patch from olo at fb.com, ok djm@
2016-01-28Fix a crash when a server sends a non-standard newline ("\n" instead of "\r\n").martijn
Present since ssl support was initially added in OpenBSD 4.0 Found by sthen@ via github downtime OK sthen@
2016-01-28Correct date for Australia Day. From Ian Mcwilliam, ok jmc.Darren Tucker
2016-01-27remove v_estr in favor of warn and warnxmartijn
OK schwarze@, zhuk@ fine with me tb@
2016-01-27Replace fprintf+exit with errx. No functional changemartijn
OK zhuk@ and schwarze@ fine with me tb@
2016-01-27missing fclose(3). (silence cppcheck warnings).Gleydson Soares
OK mmcc@
2016-01-27change old $FreeBSD version string in comment so it doesn't become anDamien Miller
RCS ident downstream; requested by des AT des.no
2016-01-27make the debug messages a bit more useful hereDamien Miller
2016-01-26typosmmcc
2016-01-26ensure the backup file has the same mtime as the original file, this is in lineJasper Lievisse Adriaanse
with emacs' behaviour. from Harald Dunkel via Han Boetes ok lum@
2016-01-26Remove a fancy macro that calculates the necessary buffer size formmcc
int-to-str conversions and just use constants instead. The only binary change is caused by using an unnecessarily large buffer for an int. This is a consequence of simplifying some code that will be gone soon. ok nicm@
2016-01-25fix exit status on pledge(2) failure.Gleydson Soares
2016-01-25Fix a crash as found by sthen@martijn
tested and OK sthen@ OK with minor tweak schwarze@
2016-01-24make sure of cleaning rbuf with explicit_bzero(3)Gleydson Soares
OK tedu@
2016-01-23Zero a stack buffer with explicit_bzero() instead of memset() whenJonathan Gray
returning from client_loop() for consistency with buffer_free()/sshbuf_free(). ok dtucker@ deraadt@ djm@
2016-01-22- new plymouth day is better known as taranakiJason McIntyre
- correct a duplicate south canterbury entry first correction from peter kane second, and diff, from craig skinner
2016-01-20add a calendar for new zealand; from craig skinnerJason McIntyre
2016-01-20Include sys/time.h for gettimeofday. From sortie at maxsi.org.Darren Tucker
2016-01-20Remove ARG_CHAR_T, a relic from when the code was written K&R style.Anthony J. Bentley
ok millert@ schwarze@
2016-01-19Split out getting the current state from the target search so it can beNicholas Marriott
replaced if we already know the current.
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2016-01-19Bounds check while stripping trailing slashes. From max atSunil Nimmagadda
max-fillinger.net. Ok lum@
2016-01-19Update my mail address.Sunil Nimmagadda
2016-01-19Fix bad indents. From max at max-fillinger.netSunil Nimmagadda
Ok lum@ jasper@
2016-01-19Check snprintf(3) return value for overflow instead of manual lengthSunil Nimmagadda
check. From max at max-fillinger.net. Ok lum@ jasper@
2016-01-19Skip empty entries in $PATH instead of erroneously interpretingSunil Nimmagadda
them as ".". Ok lum@ jasper@
2016-01-19Remove the lintism PRINTFLIKE1, don't replace it with an attribute so wemmcc
can keep it portable. also noticed by Michael Reed, discussed with deraadt@
2016-01-18UTF-8 support:Ingo Schwarze
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@.
2016-01-18UTF-8 support:Ingo Schwarze
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@.
2016-01-18Allow time differences between two clock_gettime() calls toAlexandre Ratchov
be up to 60s without logging a warning.
2016-01-18Mention that "sndiod -d" doesn't daemonize and thatAlexandre Ratchov
the -d flag can be specified multiple times. Diff from Michael Reed <m.reed at mykolab.com>. Many thanks.
2016-01-17start removing mp, the pointer to message's nul bytemmcc
ok deraadt@
2016-01-16Unbreak reading from stdin after recent parse() restructuring.Florian Obser
OK schwarze@
2016-01-16fix a number of minor issues in the state view:Can Erkin Acar
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.
2016-01-16Add hooks for alerts (bell, silence, activity), from Thomas Adam.Nicholas Marriott
2016-01-15remove needless extern keywords, a vestige of pre-ANSI Cmmcc
explained by and ok millert@
2016-01-15Use quotes rather than angle brackets for local header. Fixes buildingmmcc
with Clang 3.7. ok millert@
2016-01-15Clear the environment properly by looping until it is empty rather thanNicholas Marriott
looping over it (which may skip entries), from Brad King.
2016-01-15A couple of missing printflike attributes, from Andrey Starodubtsev.Nicholas Marriott
2016-01-15Add support for parsing 'hyper' and 'quad' types, as per RFC4506.Jasper Lievisse Adriaanse
From FreeBSD ok millert@
2016-01-14fd leaks; report Qualys Security Advisory team; ok deraadt@Markus Friedl
2016-01-14Check the return value of snprintf() for potential overflow insteadTodd C. Miller
of doing a manual check beforehand.