summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2014-06-20More tweaking of set_basedir().Ingo Schwarze
1) Do not error out when getcwd(3) fails, only fail when inaccessibility of the cwd prevents processing of relative paths given on the command line. 2) Do not uselessly call set_basedir() twice in a row. While fts_read(3) in treescan() does cause the cwd to jump around, fts_close(3) is always called at the end, putting us back where we came from. The -d/-u fallback code already relied on this. 3) Fix the man-root-dir indicator in say().
2014-06-19Copy newline when at EOL in vi(1) mode, from Balazs Kezes.Nicholas Marriott
2014-06-19Reset the buttons when the wheel is used, from Balazs Kezes.Nicholas Marriott
2014-06-19Some terminals send spurious releases for mouse wheel in SGR mouse mode,Nicholas Marriott
this causes confusion when tmux uses SGR outside but the application inside tmux is using conventional xterm mouse reporting. So suppress obviously bad input. From Timothy Allen, SF bug 128.
2014-06-19Some simple set_basedir() cleanup; more to come.Ingo Schwarze
1) Refrain from calling set_basedir() in the -t case, and do not attempt to strip anything from the file names in that case. Testing individual files cannot reasonably have any notion of a base dir. 2) Remove the possibility of passing NULL to set_basedir(). It was dangerous because it was not idempotent, and it served no purpose except closing a file descriptor right before exit(), which is pointless. Besides, the file descriptor is likely to be removed completely, soon. 3) Make sure that /foobar isn't treated as a subdirectory of /foo; this fixes a bug reported by espie@.
2014-06-18Don't display "unable to open mandoc.db" error messages (SQLITE_CANTOPEN)Stuart Henderson
in the code which opens mandocdb's sqlite database when updating/deleting individual files (as used and only really useful for pkg_add/pkg_delete). ok schwarze@
2014-06-18The ssh_get_bignum functions must accept the same range of bignumsChristian Weisgerber
the corresponding ssh_put_bignum functions create. This fixes the use of 16384-bit RSA keys (bug reported by Eivind Evensen). ok djm@
2014-06-18Now that we have a dedicated getentropy(2) system call forMatthew Dempsky
arc4random(3), we can disallow __sysctl(2) in OpenSSH's systrace sandbox. ok djm
2014-06-13permit SYS_getentropyTheo de Raadt
from matthew
2014-06-13Now that the water marks are updated on a per-pool basis indicate inMartin Pieuchot
the LIVELOCKS column if there is a pending (deferred) update. ok claudio@
2014-06-12Remove a comparison that is always true. Reported by clang.Brian Callahan
Merge the new if into a single line, requested by florian@ ok matthew@ florian@
2014-06-10Group ECC functions together to make things a little easier in -portable.Darren Tucker
"doesn't bother me" deraadt@
2014-06-10stick with 16k buffers for a little while to avoid bufferbloat.Ted Unangst
atomicio writing out 64k in one direction will cause traffic in the other direction to stall until it's complete. discussion with deraadt
2014-06-10increase buffer size to 64k, and actually use it. ok deraadtTed Unangst
from John-Mark Gurney
2014-06-07remove last few uses of __PTheo de Raadt
2014-06-06Properly track switching G0 and G1 modes between US-ASCII and VT100 lineNicholas Marriott
drawing rather than just treating them as SO and SI.
2014-06-05fix inverted test that caused PKCS#11 keys that were explicitly listedDamien Miller
not to be preferred. Reported by Dirk-Willem van Gulik
2014-06-05Reset properly when c0-change-trigger is increased from zero so panesNicholas Marriott
don't get stuck.
2014-06-05work-around issue in makewhatis, that expects its current dir to NOT be /.Marc Espie
okay aja@, miod@ until Ingo figures things out. (This fixes the ///sr/ports/pobj/p5-YAML-0.84/fake-amd64/usr/local/man/man3p/YAML::Loader::Base.3p: fopen: No such file or directory style errors)
2014-06-04undo my "no TZ support" notes; guenther says they're wrongJason McIntyre
ok guenther
2014-06-04TMPDIR is an extension;Jason McIntyre
2014-06-04IL are marked xsi;Jason McIntyre
2014-06-04- document sigintJason McIntyre
- \*(Gt -> >, per ingo ok millert guenther
2014-06-04- make note of some xsi optionsJason McIntyre
- even though "am i" is case insensitive, lowercase one example for consistency ok millert guenther
2014-06-03some macro fixes, and use Sq over Dq for single letter markup;Jason McIntyre
2014-06-03mark as xsi;Jason McIntyre
\*(Gt -> >, per ingo;
2014-06-03standard EXIT STATUS and \*(Lt -> <, as per ingo;Jason McIntyre
2014-06-03Accept -C as an alias for -c. The -C option should be locale-aware,Todd C. Miller
but we don't have collation support yet. Man bits OK jmc@
2014-06-03-s is marked obsolete, so do not document it as an extension; while here,Jason McIntyre
\*(Gt -> >, on ingo's advice;
2014-06-03document "longname" as an extension; while here, tidy up EXAMPLES and addJason McIntyre
an ENVIRONMENT section; ok millert sobrado
2014-06-03Actually, we've handled FIFOs on stdin in accordance with POSIX since 1996.Philip Guenther
query and ok jmc@
2014-06-03revert previous: guenther says it's wrong;Jason McIntyre
2014-06-03no support for TZ;Jason McIntyre
2014-06-02fix uninitialized sock->port variable, causing crashes in certainAlexandre Ratchov
error handling code paths (ex. wrong/unsupported mode).
2014-06-02log attach position only if log_level >= 0,Alexandre Ratchov
remove empty dev_mon_snoop() function
2014-06-02- document SIGINT, because of its zero return valueJason McIntyre
- \*Gt -> >, as recommended by schwarze ok guenther
2014-06-01update currency exchange rates;Jason McIntyre
2014-05-31tweak previous;Jason McIntyre
2014-05-30don't assign variables in if() that's not error checkingTed Unangst
2014-05-30modern bourne shells handle ~. Unlikely in makefiles, but still, betterMarc Espie
fork a shell then (as seen in a commit message in netbsd's make, apparently taken from debian. didn't look at the actual code, but it was a "duh" moment) okay millert@
2014-05-30a little style consistency with error checkingTed Unangst
2014-05-30AF_NATM support was removed before 5.5Philip Guenther
2014-05-29use calloc, from Benjamin BaierTed Unangst
2014-05-28in the compat with more section, document:Jason McIntyre
- the sense of -c is inverted - -GX are on by default - fold the note on -d into the stuff on -GX i deliberately left out mentioning -l being on by default, since i think the note below (all LESS vars are ignored) covers it adequately; ok millert
2014-05-28When invoked as more, make the -i option behave the same as less'sTodd C. Miller
-I to match POSIX. OK and man bits from jmc@
2014-05-28On delete-window, remember the position of dot and mark in the bufferFlorian Obser
so that an revisiting the buffer the correct line number is displayed. Found by jasper@ OK lum@
2014-05-27paste in an EXAMPLES section, from posix spec;Jason McIntyre
2014-05-27combine the extensions notes;Jason McIntyre
2014-05-27Handle the top bit of xterm(1)-style modifier keys, based on a diff fromNicholas Marriott
Balazs Kezes.
2014-05-27Add some formats for pane bounds.Nicholas Marriott