summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-11-11Add XAUTHORITY to update-environment, requested by Andreas Kloeckner.Nicholas Marriott
2010-11-11Nuke dead assignments and a dead function, from Michael W BombardieriNicholas Marriott
using lint.
2010-11-11Flag to flush all key bindings from Rob Paisley.Nicholas Marriott
2010-11-11Declaration in header should be extern.Nicholas Marriott
2010-11-10use only libcrypto APIs that are retained with OPENSSL_NO_DEPRECATED.Damien Miller
these have been around for years by this time. ok markus
2010-11-08getdirentries(2) should be avoided outside of libc so use scandir(3)Todd C. Miller
instead. This makes slurpdir() just a thin wrapper around scandir(3). OK schwarze@
2010-11-07more EXIT STATUS bits; from Daniel DickmanJason McIntyre
2010-11-05Add experimental support for 24-bit arithmetic, meaning that fullAlexandre Ratchov
dynamic range of 24-bit hardware can be used. Offline processing like mixing and channel mapping is done with 24-bit precision too. Since most hardware and audio programs use 16-bit precision, 24-bit processing is a small waste of CPU time in many cases, so 24-bit processing is not desirable and this is disabled by default. Furthermore it's available on i386, amd64 and sparc64 only. To experiment with it: make COPTS="-DADATA_BITS=24"
2010-11-05unbreak compilation without DEBUG definedAlexandre Ratchov
2010-11-05Convert ulaw/alaw to native format (ie using ADATA_XXX defines) ratherAlexandre Ratchov
than s16 (using hardcoded constants). Currently s16 is the native format, so no behavior change.
2010-11-05Print relativ number of livelocks that happend between two systatClaudio Jeker
updates instead of showing absolut figures. Makes it easier to estimate the "livelockyness" of a system. OK dlg@
2010-11-05whitespace KNFDamien Miller
2010-11-04Replace ``short'' by a new ``adata_t'' typedef corresponding toAlexandre Ratchov
audio samples and cleanup ADATA_XXX macros. This allows easilly switching to 24 bit fixed point arithmetic by simply redefining the adata_t typedef to int and updating ADATA_XXX macros. No object change.
2010-11-04legacy.c is not used any longerAlexandre Ratchov
2010-11-04- fix a comma oopsieJason McIntyre
- Tn for "YACC" is silly - since ex(1) and vi(1) are the same page, let's not list them both in SEE ALSO
2010-11-04umask should be parsed as octal. reported by candland AT xmission.com;Damien Miller
ok markus@
2010-11-03POSIX specifies that ctags create tags for typedefs, structs, unions,Todd C. Miller
and enums by default. The -t flag becomes a no-op for backwards compat only. OK deraadt@
2010-11-02exit 1 (not -1) for -q; PR 6494Theo de Raadt
2010-11-02expose the kernels network livelock counterDavid Gwynne
2010-11-01Typo, from Rob Paisley.Nicholas Marriott
2010-10-31init was passing a writable file descriptor into rcs_open which was thenNicholas Marriott
failing to fdopen() it as readable. It doesn't need to pass in the fd at all, so just change it to pass -1 which makes cvs init work again. In fact, the fd should never need to be writable - it is only used for reading. RCS_WRITE triggers a rewrite on the file on rcs_close() but this is done by using a temporary and rename(2) (RCS_WRITE is a poor name for the flag). So while here, add a couple of comments to hopefully make it a little clearer. There is some confusion about how this is used in other places but checking those is a separate issue. with and ok tobias
2010-10-30Print socket structure internals when netstat -P pcbaddr is calledAlexander Bluhm
with -v. Also netstat -P supports more than TCP now. ok markus@ jmc@
2010-10-29We now send argv to the server after parsing it in the client to get theNicholas Marriott
command, so the client should not modify it. Instead, take a copy. Fixes parsing command lists, reported by mcbride@.
2010-10-29Nuke some unused variables and remove an unnecessary call to dirname().Nicholas Marriott
From Michael W Bombardieri via ray@.
2010-10-29soelim is no longger needed now that nroff/troff is not in baseTodd C. Miller
2010-10-29Remove colcrt and checknr. colcrt is only useful on very oldTodd C. Miller
terminals and checknr has been subsumed by "mandoc -Tlint". OK deraadt@ jmc@ schwarze@
2010-10-29some fixes from ingo regarding the recent groff removal;Jason McIntyre
2010-10-29various fixes, mostly concerning the recent groff removal,Jason McIntyre
as suggested by ingo;
2010-10-29Include the octet of the mode that contains the setuid/setgid/sticky bitsPhilip Guenthe
in the output format used for the -x option. Problem observed by LEVAI Daniel
2010-10-28more roff adjustments;Jason McIntyre
2010-10-28rewrite EXAMPLES, so that it makes a bit more sense;Jason McIntyre
2010-10-28adjust text to avoid referencing non-existent pages;Jason McIntyre
2010-10-28knock out some "-*- nroff -*-" lines;Jason McIntyre
2010-10-28cleanup ;;Theo de Raadt
2010-10-28grammar tweak; from Michael W. BombardieriJason McIntyre
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
2010-10-28Fix memory leak.Tobias Stoeckmann
ok stsp, zinovik
2010-10-28fix a possible NULL deref on loading a corrupt ECDH keyDamien Miller
store ECDH group information in private keys files as "named groups" rather than as a set of explicit group parameters (by setting the OPENSSL_EC_NAMED_CURVE flag). This makes for shorter key files and retrieves the group's OpenSSL NID that we need for various things.
2010-10-28Font alternating blocks like .RB must not break the line between childrenIngo Schwarze
in literal mode. Fixing a bug found by naddy@ in the gettext(3) SYNOPSIS. This required a bit of refactoring: * consolidate pre_RB(), pre_RI(), and pre_BI() into pre_alternate() * save the MANT_LITERAL mode before descending into children * restore MANT_LITERAL mode before printing the last child
2010-10-27Fix an off-by-one in an assertion, crashing the renderer on ".Os \&".Ingo Schwarze
This bug was a living fossil, introduced on Feb 21, 2009. Reported by joachimschipper dot nl, thanks.
2010-10-27The man(7) macros .HP .IP .RS .TP accept *optional* arguments,Ingo Schwarze
so do not throw an ERROR when there are none. Formatting is already correct: With no arguments, use default widths and no tag. Problem reported by naddy@, thanks.
2010-10-27Merge -k and expand @@ parsing code between OpenCVS and OpenRCS, resultingTobias Stoeckmann
in a performance gain in OpenCVS in some "cvs update" scenarios. ok zinovik
2010-10-26Warn developers that .so is fragile and suggest using ln(1) instead;Ingo Schwarze
throwing a warning here was suggested by Joerg Sonnenberger.
2010-10-26Downgrade nearly 20 ERRORS to WARNINGS.Ingo Schwarze
All these indicate problems in the mdoc(7) or man(7) source code, but they can't cause relevant information loss or clobbered formatting. While here, error message improve wording and make it more uniform, don't throw MANDOCERR_NOWIDTHARG twice when there is one single issue, and consolidate MANDOCERR_WIDTHARG into MANDOCERR_IGNARGV.
2010-10-26Support .so (low-level roff "switch source file"),Ingo Schwarze
needed for Xenocara and various ports. Accept only relative paths and no ascension to the parent directory as suggested by Joerg Sonnenberger; code looked over by Joerg, too. Useful discussions with various people, among others espie@.
2010-10-26Refactoring, no functional change:Ingo Schwarze
Seperate the code to read and parse a PART of a page (new function pdesc()) from the code to finish and output a FULL page (function fdesc()); in preparation for .so support.
2010-10-26add HISTORY and AUTHORS sections.Felix Kronlage
ok jmc@, djm@
2010-10-25Add missing FNM_CASEFOLD flag to fnmatch() when locate is run in caseTodd C. Miller
insensitive mode. From Geoff Steckel. OK deraadt@
2010-10-24Do not throw FATAL errors when there is no need to:Ingo Schwarze
- when encountering nested displays (.Bd containing .Bd, .D1, .D1) - when a block end macro was forgotten - when ending a block that was never started - when the uname(3) system call failed along with a little related cleanup
2010-10-23let .Bsx print just "BSD/OS" like in modern groffIngo Schwarze
from Ulrich Spoerlein <uqs at spoerlein dot net>