summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2014-04-20in debug messages, truncating strings of excessive lengths is actuallyIngo Schwarze
a good thing, so cast the return value from sprintf to (void); this concludes the mandoc sprintf audit
2014-04-20strlen+malloc+snprintf is error prone;Ingo Schwarze
rewrite post_lb() to use asprintf(3) instead
2014-04-20fix unchecked snprintf(3) in page header printing:Ingo Schwarze
the length of the title is unknown, and speed doesn't matter here, so use asprintf/free rather than a static buffer
2014-04-20make sure static buffers for snprintf(3) are large enoughIngo Schwarze
and cast snprintf return value to (void) where they are
2014-04-20Style improvement based on espie@'s feedback: provide and useVadim Zhukov
LT::UList->new() instead of calling tie() manually. As a bonus, few extra lines in actual code go away. okay espie@ who still thinks that I test things _before_ commit
2014-04-20KNF: case (FOO): -> case FOO, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze
remove trailing whitespace and blanks before tabs, improve some indenting; no functional change
2014-04-20Add support for SSHFP DNS records for ED25519 key types.logan
OK from djm@
2014-04-20add a canonical 6.6 + curve25519 bignum fix fake version that I canDamien Miller
recommend people use ahead of the openssh-6.7 release
2014-04-20use get/put_u32 to load values rather than *((UINT32 *)p) that breaks onDamien Miller
strict-alignment architectures; reported by and ok stsp@
2014-04-19delete .xr to hosts.equiv. there's still an unfortunate amount ofTed Unangst
documentation referring to rhosts equivalency in here.
2014-04-19remove some really old rsh referencesTed Unangst
2014-04-19change some rsh references to ssh. poke by jmcTed Unangst
2014-04-19Once great men lived here... giants... gods... once, but long ago.Ted Unangst
2014-04-19the valkyries have come for rsh as wellTed Unangst
2014-04-19Delete futile calls to RAND_seed. ok djmTed Unangst
2014-04-19use an appropriate name for this variable.Igor Sobrado
ok millert@
2014-04-19do not mark od(1) as deprecated.Igor Sobrado
ok jmc@, millert@
2014-04-19tiny fix: Remove duplicate rows, they appeared after importing less 444Alexandr Shadchin
suggested Daniel Dickman
2014-04-19missing wildcard; pointed out by naddy@Damien Miller
2014-04-19Two minor tweaks regarding the fallback from -u/-d to default mode:Ingo Schwarze
(1) Use all files found on the command line, but do *not* use all stray files found during fallback tree recursion. (2) If the fallback works, call that success, i.e. exit(0). As pointed out by naddy@, the latter is required for ports' happiness.
2014-04-19Properly handle symlinks (hardlinks and .so only files were already ok):Ingo Schwarze
Use the file name of the symlink but the inode number of the file pointed to, such that we get multiple mlinks records but not multiple mpages records. Also make sure they do not point outside the tree we are processing. Issue found by kili@ in desktop-file-edit(1), thanks!
2014-04-18OpenSSH 6.5 and 6.6 have a bug that causes ~0.2% of connectionsDamien Miller
using the curve25519-sha256@libssh.org KEX exchange method to fail when connecting with something that implements the spec properly. Disable this KEX method when speaking to one of the affected versions. reported by Aris Adamantiadis; ok markus@
2014-04-18flesh out STANDARDS;Jason McIntyre
2014-04-18- merge two sections on error messages and interruptsJason McIntyre
- move some non-standard sections into a more general CAVEATS - some macro cleanup
2014-04-18In update mode, when opening the database fails, probably because it isIngo Schwarze
missing or corrupt, just rebuild it from scratch. This also helps when installing the very first port on a freshly installed machine and is similar to what espie@'s classical makewhatis(8) did. Issue reported by naddy@ via kili@.
2014-04-18Since we've been making heavy use of unifdef recently: update it to theStuart Henderson
recent 2.10 release. "This code was derived from software contributed to Berkeley by Dave Yost. It was rewritten to support ANSI C by Tony Finch. The original version of unifdef carried the 4-clause BSD copyright licence. None of its code remains in this version (though some of the names remain) so it now carries a more liberal licence." ok deraadt@
2014-04-18remove bdes(1) so as to not encourage its use; if someone reallyOkan Demirmen
wants to use DES, there's another way. ok deraadt sthen sobrado (and probably tedu)
2014-04-18We should probably thank OpenSSL.Ingo Schwarze
They gave Theo another chance to be happy.
2014-04-18no more altqHenning Brauer
2014-04-18Handle passing zero to a variable fieldwidth or precision.Philip Guenther
ok deraadt@
2014-04-18Switch to the new makewhatis(8)/apropos(1)/whatis(1) combo.Ingo Schwarze
"commit the switch now" espie@ "go for it" deraadt@ See the apropos(1) manual for a description of what's new. On machines where you want the full functionality, run "sudo makewhatis" and put "MAKEWHATISARGS=' '" into weekly.local(8). Otherwise, when upgrading via source, run "sudo makewhatis -Q".
2014-04-18Fix a few lies; polish wording and formatting while here.Ingo Schwarze
2014-04-17I'm just trying to improve the code...Ted Unangst
2014-04-17Garbage collect one pair of needless parentheses in SQL code generation;Ingo Schwarze
note this doesn't affect performance, SQLite generates the same byte code. While here, make the calls to exprspec() easier to understand.
2014-04-17whitespaceOtto Moerbeek
2014-04-17rm redundant declaration; from Xin LiOtto Moerbeek
2014-04-17spidey sensesStuart Henderson
2014-04-17#nnT went away a while ago, remove a leftover from the manpage.Nicholas Marriott
2014-04-17Add some UTF-8 utility functions and use them to prevent the width limitNicholas Marriott
on formats from splitting UTF-8 characters improperly.
2014-04-17Sync show.c with the route version. Make the two files more similar butClaudio Jeker
still not identical. OK sthen@ mpi@ jca@
2014-04-17remove special case for uucp entries.Okan Demirmen
ok guenther
2014-04-17Some more long lines.Nicholas Marriott
2014-04-17Only scroll by one line at a time in choose mode, lists are generallyNicholas Marriott
pretty small.
2014-04-17Set PATH explicitly, either from client or sessionNicholas Marriott
environment. Previously it came from the session environment. From J Raynor.
2014-04-17Wrap some long lines.Nicholas Marriott
2014-04-17Don't limit the DCS buffer to 256 bytes, expand it as needed. RequestedNicholas Marriott
by Suraj Kurapati.
2014-04-17Remove some unnecessary includes and fix a typo.Nicholas Marriott
2014-04-17Correct some time_t printing; factor out a grotty block while herePhilip Guenther
Based on a diff from Arto Jonsson (ajonsson (at) kapsi.fi) ok deraadt@
2014-04-17Correct the dance to fix the active pane in join-pane by pulling theNicholas Marriott
(right) code from break-pane and window_remove_pane into a helper function.
2014-04-17Remove the "info" message mechanism, this was only used for about fiveNicholas Marriott
mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now.